Searched refs:tmc_drvdata (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-tmc.h | 249 struct tmc_drvdata { struct 281 int (*alloc)(struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, argument 322 int tmc_wait_for_tmcready(struct tmc_drvdata *drvdata); 323 void tmc_flush_and_stop(struct tmc_drvdata *drvdata); 324 void tmc_enable_hw(struct tmc_drvdata *drvdata); 325 void tmc_disable_hw(struct tmc_drvdata *drvdata); 326 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata); 327 int tmc_read_prepare_crashdata(struct tmc_drvdata *drvdata); 330 int tmc_read_prepare_etb(struct tmc_drvdata *drvdata); 331 int tmc_read_unprepare_etb(struct tmc_drvdata *drvdata); [all …]
|
| H A D | coresight-tmc-core.c | 39 int tmc_wait_for_tmcready(struct tmc_drvdata *drvdata) in tmc_wait_for_tmcready() 53 void tmc_flush_and_stop(struct tmc_drvdata *drvdata) in tmc_flush_and_stop() 73 void tmc_enable_hw(struct tmc_drvdata *drvdata) in tmc_enable_hw() 78 void tmc_disable_hw(struct tmc_drvdata *drvdata) in tmc_disable_hw() 83 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata) in tmc_get_memwidth_mask() 109 static bool is_tmc_crashdata_valid(struct tmc_drvdata *drvdata) in is_tmc_crashdata_valid() 157 static inline ssize_t tmc_get_resvbuf_trace(struct tmc_drvdata *drvdata, in tmc_get_resvbuf_trace() 183 static int tmc_prepare_crashdata(struct tmc_drvdata *drvdata) in tmc_prepare_crashdata() 231 static int tmc_read_prepare(struct tmc_drvdata *drvdata) in tmc_read_prepare() 253 static int tmc_read_unprepare(struct tmc_drvdata *drvdata) in tmc_read_unprepare() [all …]
|
| H A D | coresight-tmc-etf.c | 19 static int __tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_enable_hw() 50 static int tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in tmc_etb_enable_hw() 63 static void tmc_etb_dump_hw(struct tmc_drvdata *drvdata) in tmc_etb_dump_hw() 86 static void __tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_disable_hw() 102 static void tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in tmc_etb_disable_hw() 108 static int __tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etf_enable_hw() 133 static int tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in tmc_etf_enable_hw() 146 static void tmc_etf_disable_hw(struct tmc_drvdata *drvdata) in tmc_etf_disable_hw() 163 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_etb_get_sysfs_trace() 182 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_enable_etf_sink_sysfs() [all …]
|
| H A D | coresight-tmc-etr.c | 47 struct tmc_drvdata *drvdata; 602 static int tmc_etr_alloc_flat_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_flat_buf() 700 static int tmc_etr_alloc_resrv_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_resrv_buf() 770 static int tmc_etr_alloc_sg_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_sg_buf() 853 tmc_etr_get_catu_device(struct tmc_drvdata *drvdata) in tmc_etr_get_catu_device() 887 static int tmc_etr_mode_alloc_buf(int mode, struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, in tmc_etr_mode_alloc_buf() 910 struct tmc_drvdata *drvdata = dev_get_drvdata(dev->parent); in get_etr_buf_hw() 933 static struct etr_buf *tmc_alloc_etr_buf(struct tmc_drvdata *drvdata, in tmc_alloc_etr_buf() 1028 static void tmc_sync_etr_buf(struct tmc_drvdata *drvdata) in tmc_sync_etr_buf() 1057 static int __tmc_etr_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etr_enable_hw() [all …]
|
| H A D | coresight-catu.c | 330 static int catu_alloc_etr_buf(struct tmc_drvdata *tmc_drvdata, in catu_alloc_etr_buf() argument 337 csdev = tmc_etr_get_catu_device(tmc_drvdata); in catu_alloc_etr_buf()
|