/kernel/linux/linux-5.10/include/linux/ |
D | coresight.h | 152 struct coresight_device *child_dev; 164 struct coresight_device *orig; 166 struct coresight_device *target; 193 struct coresight_device { struct 205 struct coresight_device *def_sink; argument 207 struct coresight_device *ect_dev; argument 236 #define to_coresight_device(d) container_of(d, struct coresight_device, dev) 254 int (*enable)(struct coresight_device *csdev, u32 mode, void *data); 255 int (*disable)(struct coresight_device *csdev); 256 void *(*alloc_buffer)(struct coresight_device *csdev, [all …]
|
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
D | coresight-priv.h | 151 struct coresight_device *coresight_get_sink(struct list_head *path); 152 struct coresight_device * 153 coresight_get_enabled_sink(struct coresight_device *source); 154 struct coresight_device *coresight_get_sink_by_id(u32 id); 155 struct coresight_device * 156 coresight_find_default_sink(struct coresight_device *csdev); 157 struct list_head *coresight_build_path(struct coresight_device *csdev, 158 struct coresight_device *sink); 162 int coresight_create_conns_sysfs_group(struct coresight_device *csdev); 163 void coresight_remove_conns_sysfs_group(struct coresight_device *csdev); [all …]
|
D | coresight-core.c | 33 struct coresight_device *csdev; 76 struct coresight_device *csdev, *i_csdev; in coresight_id_match() 100 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique() 112 static int coresight_find_link_inport(struct coresight_device *csdev, in coresight_find_link_inport() 113 struct coresight_device *parent) in coresight_find_link_inport() 130 static int coresight_find_link_outport(struct coresight_device *csdev, in coresight_find_link_outport() 131 struct coresight_device *child) in coresight_find_link_outport() 240 coresight_control_assoc_ectdev(struct coresight_device *csdev, bool enable) in coresight_control_assoc_ectdev() 243 struct coresight_device *ect_csdev = csdev->ect_dev; in coresight_control_assoc_ectdev() 284 void coresight_set_assoc_ectdev_mutex(struct coresight_device *csdev, in coresight_set_assoc_ectdev_mutex() [all …]
|
D | coresight-etm-perf.h | 13 struct coresight_device; 61 int etm_perf_symlink(struct coresight_device *csdev, bool link); 62 int etm_perf_add_symlink_sink(struct coresight_device *csdev); 63 void etm_perf_del_symlink_sink(struct coresight_device *csdev); 73 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() 75 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink() 77 void etm_perf_del_symlink_sink(struct coresight_device *csdev) {} in etm_perf_del_symlink_sink()
|
D | coresight-sysfs.c | 20 struct coresight_device *csdev = to_coresight_device(dev); in nr_links_show() 41 int coresight_create_conns_sysfs_group(struct coresight_device *csdev) in coresight_create_conns_sysfs_group() 56 void coresight_remove_conns_sysfs_group(struct coresight_device *csdev) in coresight_remove_conns_sysfs_group() 143 int coresight_make_links(struct coresight_device *orig, in coresight_make_links() 145 struct coresight_device *target) in coresight_make_links() 193 void coresight_remove_links(struct coresight_device *orig, in coresight_remove_links()
|
D | coresight-cti.h | 89 struct coresight_device *con_dev; 176 struct coresight_device *csdev; 214 struct coresight_device *csdev, 218 int cti_enable(struct coresight_device *csdev); 219 int cti_disable(struct coresight_device *csdev);
|
D | coresight-tmc-etf.c | 16 static int tmc_set_etf_buffer(struct coresight_device *csdev, 149 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs() 223 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etf_sink_perf() 280 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink() 305 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink() 335 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link() 365 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link() 389 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer() 418 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer() 442 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
|
D | coresight-etm-perf.c | 28 static DEFINE_PER_CPU(struct coresight_device *, csdev_src); 127 struct coresight_device *sink; in free_sink_buffer() 213 struct coresight_device *sink = NULL; in etm_setup_aux() 238 struct coresight_device *csdev; in etm_setup_aux() 308 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() 366 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() 504 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() 540 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink() 585 void etm_perf_del_symlink_sink(struct coresight_device *csdev) in etm_perf_del_symlink_sink()
|
D | coresight-etb10.c | 86 struct coresight_device *csdev; 97 static int etb_set_buffer(struct coresight_device *csdev, 144 static int etb_enable_sysfs(struct coresight_device *csdev) in etb_enable_sysfs() 172 static int etb_enable_perf(struct coresight_device *csdev, void *data) in etb_enable_perf() 228 static int etb_enable(struct coresight_device *csdev, u32 mode, void *data) in etb_enable() 350 static int etb_disable(struct coresight_device *csdev) in etb_disable() 374 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer() 402 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer() 426 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
|
D | coresight-tpiu.c | 60 struct coresight_device *csdev; 72 static int tpiu_enable(struct coresight_device *csdev, u32 mode, void *__unused) in tpiu_enable() 98 static int tpiu_disable(struct coresight_device *csdev) in tpiu_disable()
|
D | coresight-catu.h | 65 struct coresight_device *csdev; 100 static inline bool coresight_is_catu_device(struct coresight_device *csdev) in CATU_REG_PAIR()
|
D | coresight-etm3x-core.c | 445 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id() 481 static int etm_trace_id(struct coresight_device *csdev) in etm_trace_id() 488 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf() 502 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs() 533 static int etm_enable(struct coresight_device *csdev, in etm_enable() 588 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf() 610 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs() 635 static void etm_disable(struct coresight_device *csdev, in etm_disable()
|
D | coresight-replicator.c | 41 struct coresight_device *csdev; 114 static int replicator_enable(struct coresight_device *csdev, int inport, in replicator_enable() 167 static void replicator_disable(struct coresight_device *csdev, int inport, in replicator_disable()
|
D | coresight-funnel.c | 46 struct coresight_device *csdev; 76 static int funnel_enable(struct coresight_device *csdev, int inport, in funnel_enable() 118 static void funnel_disable(struct coresight_device *csdev, int inport, in funnel_disable()
|
D | coresight-cti-core.c | 243 struct coresight_device *csdev, in cti_add_connection_entry() 511 struct coresight_device *csdev) in cti_match_fixup_csdev() 540 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev() 578 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev() 787 int cti_enable(struct coresight_device *csdev) in cti_enable() 794 int cti_disable(struct coresight_device *csdev) in cti_disable()
|
D | coresight-tmc-etr.c | 759 struct coresight_device * 763 struct coresight_device *tmp, *etr = drvdata->csdev; in tmc_etr_get_catu_device() 781 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_enable_catu() 790 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_disable_catu() 1142 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs() 1380 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer() 1495 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer() 1578 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etr_sink_perf() 1633 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink() 1647 static int tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
|
D | coresight-cti-platform.c | 95 struct coresight_device **csdev) in cti_plat_get_csdev_or_node_name() 120 struct coresight_device *csdev; in cti_plat_create_v8_etm_connection() 347 struct coresight_device *csdev = NULL; in cti_plat_create_connection()
|
D | coresight-tmc.h | 190 struct coresight_device *csdev; 327 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);
|
D | coresight-catu.c | 332 struct coresight_device *csdev; in catu_alloc_etr_buf() 453 static int catu_enable(struct coresight_device *csdev, void *data) in catu_enable() 480 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
|
D | coresight-etm4x-core.c | 87 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id() 94 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id() 395 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf() 417 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs() 443 static int etm4_enable(struct coresight_device *csdev, in etm4_enable() 531 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf() 556 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs() 581 static void etm4_disable(struct coresight_device *csdev, in etm4_disable()
|
D | coresight-stm.c | 134 struct coresight_device *csdev; 194 static int stm_enable(struct coresight_device *csdev, in stm_enable() 257 static void stm_disable(struct coresight_device *csdev, in stm_disable() 282 static int stm_trace_id(struct coresight_device *csdev) in stm_trace_id()
|
D | coresight-etm.h | 235 struct coresight_device *csdev;
|
D | coresight-platform.c | 65 struct coresight_device * 69 struct coresight_device *csdev = NULL; in coresight_find_csdev_by_fwnode()
|
D | coresight-etm4x.h | 421 struct coresight_device *csdev;
|
/kernel/linux/linux-5.10/Documentation/trace/coresight/ |
D | coresight.rst | 146 .. c:function:: struct coresight_device *coresight_register(struct coresight_desc *desc); 147 .. c:function:: void coresight_unregister(struct coresight_device *csdev); 151 a reference to a ``struct coresight_device *csdev`` obtained at registration time. 161 The functions take a ``struct coresight_device``, which looks like this::
|