Lines Matching refs:tmc_drvdata
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,
273 int tmc_read_prepare_etr(struct tmc_drvdata *drvdata);
274 int tmc_read_unprepare_etr(struct tmc_drvdata *drvdata);
275 void tmc_etr_disable_hw(struct tmc_drvdata *drvdata);
277 ssize_t tmc_etr_get_sysfs_trace(struct tmc_drvdata *drvdata,
283 tmc_read_##name(struct tmc_drvdata *drvdata) \
288 tmc_write_##name(struct tmc_drvdata *drvdata, u64 val) \
298 static inline void tmc_etr_init_caps(struct tmc_drvdata *drvdata, u32 dev_caps) in TMC_REG_PAIR()
304 static inline void tmc_etr_set_cap(struct tmc_drvdata *drvdata, u32 cap) in tmc_etr_set_cap()
309 static inline bool tmc_etr_has_cap(struct tmc_drvdata *drvdata, u32 cap) in tmc_etr_has_cap()
331 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);