Searched refs:tmc_drvdata (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-tmc.h | 247 struct tmc_drvdata { struct 279 int (*alloc)(struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, argument 320 int tmc_wait_for_tmcready(struct tmc_drvdata *drvdata); 321 void tmc_flush_and_stop(struct tmc_drvdata *drvdata); 322 void tmc_enable_hw(struct tmc_drvdata *drvdata); 323 void tmc_disable_hw(struct tmc_drvdata *drvdata); 324 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata); 325 int tmc_read_prepare_crashdata(struct tmc_drvdata *drvdata); 328 int tmc_read_prepare_etb(struct tmc_drvdata *drvdata); 329 int tmc_read_unprepare_etb(struct tmc_drvdata *drvdata); [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; 604 static int tmc_etr_alloc_flat_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_flat_buf() 702 static int tmc_etr_alloc_resrv_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_resrv_buf() 772 static int tmc_etr_alloc_sg_buf(struct tmc_drvdata *drvdata, in tmc_etr_alloc_sg_buf() 855 tmc_etr_get_catu_device(struct tmc_drvdata *drvdata) in tmc_etr_get_catu_device() 889 static int tmc_etr_mode_alloc_buf(int mode, struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, in tmc_etr_mode_alloc_buf() 912 struct tmc_drvdata *drvdata = dev_get_drvdata(dev->parent); in get_etr_buf_hw() 935 static struct etr_buf *tmc_alloc_etr_buf(struct tmc_drvdata *drvdata, in tmc_alloc_etr_buf() 1030 static void tmc_sync_etr_buf(struct tmc_drvdata *drvdata) in tmc_sync_etr_buf() 1059 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()
|