Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/drivers/hwtracing/coresight/
Dcoresight-core.c27 static DEFINE_PER_CPU(struct coresight_device *, csdev_sink);
35 struct coresight_device *csdev;
75 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink()
81 struct coresight_device *coresight_get_percpu_sink(int cpu) in coresight_get_percpu_sink()
90 struct coresight_device *csdev, *i_csdev; in coresight_id_match()
114 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique()
126 static int coresight_find_link_inport(struct coresight_device *csdev, in coresight_find_link_inport()
127 struct coresight_device *parent) in coresight_find_link_inport()
144 static int coresight_find_link_outport(struct coresight_device *csdev, in coresight_find_link_outport()
145 struct coresight_device *child) in coresight_find_link_outport()
[all …]
Dcoresight-priv.h151 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 …]
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);
193 struct coresight_device *sink; in free_sink_buffer()
282 static bool sinks_compatible(struct coresight_device *a, in sinks_compatible()
283 struct coresight_device *b) in sinks_compatible()
302 struct coresight_device *sink = NULL; in etm_setup_aux()
303 struct coresight_device *user_sink = NULL, *last_sink = NULL; in etm_setup_aux()
336 struct coresight_device *csdev; in etm_setup_aux()
431 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start()
506 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop()
694 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.c157 struct coresight_device *csdev = drvdata->csdev; in cti_disable_hw()
249 struct coresight_device *csdev, in cti_add_connection_entry()
517 struct coresight_device *csdev) in cti_match_fixup_csdev()
546 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev()
584 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev()
659 struct coresight_device *csdev; in cti_cpu_pm_notify()
795 int cti_enable(struct coresight_device *csdev) in cti_enable()
802 int cti_disable(struct coresight_device *csdev) in cti_disable()
Dcoresight-catu.c332 struct coresight_device *csdev; in catu_alloc_etr_buf()
415 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw()
455 static int catu_enable(struct coresight_device *csdev, void *data) in catu_enable()
470 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw()
483 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()
703 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
725 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs()
760 static int etm4_enable(struct coresight_device *csdev, in etm4_enable()
796 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw()
855 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf()
887 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