Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Dcoresight.h177 struct coresight_device *child_dev;
189 struct coresight_device *orig;
191 struct coresight_device *target;
223 struct coresight_device { struct
236 struct coresight_device *def_sink; argument
238 struct coresight_device *ect_dev; argument
272 #define to_coresight_device(d) container_of(d, struct coresight_device, dev)
290 int (*enable)(struct coresight_device *csdev, u32 mode, void *data);
291 int (*disable)(struct coresight_device *csdev);
292 void *(*alloc_buffer)(struct coresight_device *csdev,
[all …]
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-core.c27 static DEFINE_PER_CPU(struct coresight_device *, csdev_sink);
35 struct coresight_device *csdev;
66 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair()
80 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32()
103 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink()
109 struct coresight_device *coresight_get_percpu_sink(int cpu) in coresight_get_percpu_sink()
118 struct coresight_device *csdev, *i_csdev; in coresight_id_match()
142 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique()
154 static int coresight_find_link_inport(struct coresight_device *csdev, in coresight_find_link_inport()
155 struct coresight_device *parent) in coresight_find_link_inport()
[all …]
Dcoresight-priv.h137 struct coresight_device *coresight_get_sink(struct list_head *path);
138 struct coresight_device *
139 coresight_get_enabled_sink(struct coresight_device *source);
140 struct coresight_device *coresight_get_sink_by_id(u32 id);
141 struct coresight_device *
142 coresight_find_default_sink(struct coresight_device *csdev);
143 struct list_head *coresight_build_path(struct coresight_device *csdev,
144 struct coresight_device *sink);
148 int coresight_create_conns_sysfs_group(struct coresight_device *csdev);
149 void coresight_remove_conns_sysfs_group(struct coresight_device *csdev);
[all …]
Dcoresight-etm-perf.h13 struct coresight_device;
64 int etm_perf_symlink(struct coresight_device *csdev, bool link);
65 int etm_perf_add_symlink_sink(struct coresight_device *csdev);
66 void etm_perf_del_symlink_sink(struct coresight_device *csdev);
79 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
81 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
83 void etm_perf_del_symlink_sink(struct coresight_device *csdev) {} in etm_perf_del_symlink_sink()
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);
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-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()
123 cscfg_alloc_csdev_feat(struct coresight_device *csdev, struct cscfg_feature_desc *feat_desc) in cscfg_alloc_csdev_feat()
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()
391 static void cscfg_remove_owned_csdev_configs(struct coresight_device *csdev, void *load_owner) in cscfg_remove_owned_csdev_configs()
404 static void cscfg_remove_owned_csdev_features(struct coresight_device *csdev, void *load_owner) in cscfg_remove_owned_csdev_features()
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()
[all …]
Dcoresight-tmc-etf.c16 static int tmc_set_etf_buffer(struct coresight_device *csdev,
123 struct coresight_device *csdev = drvdata->csdev; in tmc_etf_disable_hw()
151 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs()
225 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etf_sink_perf()
282 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
307 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
337 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
367 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
391 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
420 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
[all …]
Dcoresight-etm-perf.c49 static DEFINE_PER_CPU(struct coresight_device *, csdev_src);
195 struct coresight_device *sink; in free_sink_buffer()
284 static bool sinks_compatible(struct coresight_device *a, in sinks_compatible()
285 struct coresight_device *b) in sinks_compatible()
304 struct coresight_device *sink = NULL; in etm_setup_aux()
305 struct coresight_device *user_sink = NULL, *last_sink = NULL; in etm_setup_aux()
338 struct coresight_device *csdev; in etm_setup_aux()
433 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start()
508 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop()
696 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
[all …]
Dcoresight-config.h207 struct coresight_device *csdev;
232 struct coresight_device *csdev;
249 int (*load_feat)(struct coresight_device *csdev,
Dcoresight-replicator.c41 struct coresight_device *csdev;
48 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_reset()
75 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_enable()
117 static int replicator_enable(struct coresight_device *csdev, int inport, in replicator_enable()
146 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_disable()
171 static void replicator_disable(struct coresight_device *csdev, int inport, in replicator_disable()
Dcoresight-etm3x-core.c365 struct coresight_device *csdev = drvdata->csdev; in etm_enable_hw()
450 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id()
486 static int etm_trace_id(struct coresight_device *csdev) in etm_trace_id()
493 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf()
507 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs()
538 static int etm_enable(struct coresight_device *csdev, in etm_enable()
574 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw()
594 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf()
616 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs()
641 static void etm_disable(struct coresight_device *csdev, in etm_disable()
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()
228 static int etb_enable(struct coresight_device *csdev, u32 mode, void *data) in etb_enable()
351 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()
Dcoresight-funnel.c46 struct coresight_device *csdev;
55 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_enable_hw()
77 static int funnel_enable(struct coresight_device *csdev, int inport, in funnel_enable()
105 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_disable_hw()
120 static void funnel_disable(struct coresight_device *csdev, int inport, in funnel_disable()
Dcoresight-tpiu.c60 struct coresight_device *csdev;
72 static int tpiu_enable(struct coresight_device *csdev, u32 mode, void *__unused) in tpiu_enable()
96 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-cti-core.c153 struct coresight_device *csdev = drvdata->csdev; in cti_disable_hw()
244 struct coresight_device *csdev, in cti_add_connection_entry()
512 struct coresight_device *csdev) in cti_match_fixup_csdev()
541 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev()
580 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev()
655 struct coresight_device *csdev; in cti_cpu_pm_notify()
791 int cti_enable(struct coresight_device *csdev) in cti_enable()
798 int cti_disable(struct coresight_device *csdev) in cti_disable()
Dcoresight-catu.c332 struct coresight_device *csdev; in catu_alloc_etr_buf()
404 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw()
444 static int catu_enable(struct coresight_device *csdev, void *data) in catu_enable()
459 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw()
472 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
Dcoresight-etm4x-cfg.h28 int etm4_cscfg_register(struct coresight_device *csdev);
Dcoresight-etm4x-cfg.c147 static int etm4_cfg_load_feature(struct coresight_device *csdev, in etm4_cfg_load_feature()
175 int etm4_cscfg_register(struct coresight_device *csdev) in etm4_cscfg_register()
Dcoresight-tmc-etr.c775 struct coresight_device *
779 struct coresight_device *tmp, *etr = drvdata->csdev; in tmc_etr_get_catu_device()
797 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_enable_catu()
806 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_disable_catu()
1159 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs()
1397 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer()
1512 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer()
1602 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etr_sink_perf()
1655 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink()
1669 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()
346 struct coresight_device *csdev = NULL; in cti_plat_create_connection()
Dcoresight-etm4x-core.c223 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id()
230 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id()
376 struct coresight_device *csdev = drvdata->csdev; in etm4_enable_hw()
607 static int etm4_parse_event_config(struct coresight_device *csdev, in etm4_parse_event_config()
717 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
739 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs()
774 static int etm4_enable(struct coresight_device *csdev, in etm4_enable()
810 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw()
869 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf()
901 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs()
[all …]
Dcoresight-tmc.h193 struct coresight_device *csdev;
331 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);

12