Searched refs:tmc_drvdata (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-tmc.h | 191 struct tmc_drvdata { struct 217 int (*alloc)(struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, argument 258 void tmc_wait_for_tmcready(struct tmc_drvdata *drvdata); 259 void tmc_flush_and_stop(struct tmc_drvdata *drvdata); 260 void tmc_enable_hw(struct tmc_drvdata *drvdata); 261 void tmc_disable_hw(struct tmc_drvdata *drvdata); 262 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata); 265 int tmc_read_prepare_etb(struct tmc_drvdata *drvdata); 266 int tmc_read_unprepare_etb(struct tmc_drvdata *drvdata); 270 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, [all …]
|
D | coresight-tmc-core.c | 34 void tmc_wait_for_tmcready(struct tmc_drvdata *drvdata) in tmc_wait_for_tmcready() 46 void tmc_flush_and_stop(struct tmc_drvdata *drvdata) in tmc_flush_and_stop() 66 void tmc_enable_hw(struct tmc_drvdata *drvdata) in tmc_enable_hw() 71 void tmc_disable_hw(struct tmc_drvdata *drvdata) in tmc_disable_hw() 76 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata) in tmc_get_memwidth_mask() 102 static int tmc_read_prepare(struct tmc_drvdata *drvdata) in tmc_read_prepare() 124 static int tmc_read_unprepare(struct tmc_drvdata *drvdata) in tmc_read_unprepare() 149 struct tmc_drvdata *drvdata = container_of(file->private_data, in tmc_open() 150 struct tmc_drvdata, miscdev); in tmc_open() 162 static inline ssize_t tmc_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_get_sysfs_trace() [all …]
|
D | coresight-tmc-etf.c | 19 static void __tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_enable_hw() 38 static int tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in tmc_etb_enable_hw() 49 static void tmc_etb_dump_hw(struct tmc_drvdata *drvdata) in tmc_etb_dump_hw() 72 static void __tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_disable_hw() 88 static void tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in tmc_etb_disable_hw() 94 static void __tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etf_enable_hw() 110 static int tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in tmc_etf_enable_hw() 121 static void tmc_etf_disable_hw(struct tmc_drvdata *drvdata) in tmc_etf_disable_hw() 138 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_etb_get_sysfs_trace() 157 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_enable_etf_sink_sysfs() [all …]
|
D | coresight-tmc-etr.c | 39 struct tmc_drvdata *drvdata; 595 static int tmc_etr_alloc_flat_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_flat_buf() 693 static int tmc_etr_alloc_sg_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_sg_buf() 776 tmc_etr_get_catu_device(struct tmc_drvdata *drvdata) in tmc_etr_get_catu_device() 794 static inline int tmc_etr_enable_catu(struct tmc_drvdata *drvdata, in tmc_etr_enable_catu() 804 static inline void tmc_etr_disable_catu(struct tmc_drvdata *drvdata) in tmc_etr_disable_catu() 831 struct tmc_drvdata *drvdata, in tmc_etr_mode_alloc_buf() 860 static struct etr_buf *tmc_alloc_etr_buf(struct tmc_drvdata *drvdata, in tmc_alloc_etr_buf() 957 static void tmc_sync_etr_buf(struct tmc_drvdata *drvdata) in tmc_sync_etr_buf() 986 static void __tmc_etr_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etr_enable_hw() [all …]
|
D | coresight-catu.c | 329 static int catu_alloc_etr_buf(struct tmc_drvdata *tmc_drvdata, in catu_alloc_etr_buf() argument 336 csdev = tmc_etr_get_catu_device(tmc_drvdata); in catu_alloc_etr_buf()
|