18c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/trigger_cntr 28c2ecf20Sopenharmony_ciDate: November 2014 38c2ecf20Sopenharmony_ciKernelVersion: 3.19 48c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 58c2ecf20Sopenharmony_ciDescription: (RW) Disables write access to the Trace RAM by stopping the 68c2ecf20Sopenharmony_ci formatter after a defined number of words have been stored 78c2ecf20Sopenharmony_ci following the trigger event. Additional interface for this 88c2ecf20Sopenharmony_ci driver are expected to be added as it matures. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rsz 118c2ecf20Sopenharmony_ciDate: March 2016 128c2ecf20Sopenharmony_ciKernelVersion: 4.7 138c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 148c2ecf20Sopenharmony_ciDescription: (Read) Defines the size, in 32-bit words, of the local RAM buffer. 158c2ecf20Sopenharmony_ci The value is read directly from HW register RSZ, 0x004. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/sts 188c2ecf20Sopenharmony_ciDate: March 2016 198c2ecf20Sopenharmony_ciKernelVersion: 4.7 208c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 218c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC status register. The value 228c2ecf20Sopenharmony_ci is read directly from HW register STS, 0x00C. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rrp 258c2ecf20Sopenharmony_ciDate: March 2016 268c2ecf20Sopenharmony_ciKernelVersion: 4.7 278c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 288c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC RAM Read Pointer register 298c2ecf20Sopenharmony_ci that is used to read entries from the Trace RAM over the APB 308c2ecf20Sopenharmony_ci interface. The value is read directly from HW register RRP, 318c2ecf20Sopenharmony_ci 0x014. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rwp 348c2ecf20Sopenharmony_ciDate: March 2016 358c2ecf20Sopenharmony_ciKernelVersion: 4.7 368c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 378c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC RAM Write Pointer register 388c2ecf20Sopenharmony_ci that is used to sets the write pointer to write entries from 398c2ecf20Sopenharmony_ci the CoreSight bus into the Trace RAM. The value is read directly 408c2ecf20Sopenharmony_ci from HW register RWP, 0x018. 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/trg 438c2ecf20Sopenharmony_ciDate: March 2016 448c2ecf20Sopenharmony_ciKernelVersion: 4.7 458c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 468c2ecf20Sopenharmony_ciDescription: (Read) Similar to "trigger_cntr" above except that this value is 478c2ecf20Sopenharmony_ci read directly from HW register TRG, 0x01C. 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ctl 508c2ecf20Sopenharmony_ciDate: March 2016 518c2ecf20Sopenharmony_ciKernelVersion: 4.7 528c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 538c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC Control register. The value 548c2ecf20Sopenharmony_ci is read directly from HW register CTL, 0x020. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffsr 578c2ecf20Sopenharmony_ciDate: March 2016 588c2ecf20Sopenharmony_ciKernelVersion: 4.7 598c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 608c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC Formatter and Flush Status 618c2ecf20Sopenharmony_ci register. The value is read directly from HW register FFSR, 628c2ecf20Sopenharmony_ci 0x300. 638c2ecf20Sopenharmony_ci 648c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffcr 658c2ecf20Sopenharmony_ciDate: March 2016 668c2ecf20Sopenharmony_ciKernelVersion: 4.7 678c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 688c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC Formatter and Flush Control 698c2ecf20Sopenharmony_ci register. The value is read directly from HW register FFCR, 708c2ecf20Sopenharmony_ci 0x304. 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/mode 738c2ecf20Sopenharmony_ciDate: March 2016 748c2ecf20Sopenharmony_ciKernelVersion: 4.7 758c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 768c2ecf20Sopenharmony_ciDescription: (Read) Shows the value held by the TMC Mode register, which 778c2ecf20Sopenharmony_ci indicate the mode the device has been configured to enact. The 788c2ecf20Sopenharmony_ci The value is read directly from the MODE register, 0x028. 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/devid 818c2ecf20Sopenharmony_ciDate: March 2016 828c2ecf20Sopenharmony_ciKernelVersion: 4.7 838c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 848c2ecf20Sopenharmony_ciDescription: (Read) Indicates the capabilities of the Coresight TMC. 858c2ecf20Sopenharmony_ci The value is read directly from the DEVID register, 0xFC8, 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ciWhat: /sys/bus/coresight/devices/<memory_map>.tmc/buffer_size 888c2ecf20Sopenharmony_ciDate: December 2018 898c2ecf20Sopenharmony_ciKernelVersion: 4.19 908c2ecf20Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 918c2ecf20Sopenharmony_ciDescription: (RW) Size of the trace buffer for TMC-ETR when used in SYSFS 928c2ecf20Sopenharmony_ci mode. Writable only for TMC-ETR configurations. The value 938c2ecf20Sopenharmony_ci should be aligned to the kernel pagesize. 94