Home
last modified time | relevance | path

Searched refs:tmc_drvdata (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-tmc.h188 struct tmc_drvdata { struct
213 int (*alloc)(struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, argument
254 void tmc_wait_for_tmcready(struct tmc_drvdata *drvdata);
255 void tmc_flush_and_stop(struct tmc_drvdata *drvdata);
256 void tmc_enable_hw(struct tmc_drvdata *drvdata);
257 void tmc_disable_hw(struct tmc_drvdata *drvdata);
258 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata);
261 int tmc_read_prepare_etb(struct tmc_drvdata *drvdata);
262 int tmc_read_unprepare_etb(struct tmc_drvdata *drvdata);
266 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata,
[all …]
Dcoresight-tmc.c34 void tmc_wait_for_tmcready(struct tmc_drvdata *drvdata) in tmc_wait_for_tmcready()
44 void tmc_flush_and_stop(struct tmc_drvdata *drvdata) in tmc_flush_and_stop()
63 void tmc_enable_hw(struct tmc_drvdata *drvdata) in tmc_enable_hw()
68 void tmc_disable_hw(struct tmc_drvdata *drvdata) in tmc_disable_hw()
73 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata) in tmc_get_memwidth_mask()
101 static int tmc_read_prepare(struct tmc_drvdata *drvdata) in tmc_read_prepare()
123 static int tmc_read_unprepare(struct tmc_drvdata *drvdata) in tmc_read_unprepare()
148 struct tmc_drvdata *drvdata = container_of(file->private_data, in tmc_open()
149 struct tmc_drvdata, miscdev); in tmc_open()
161 static inline ssize_t tmc_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_get_sysfs_trace()
[all …]
Dcoresight-tmc-etf.c19 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()
136 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_etb_get_sysfs_trace()
155 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_enable_etf_sink_sysfs()
[all …]
Dcoresight-tmc-etr.c40 struct tmc_drvdata *drvdata;
590 static int tmc_etr_alloc_flat_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_flat_buf()
670 static int tmc_etr_alloc_sg_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_sg_buf()
753 tmc_etr_get_catu_device(struct tmc_drvdata *drvdata) in tmc_etr_get_catu_device()
770 static inline int tmc_etr_enable_catu(struct tmc_drvdata *drvdata, in tmc_etr_enable_catu()
780 static inline void tmc_etr_disable_catu(struct tmc_drvdata *drvdata) in tmc_etr_disable_catu()
796 struct tmc_drvdata *drvdata, in tmc_etr_mode_alloc_buf()
825 static struct etr_buf *tmc_alloc_etr_buf(struct tmc_drvdata *drvdata, in tmc_alloc_etr_buf()
922 static void tmc_sync_etr_buf(struct tmc_drvdata *drvdata) in tmc_sync_etr_buf()
951 static void __tmc_etr_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etr_enable_hw()
[all …]
Dcoresight-catu.c329 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()