| /linux/include/linux/ |
| H A D | coresight.h | 204 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; 280 struct coresight_device { struct 293 struct coresight_device *def_sink; argument 322 #define to_coresight_device(d) container_of(d, struct coresight_device, dev) argument 360 int (*enable)(struct coresight_device *csdev, enum cs_mode mode, 362 int (*disable)(struct coresight_device *csdev); [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-core.c | 36 static DEFINE_PER_CPU(struct coresight_device *, csdev_sink); 44 struct coresight_device *csdev; 73 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink() 79 struct coresight_device *coresight_get_percpu_sink(int cpu) in coresight_get_percpu_sink() 85 static struct coresight_device *coresight_get_source(struct coresight_path *path) in coresight_get_source() 87 struct coresight_device *csdev; in coresight_get_source() 108 static bool coresight_blocks_source(struct coresight_device *src, in coresight_blocks_source() 115 coresight_find_out_connection(struct coresight_device *csdev, in coresight_find_out_connection() 116 struct coresight_device *out_dev, in coresight_find_out_connection() 117 struct coresight_device *trace_src) in coresight_find_out_connection() [all …]
|
| H A D | coresight-priv.h | 139 struct coresight_device *coresight_get_sink(struct coresight_path *path); 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 coresight_path *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); 150 int coresight_make_links(struct coresight_device *orig, 152 struct coresight_device *target); [all …]
|
| H A D | coresight-sysfs.c | 31 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair() 45 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32() 56 static int coresight_enable_source_sysfs(struct coresight_device *csdev, in coresight_enable_source_sysfs() 89 static bool coresight_disable_source_sysfs(struct coresight_device *csdev, in coresight_disable_source_sysfs() 110 static struct coresight_device * 111 coresight_find_activated_sysfs_sink(struct coresight_device *csdev) in coresight_find_activated_sysfs_sink() 114 struct coresight_device *sink = NULL; in coresight_find_activated_sysfs_sink() 125 struct coresight_device *child_dev; in coresight_find_activated_sysfs_sink() 144 static int coresight_validate_source_sysfs(struct coresight_device *csdev, in coresight_validate_source_sysfs() 168 int coresight_enable_sysfs(struct coresight_device *csdev) in coresight_enable_sysfs() [all …]
|
| H A D | coresight-syscfg.h | 72 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 D | coresight-dummy.c | 18 struct coresight_device *csdev; 22 static int dummy_source_enable(struct coresight_device *csdev, in dummy_source_enable() 34 static void dummy_source_disable(struct coresight_device *csdev, in dummy_source_disable() 41 static int dummy_source_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in dummy_source_trace_id() 42 __maybe_unused struct coresight_device *sink) in dummy_source_trace_id() 51 static int dummy_sink_enable(struct coresight_device *csdev, enum cs_mode mode, in dummy_sink_enable() 59 static int dummy_sink_disable(struct coresight_device *csdev) in dummy_sink_disable()
|
| H A D | coresight-etm-perf.c | 52 static DEFINE_PER_CPU(struct coresight_device *, csdev_src); 202 struct coresight_device *sink; in free_sink_buffer() 236 struct coresight_device *sink = coresight_get_sink(*ppath); in free_event_data() 304 static bool sinks_compatible(struct coresight_device *a, in sinks_compatible() 305 struct coresight_device *b) in sinks_compatible() 324 struct coresight_device *sink = NULL; in etm_setup_aux() 325 struct coresight_device *user_sink = NULL, *last_sink = NULL; in etm_setup_aux() 357 struct coresight_device *csdev; in etm_setup_aux() 467 static int etm_event_resume(struct coresight_device *csdev, in etm_event_resume() 482 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() [all …]
|
| H A D | coresight-syscfg.c | 33 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() 406 static void cscfg_remove_owned_csdev_features(struct coresight_device *csdev, void *load_owner) in cscfg_remove_owned_csdev_features() 717 static int cscfg_add_cfgs_csdev(struct coresight_device *csdev) in cscfg_add_cfgs_csdev() 731 static int cscfg_add_feats_csdev(struct coresight_device *csdev, in cscfg_add_feats_csdev() [all …]
|
| H A D | coresight-cti.h | 90 struct coresight_device *con_dev; 174 struct coresight_device *csdev; 211 struct coresight_device *csdev, 215 int cti_enable(struct coresight_device *csdev, enum cs_mode mode, 217 int cti_disable(struct coresight_device *csdev, struct coresight_path *path);
|
| H A D | coresight-kunit-tests.c | 9 static struct coresight_device *coresight_test_device(struct device *dev) in coresight_test_device() 11 struct coresight_device *csdev = devm_kcalloc(dev, 1, in coresight_test_device() 12 sizeof(struct coresight_device), in coresight_test_device() 28 struct coresight_device *src = coresight_test_device(dev), in test_default_sink()
|
| H A D | coresight-ctcu-core.c | 92 static int __ctcu_set_etr_traceid(struct coresight_device *csdev, u8 traceid, int port_num, in __ctcu_set_etr_traceid() 123 static int ctcu_get_active_port(struct coresight_device *sink, struct coresight_device *helper) in ctcu_get_active_port() 136 static int ctcu_set_etr_traceid(struct coresight_device *csdev, struct coresight_path *path, in ctcu_set_etr_traceid() 139 struct coresight_device *sink = coresight_get_sink(path); in ctcu_set_etr_traceid() 157 static int ctcu_enable(struct coresight_device *csdev, enum cs_mode mode, in ctcu_enable() 163 static int ctcu_disable(struct coresight_device *csdev, struct coresight_path *path) in ctcu_disable()
|
| H A D | coresight-tmc-etf.c | 16 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() 249 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, in tmc_enable_etf_sink_perf() 307 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink() 333 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink() 364 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link() 395 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link() 421 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer() 450 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer() [all …]
|
| H A D | coresight-config.h | 207 struct coresight_device *csdev; 232 struct coresight_device *csdev; 249 int (*load_feat)(struct coresight_device *csdev,
|
| H A D | coresight-replicator.c | 41 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, in replicator_enable() 147 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_disable() 172 static void replicator_disable(struct coresight_device *csdev, in replicator_disable()
|
| H A D | coresight-tnoc.c | 44 struct coresight_device *csdev; 81 static int trace_noc_enable(struct coresight_device *csdev, struct coresight_connection *inport, in trace_noc_enable() 97 static void trace_noc_disable(struct coresight_device *csdev, struct coresight_connection *inport, in trace_noc_disable() 109 static int trace_noc_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in trace_noc_id() 110 __maybe_unused struct coresight_device *sink) in trace_noc_id()
|
| H A D | coresight-tpda.c | 23 static void tpda_clear_element_size(struct coresight_device *csdev) in tpda_clear_element_size() 57 struct coresight_device *csdev) in tpdm_read_element_size() 91 struct coresight_device *csdev, in tpda_get_element_size() 96 struct coresight_device *in; in tpda_get_element_size() 223 static int tpda_enable(struct coresight_device *csdev, in tpda_enable() 257 static void tpda_disable(struct coresight_device *csdev, in tpda_disable() 273 static int tpda_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in tpda_trace_id() 274 __maybe_unused struct coresight_device *sink) in tpda_trace_id()
|
| H A D | coresight-funnel.c | 46 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, in funnel_enable() 107 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_disable_hw() 122 static void funnel_disable(struct coresight_device *csdev, in funnel_disable()
|
| H A D | coresight-etb10.c | 83 struct coresight_device *csdev; 93 static int etb_set_buffer(struct coresight_device *csdev, 140 static int etb_enable_sysfs(struct coresight_device *csdev) in etb_enable_sysfs() 168 static int etb_enable_perf(struct coresight_device *csdev, struct coresight_path *path) in etb_enable_perf() 224 static int etb_enable(struct coresight_device *csdev, enum cs_mode mode, in etb_enable() 348 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() 401 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer() 425 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
|
| H A D | coresight-cti-core.c | 103 struct coresight_device *csdev = drvdata->csdev; in cti_disable_hw() 200 struct coresight_device *csdev, in cti_add_connection_entry() 469 struct coresight_device *csdev) in cti_match_fixup_csdev() 498 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev() 538 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev() 546 struct coresight_device *cti_csdev = coresight_find_output_type( in cti_remove_assoc_from_csdev() 612 int cti_enable(struct coresight_device *csdev, enum cs_mode mode, in cti_enable() 620 int cti_disable(struct coresight_device *csdev, struct coresight_path *path) in cti_disable()
|
| H A D | ultrasoc-smb.c | 203 static void smb_enable_sysfs(struct coresight_device *csdev) in smb_enable_sysfs() 214 static int smb_enable_perf(struct coresight_device *csdev, in smb_enable_perf() 241 static int smb_enable(struct coresight_device *csdev, enum cs_mode mode, in smb_enable() 278 static int smb_disable(struct coresight_device *csdev) in smb_disable() 304 static void *smb_alloc_buffer(struct coresight_device *csdev, in smb_alloc_buffer() 367 static unsigned long smb_update_buffer(struct coresight_device *csdev, in smb_update_buffer()
|
| H A D | coresight-catu.c | 331 struct coresight_device *csdev; in catu_alloc_etr_buf() 404 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw() 405 struct coresight_device *etrdev; in catu_enable_hw() 455 static int catu_enable(struct coresight_device *csdev, enum cs_mode mode, in catu_enable() 476 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw() 489 static int catu_disable(struct coresight_device *csdev, struct coresight_path *path) in catu_disable()
|
| H A D | coresight-tpdm.h | 309 struct coresight_device *csdev; 349 static inline bool coresight_device_is_tpdm(struct coresight_device *csdev) in coresight_device_is_tpdm() 356 static inline bool coresight_is_static_tpdm(struct coresight_device *csdev) in coresight_is_static_tpdm()
|
| H A D | coresight-tpiu.c | 62 struct coresight_device *csdev; 75 static int tpiu_enable(struct coresight_device *csdev, enum cs_mode mode, in tpiu_enable() 103 static int tpiu_disable(struct coresight_device *csdev) in tpiu_disable()
|
| H A D | coresight-etm4x-cfg.c | 147 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()
|
| H A D | coresight-etm4x-cfg.h | 28 int etm4_cscfg_register(struct coresight_device *csdev);
|