/Linux-v4.19/include/linux/ |
D | coresight.h | 145 struct coresight_device *child_dev; 165 struct coresight_device { struct 179 #define to_coresight_device(d) container_of(d, struct coresight_device, dev) argument 198 int (*enable)(struct coresight_device *csdev, u32 mode); 199 void (*disable)(struct coresight_device *csdev); 200 void *(*alloc_buffer)(struct coresight_device *csdev, int cpu, 203 int (*set_buffer)(struct coresight_device *csdev, 206 unsigned long (*reset_buffer)(struct coresight_device *csdev, 209 void (*update_buffer)(struct coresight_device *csdev, 221 int (*enable)(struct coresight_device *csdev, int iport, int oport); [all …]
|
/Linux-v4.19/drivers/hwtracing/coresight/ |
D | coresight.c | 31 struct coresight_device *csdev; 59 struct coresight_device *csdev, *i_csdev; in coresight_id_match() 83 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique() 95 static int coresight_find_link_inport(struct coresight_device *csdev, in coresight_find_link_inport() 96 struct coresight_device *parent) in coresight_find_link_inport() 113 static int coresight_find_link_outport(struct coresight_device *csdev, in coresight_find_link_outport() 114 struct coresight_device *child) in coresight_find_link_outport() 131 static int coresight_enable_sink(struct coresight_device *csdev, u32 mode) in coresight_enable_sink() 149 static void coresight_disable_sink(struct coresight_device *csdev) in coresight_disable_sink() 159 static int coresight_enable_link(struct coresight_device *csdev, in coresight_enable_link() [all …]
|
D | coresight-etm-perf.h | 12 struct coresight_device; 47 int etm_perf_symlink(struct coresight_device *csdev, bool link); 50 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
|
D | coresight-tmc-etf.c | 119 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs() 185 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev) in tmc_enable_etf_sink_perf() 215 static int tmc_enable_etf_sink(struct coresight_device *csdev, u32 mode) in tmc_enable_etf_sink() 240 static void tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink() 262 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link() 282 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link() 301 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, int cpu, in tmc_alloc_etf_buffer() 330 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer() 352 static unsigned long tmc_reset_etf_buffer(struct coresight_device *csdev, in tmc_reset_etf_buffer() 381 static void tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
|
D | coresight-priv.h | 141 struct coresight_device *coresight_get_sink(struct list_head *path); 142 struct coresight_device *coresight_get_enabled_sink(bool reset); 143 struct list_head *coresight_build_path(struct coresight_device *csdev, 144 struct coresight_device *sink);
|
D | coresight-etm-perf.c | 40 static DEFINE_PER_CPU(struct coresight_device *, csdev_src); 113 struct coresight_device *sink; in free_event_data() 189 struct coresight_device *sink; in etm_setup_aux() 216 struct coresight_device *csdev; in etm_setup_aux() 257 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() 306 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() 445 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
|
D | coresight-replicator.c | 30 struct coresight_device *csdev; 33 static int replicator_enable(struct coresight_device *csdev, int inport, in replicator_enable() 42 static void replicator_disable(struct coresight_device *csdev, int inport, in replicator_disable()
|
D | coresight-tpiu.c | 59 struct coresight_device *csdev; 71 static int tpiu_enable(struct coresight_device *csdev, u32 mode) in tpiu_enable() 97 static void tpiu_disable(struct coresight_device *csdev) in tpiu_disable()
|
D | coresight-dynamic-replicator.c | 34 struct coresight_device *csdev; 37 static int replicator_enable(struct coresight_device *csdev, int inport, in replicator_enable() 63 static void replicator_disable(struct coresight_device *csdev, int inport, in replicator_disable()
|
D | coresight-catu.h | 66 struct coresight_device *csdev; 101 static inline bool coresight_is_catu_device(struct coresight_device *csdev) in CATU_REG_PAIR()
|
D | coresight-etm3x.c | 426 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id() 460 static int etm_trace_id(struct coresight_device *csdev) in etm_trace_id() 467 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf() 483 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs() 512 static int etm_enable(struct coresight_device *csdev, in etm_enable() 564 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf() 585 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs() 610 static void etm_disable(struct coresight_device *csdev, in etm_disable()
|
D | coresight-etb10.c | 83 struct coresight_device *csdev; 134 static int etb_enable(struct coresight_device *csdev, u32 mode) in etb_enable() 253 static void etb_disable(struct coresight_device *csdev) in etb_disable() 268 static void *etb_alloc_buffer(struct coresight_device *csdev, int cpu, in etb_alloc_buffer() 296 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer() 318 static unsigned long etb_reset_buffer(struct coresight_device *csdev, in etb_reset_buffer() 348 static void etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
|
D | coresight-funnel.c | 41 struct coresight_device *csdev; 61 static int funnel_enable(struct coresight_device *csdev, int inport, in funnel_enable() 85 static void funnel_disable(struct coresight_device *csdev, int inport, in funnel_disable()
|
D | coresight-etm4x.c | 66 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id() 73 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id() 229 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf() 251 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs() 278 static int etm4_enable(struct coresight_device *csdev, in etm4_enable() 336 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf() 361 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs() 386 static void etm4_disable(struct coresight_device *csdev, in etm4_disable()
|
D | coresight-tmc-etr.c | 713 struct coresight_device * 717 struct coresight_device *tmp, *etr = drvdata->csdev; in tmc_etr_get_catu_device() 733 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_enable_catu() 741 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_disable_catu() 1022 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs() 1088 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev) in tmc_enable_etr_sink_perf() 1094 static int tmc_enable_etr_sink(struct coresight_device *csdev, u32 mode) in tmc_enable_etr_sink() 1107 static void tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
|
D | coresight-tmc.h | 177 struct coresight_device *csdev; 307 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);
|
D | coresight-catu.c | 330 struct coresight_device *csdev; in catu_alloc_etr_buf() 446 static int catu_enable(struct coresight_device *csdev, void *data) in catu_enable() 471 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
|
D | coresight-stm.c | 133 struct coresight_device *csdev; 193 static int stm_enable(struct coresight_device *csdev, in stm_enable() 256 static void stm_disable(struct coresight_device *csdev, in stm_disable() 281 static int stm_trace_id(struct coresight_device *csdev) in stm_trace_id()
|
D | coresight-etm.h | 237 struct coresight_device *csdev;
|
D | coresight-etm4x.h | 344 struct coresight_device *csdev;
|
/Linux-v4.19/Documentation/trace/ |
D | coresight.txt | 136 struct coresight_device *coresight_register(struct coresight_desc *desc); 137 void coresight_unregister(struct coresight_device *csdev); 139 The registering function is taking a "struct coresight_device *csdev" and 141 a reference to a "struct coresight_device", obtained at registration time. 151 The functions take a "struct coresight_device", which looks like this:
|