Home
last modified time | relevance | path

Searched refs:catu_drvdata (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-catu.h63 struct catu_drvdata { struct
71 catu_read_##name(struct catu_drvdata *drvdata) \ argument
76 catu_write_##name(struct catu_drvdata *drvdata, u32 val) \
83 catu_read_##name(struct catu_drvdata *drvdata) \
88 catu_write_##name(struct catu_drvdata *drvdata, u64 val) \
Dcoresight-catu.c391 static inline int catu_wait_for_ready(struct catu_drvdata *drvdata) in catu_wait_for_ready()
398 static int catu_enable_hw(struct catu_drvdata *drvdata, enum cs_mode cs_mode, in catu_enable_hw()
460 struct catu_drvdata *catu_drvdata = csdev_to_catu_drvdata(csdev); in catu_enable() local
462 CS_UNLOCK(catu_drvdata->base); in catu_enable()
463 rc = catu_enable_hw(catu_drvdata, mode, data); in catu_enable()
464 CS_LOCK(catu_drvdata->base); in catu_enable()
468 static int catu_disable_hw(struct catu_drvdata *drvdata) in catu_disable_hw()
488 struct catu_drvdata *catu_drvdata = csdev_to_catu_drvdata(csdev); in catu_disable() local
490 CS_UNLOCK(catu_drvdata->base); in catu_disable()
491 rc = catu_disable_hw(catu_drvdata); in catu_disable()
[all …]