Merge remote-tracking branch 'char-misc/char-misc-next'
[deliverable/linux.git] / drivers / hwtracing / coresight / coresight-tmc.h
index 5c5fe2ad2ca70f351e80cef2970641d462da6647..44b3ae346118f45b7dc5d2dd79ed550cee8d8144 100644 (file)
@@ -98,7 +98,8 @@ enum tmc_mem_intf_width {
  * @buf:       area of memory where trace data get sent.
  * @paddr:     DMA start location in RAM.
  * @vaddr:     virtual representation of @paddr.
- * @size:      @buf size.
+ * @size:      trace buffer size.
+ * @len:       size of the available trace.
  * @mode:      how this TMC is being used.
  * @config_type: TMC variant, must be of type @tmc_config_type.
  * @memwidth:  width of the memory interface databus, in bytes.
@@ -115,6 +116,7 @@ struct tmc_drvdata {
        dma_addr_t              paddr;
        void __iomem            *vaddr;
        u32                     size;
+       u32                     len;
        local_t                 mode;
        enum tmc_config_type    config_type;
        enum tmc_mem_intf_width memwidth;
This page took 0.023173 seconds and 5 git commands to generate.