Home
last modified time | relevance | path

Searched refs:coresight_device (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.10/include/linux/
Dcoresight.h152 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 …]
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-priv.h149 struct coresight_device *coresight_get_sink(struct list_head *path);
150 struct coresight_device *
151 coresight_get_enabled_sink(struct coresight_device *source);
152 struct coresight_device *coresight_get_sink_by_id(u32 id);
153 struct coresight_device *
154 coresight_find_default_sink(struct coresight_device *csdev);
155 struct list_head *coresight_build_path(struct coresight_device *csdev,
156 struct coresight_device *sink);
160 int coresight_create_conns_sysfs_group(struct coresight_device *csdev);
161 void coresight_remove_conns_sysfs_group(struct coresight_device *csdev);
[all …]
Dcoresight-core.c33 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 …]
Dcoresight-etm-perf.h13 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()
Dcoresight-sysfs.c20 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()
Dcoresight-cti.h89 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);
Dcoresight-tmc-etf.c16 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()
279 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
304 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
334 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
364 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
388 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
416 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
440 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
Dcoresight-etm-perf.c28 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()
Dcoresight-etb10.c86 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()
227 static int etb_enable(struct coresight_device *csdev, u32 mode, void *data) in etb_enable()
349 static int etb_disable(struct coresight_device *csdev) in etb_disable()
373 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer()
400 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer()
424 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
Dcoresight-tpiu.c60 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()
Dcoresight-catu.h65 struct coresight_device *csdev;
100 static inline bool coresight_is_catu_device(struct coresight_device *csdev) in CATU_REG_PAIR()
Dcoresight-etm3x-core.c445 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()
Dcoresight-funnel.c46 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()
Dcoresight-replicator.c41 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()
Dcoresight-cti-core.c248 struct coresight_device *csdev, in cti_add_connection_entry()
516 struct coresight_device *csdev) in cti_match_fixup_csdev()
545 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev()
583 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev()
792 int cti_enable(struct coresight_device *csdev) in cti_enable()
799 int cti_disable(struct coresight_device *csdev) in cti_disable()
Dcoresight-tmc-etr.c757 struct coresight_device *
761 struct coresight_device *tmp, *etr = drvdata->csdev; in tmc_etr_get_catu_device()
779 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_enable_catu()
788 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_disable_catu()
1140 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs()
1378 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer()
1493 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer()
1576 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etr_sink_perf()
1631 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink()
1645 static int tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
Dcoresight-cti-platform.c95 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()
Dcoresight-tmc.h190 struct coresight_device *csdev;
327 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);
Dcoresight-catu.c332 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()
Dcoresight-etm4x-core.c87 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()
391 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
413 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs()
439 static int etm4_enable(struct coresight_device *csdev, in etm4_enable()
527 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf()
552 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs()
577 static void etm4_disable(struct coresight_device *csdev, in etm4_disable()
Dcoresight-stm.c134 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()
Dcoresight-etm.h235 struct coresight_device *csdev;
Dcoresight-platform.c65 struct coresight_device *
69 struct coresight_device *csdev = NULL; in coresight_find_csdev_by_fwnode()
Dcoresight-etm4x.h421 struct coresight_device *csdev;
/Linux-v5.10/Documentation/trace/coresight/
Dcoresight.rst146 .. 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::