Searched refs:tmc_drvdata (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-tmc.h | 193 struct tmc_drvdata { struct 220 int (*alloc)(struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, argument 261 int tmc_wait_for_tmcready(struct tmc_drvdata *drvdata); 262 void tmc_flush_and_stop(struct tmc_drvdata *drvdata); 263 void tmc_enable_hw(struct tmc_drvdata *drvdata); 264 void tmc_disable_hw(struct tmc_drvdata *drvdata); 265 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata); 268 int tmc_read_prepare_etb(struct tmc_drvdata *drvdata); 269 int tmc_read_unprepare_etb(struct tmc_drvdata *drvdata); 273 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, [all …]
|
H A D | coresight-tmc-core.c | 37 int tmc_wait_for_tmcready(struct tmc_drvdata *drvdata) in tmc_wait_for_tmcready() 51 void tmc_flush_and_stop(struct tmc_drvdata *drvdata) in tmc_flush_and_stop() 71 void tmc_enable_hw(struct tmc_drvdata *drvdata) in tmc_enable_hw() 76 void tmc_disable_hw(struct tmc_drvdata *drvdata) in tmc_disable_hw() 81 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata) in tmc_get_memwidth_mask() 107 static int tmc_read_prepare(struct tmc_drvdata *drvdata) in tmc_read_prepare() 129 static int tmc_read_unprepare(struct tmc_drvdata *drvdata) in tmc_read_unprepare() 154 struct tmc_drvdata *drvdata = container_of(file->private_data, in tmc_open() 155 struct tmc_drvdata, miscdev); in tmc_open() 167 static inline ssize_t tmc_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_get_sysfs_trace() [all …]
|
H A D | coresight-tmc-etf.c | 19 static int __tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_enable_hw() 47 static int tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in tmc_etb_enable_hw() 60 static void tmc_etb_dump_hw(struct tmc_drvdata *drvdata) in tmc_etb_dump_hw() 83 static void __tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_disable_hw() 99 static void tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in tmc_etb_disable_hw() 105 static int __tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etf_enable_hw() 130 static int tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in tmc_etf_enable_hw() 143 static void tmc_etf_disable_hw(struct tmc_drvdata *drvdata) in tmc_etf_disable_hw() 160 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_etb_get_sysfs_trace() 179 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_enable_etf_sink_sysfs() [all …]
|
H A D | coresight-tmc-etr.c | 46 struct tmc_drvdata *drvdata; 603 static int tmc_etr_alloc_flat_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_flat_buf() 702 static int tmc_etr_alloc_sg_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_sg_buf() 785 tmc_etr_get_catu_device(struct tmc_drvdata *drvdata) in tmc_etr_get_catu_device() 819 struct tmc_drvdata *drvdata, in tmc_etr_mode_alloc_buf() 842 struct tmc_drvdata *drvdata = dev_get_drvdata(dev->parent); in get_etr_buf_hw() 864 static struct etr_buf *tmc_alloc_etr_buf(struct tmc_drvdata *drvdata, in tmc_alloc_etr_buf() 959 static void tmc_sync_etr_buf(struct tmc_drvdata *drvdata) in tmc_sync_etr_buf() 988 static int __tmc_etr_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etr_enable_hw() 1047 static int tmc_etr_enable_hw(struct tmc_drvdata *drvdata, in tmc_etr_enable_hw() [all …]
|
H A D | coresight-catu.c | 331 static int catu_alloc_etr_buf(struct tmc_drvdata *tmc_drvdata, in catu_alloc_etr_buf() argument 338 csdev = tmc_etr_get_catu_device(tmc_drvdata); in catu_alloc_etr_buf()
|