Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/hwtracing/coresight/
H A Dcoresight-core.c42 struct coresight_device *csdev;
82 struct coresight_device *csdev; in coresight_get_source()
344 struct coresight_device *helper; in coresight_disable_helpers()
436 struct coresight_device *helper; in coresight_enable_helpers()
516 struct coresight_device *csdev; in coresight_get_sink()
809 struct coresight_device *csdev; in coresight_release_path()
851 static struct coresight_device *
892 static struct coresight_device *
948 struct coresight_device *
1424 struct coresight_device *
[all …]
H A Dcoresight-priv.h139 struct coresight_device *coresight_get_sink_by_id(u32 id);
140 struct coresight_device *
143 struct coresight_device *sink);
149 int coresight_make_links(struct coresight_device *orig,
151 struct coresight_device *target);
152 void coresight_remove_links(struct coresight_device *orig,
154 u32 coresight_get_sink_id(struct coresight_device *csdev);
167 void (*add)(struct coresight_device *csdev);
168 void (*remove)(struct coresight_device *csdev);
244 struct coresight_device *
[all …]
H A Dcoresight-sysfs.c30 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair()
44 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32()
109 static struct coresight_device *
113 struct coresight_device *sink = NULL; in coresight_find_activated_sysfs_sink()
124 struct coresight_device *child_dev; in coresight_find_activated_sysfs_sink()
167 int coresight_enable_sysfs(struct coresight_device *csdev) in coresight_enable_sysfs()
170 struct coresight_device *sink; in coresight_enable_sysfs()
316 struct coresight_device *csdev = to_coresight_device(dev); in enable_sink_show()
327 struct coresight_device *csdev = to_coresight_device(dev); in enable_sink_store()
540 int coresight_make_links(struct coresight_device *orig, in coresight_make_links()
[all …]
H A Dcoresight-syscfg.h72 struct coresight_device *csdev;
116 int cscfg_register_csdev(struct coresight_device *csdev, u32 match_flags,
118 void cscfg_unregister_csdev(struct coresight_device *csdev);
121 void cscfg_csdev_reset_feats(struct coresight_device *csdev);
122 int cscfg_csdev_enable_active_config(struct coresight_device *csdev,
124 void cscfg_csdev_disable_active_config(struct coresight_device *csdev);
H A Dcoresight-etm-perf.h13 struct coresight_device;
65 int etm_perf_symlink(struct coresight_device *csdev, bool link);
66 int etm_perf_add_symlink_sink(struct coresight_device *csdev);
67 void etm_perf_del_symlink_sink(struct coresight_device *csdev);
H A Dcoresight-dummy.c18 struct coresight_device *csdev;
25 static int dummy_source_enable(struct coresight_device *csdev, in dummy_source_enable()
37 static void dummy_source_disable(struct coresight_device *csdev, in dummy_source_disable()
44 static int dummy_source_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in dummy_source_trace_id()
45 __maybe_unused struct coresight_device *sink) in dummy_source_trace_id()
54 static int dummy_sink_enable(struct coresight_device *csdev, enum cs_mode mode, in dummy_sink_enable()
62 static int dummy_sink_disable(struct coresight_device *csdev) in dummy_sink_disable()
H A Dcoresight-tpda.c25 static bool coresight_device_is_tpdm(struct coresight_device *csdev) in coresight_device_is_tpdm()
32 static void tpda_clear_element_size(struct coresight_device *csdev) in tpda_clear_element_size()
66 struct coresight_device *csdev) in tpdm_read_element_size()
97 struct coresight_device *csdev, in tpda_get_element_size()
102 struct coresight_device *in; in tpda_get_element_size()
195 static int tpda_enable(struct coresight_device *csdev, in tpda_enable()
229 static void tpda_disable(struct coresight_device *csdev, in tpda_disable()
245 static int tpda_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in tpda_trace_id()
246 __maybe_unused struct coresight_device *sink) in tpda_trace_id()
H A 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, enum cs_mode mode, void *data);
219 int cti_disable(struct coresight_device *csdev, void *data);
H A Dcoresight-syscfg.c33 cscfg_get_feat_csdev(struct coresight_device *csdev, const char *name) in cscfg_get_feat_csdev()
46 cscfg_alloc_csdev_cfg(struct coresight_device *csdev, int nr_feats) in cscfg_alloc_csdev_cfg()
63 static int cscfg_add_csdev_cfg(struct coresight_device *csdev, in cscfg_add_csdev_cfg()
175 static int cscfg_load_feat_csdev(struct coresight_device *csdev, in cscfg_load_feat_csdev()
325 cscfg_csdev_get_feat_from_desc(struct coresight_device *csdev, in cscfg_csdev_get_feat_from_desc()
715 static int cscfg_add_cfgs_csdev(struct coresight_device *csdev) in cscfg_add_cfgs_csdev()
729 static int cscfg_add_feats_csdev(struct coresight_device *csdev, in cscfg_add_feats_csdev()
750 static int cscfg_list_add_csdev(struct coresight_device *csdev, in cscfg_list_add_csdev()
798 int cscfg_register_csdev(struct coresight_device *csdev, in cscfg_register_csdev()
837 void cscfg_unregister_csdev(struct coresight_device *csdev) in cscfg_unregister_csdev()
[all …]
H A Dcoresight-ctcu-core.c94 static int __ctcu_set_etr_traceid(struct coresight_device *csdev, u8 traceid, int port_num, in __ctcu_set_etr_traceid()
125 static int ctcu_get_active_port(struct coresight_device *sink, struct coresight_device *helper) in ctcu_get_active_port()
138 static int ctcu_set_etr_traceid(struct coresight_device *csdev, struct coresight_path *path, in ctcu_set_etr_traceid()
141 struct coresight_device *sink = coresight_get_sink(path); in ctcu_set_etr_traceid()
159 static int ctcu_enable(struct coresight_device *csdev, enum cs_mode mode, void *data) in ctcu_enable()
166 static int ctcu_disable(struct coresight_device *csdev, void *data) in ctcu_disable()
H A Dcoresight-tmc-etf.c16 static int tmc_set_etf_buffer(struct coresight_device *csdev,
148 struct coresight_device *csdev = drvdata->csdev; in tmc_etf_disable_hw()
176 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs()
306 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
331 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
362 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
393 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
419 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
448 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
472 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
[all …]
H A Dcoresight-etm-perf.c51 static DEFINE_PER_CPU(struct coresight_device *, csdev_src);
199 struct coresight_device *sink; in free_sink_buffer()
233 struct coresight_device *sink = coresight_get_sink(*ppath); in free_event_data()
301 static bool sinks_compatible(struct coresight_device *a, in sinks_compatible()
302 struct coresight_device *b) in sinks_compatible()
321 struct coresight_device *sink = NULL; in etm_setup_aux()
322 struct coresight_device *user_sink = NULL, *last_sink = NULL; in etm_setup_aux()
355 struct coresight_device *csdev; in etm_setup_aux()
740 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
813 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
[all …]
H A Dcoresight-config.h207 struct coresight_device *csdev;
232 struct coresight_device *csdev;
249 int (*load_feat)(struct coresight_device *csdev,
H A Dcoresight-replicator.c43 struct coresight_device *csdev;
50 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_reset()
77 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_enable()
119 static int replicator_enable(struct coresight_device *csdev, in replicator_enable()
149 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_disable()
174 static void replicator_disable(struct coresight_device *csdev, in replicator_disable()
H A Dcoresight-etb10.c85 struct coresight_device *csdev;
95 static int etb_set_buffer(struct coresight_device *csdev,
142 static int etb_enable_sysfs(struct coresight_device *csdev) in etb_enable_sysfs()
170 static int etb_enable_perf(struct coresight_device *csdev, void *data) in etb_enable_perf()
226 static int etb_enable(struct coresight_device *csdev, enum cs_mode mode, in etb_enable()
350 static int etb_disable(struct coresight_device *csdev) in etb_disable()
375 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer()
403 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer()
427 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
H A Dcoresight-funnel.c48 struct coresight_device *csdev;
57 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_enable_hw()
79 static int funnel_enable(struct coresight_device *csdev, in funnel_enable()
109 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_disable_hw()
124 static void funnel_disable(struct coresight_device *csdev, in funnel_disable()
H A Dcoresight-cti-core.c153 struct coresight_device *csdev = drvdata->csdev; in cti_disable_hw()
251 struct coresight_device *csdev, in cti_add_connection_entry()
519 struct coresight_device *csdev) in cti_match_fixup_csdev()
548 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev()
588 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev()
596 struct coresight_device *cti_csdev = coresight_find_output_type( in cti_remove_assoc_from_csdev()
666 struct coresight_device *csdev; in cti_cpu_pm_notify()
802 int cti_enable(struct coresight_device *csdev, enum cs_mode mode, void *data) in cti_enable()
809 int cti_disable(struct coresight_device *csdev, void *data) in cti_disable()
H A Dcoresight-etm3x-core.c366 struct coresight_device *csdev = drvdata->csdev; in etm_enable_hw()
451 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id()
463 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf()
480 static int etm_enable_sysfs(struct coresight_device *csdev, struct coresight_path *path) in etm_enable_sysfs()
516 static int etm_enable(struct coresight_device *csdev, struct perf_event *event, in etm_enable()
550 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw()
570 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf()
598 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs()
630 static void etm_disable(struct coresight_device *csdev, in etm_disable()
H A Dcoresight-catu.h66 struct coresight_device *csdev;
101 static inline bool coresight_is_catu_device(struct coresight_device *csdev) in CATU_REG_PAIR()
H A Dultrasoc-smb.c205 static void smb_enable_sysfs(struct coresight_device *csdev) in smb_enable_sysfs()
216 static int smb_enable_perf(struct coresight_device *csdev, void *data) in smb_enable_perf()
242 static int smb_enable(struct coresight_device *csdev, enum cs_mode mode, in smb_enable()
279 static int smb_disable(struct coresight_device *csdev) in smb_disable()
305 static void *smb_alloc_buffer(struct coresight_device *csdev, in smb_alloc_buffer()
368 static unsigned long smb_update_buffer(struct coresight_device *csdev, in smb_update_buffer()
H A Dcoresight-catu.c334 struct coresight_device *csdev; in catu_alloc_etr_buf()
407 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw()
408 struct coresight_device *etrdev; in catu_enable_hw()
458 static int catu_enable(struct coresight_device *csdev, enum cs_mode mode, in catu_enable()
474 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw()
487 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
H A Dcoresight-tpiu.c64 struct coresight_device *csdev;
77 static int tpiu_enable(struct coresight_device *csdev, enum cs_mode mode, in tpiu_enable()
105 static int tpiu_disable(struct coresight_device *csdev) in tpiu_disable()
H A Dcoresight-tmc.h249 struct coresight_device *csdev;
438 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);
442 struct etr_buf *tmc_etr_get_buffer(struct coresight_device *csdev,
H A Dcoresight-etm4x-cfg.h28 int etm4_cscfg_register(struct coresight_device *csdev);
/linux-6.15/include/linux/
H A Dcoresight.h204 struct coresight_device *dest_dev;
206 struct coresight_device *src_dev;
208 struct coresight_device *filter_src_dev;
221 struct coresight_device *orig;
223 struct coresight_device *target;
284 struct coresight_device { struct
297 struct coresight_device *def_sink; argument
437 struct coresight_device *sink);
674 extern struct coresight_device *
716 struct coresight_device *
[all …]

12