/openbmc/linux/include/linux/ |
H A D | coresight.h | 198 struct coresight_device *dest_dev; 200 struct coresight_device *src_dev; 213 struct coresight_device *orig; 215 struct coresight_device *target; 245 struct coresight_device { struct 258 struct coresight_device *def_sink; argument 334 int (*enable)(struct coresight_device *csdev, 571 extern struct coresight_device * 601 static inline struct coresight_device * 685 struct coresight_device * [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-priv.h | 133 struct coresight_device * 135 struct coresight_device *coresight_get_sink_by_id(u32 id); 136 struct coresight_device * 139 struct coresight_device *sink); 145 int coresight_make_links(struct coresight_device *orig, 147 struct coresight_device *target); 148 void coresight_remove_links(struct coresight_device *orig, 160 void (*add)(struct coresight_device *csdev); 161 void (*remove)(struct coresight_device *csdev); 227 struct coresight_device * [all …]
|
H A D | coresight-core.c | 44 struct coresight_device *csdev; 67 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair() 81 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32() 435 struct coresight_device *helper; in coresight_disable_helpers() 625 struct coresight_device *csdev; in coresight_get_sink() 638 static struct coresight_device * 671 struct coresight_device * 1047 struct coresight_device * 1123 struct coresight_device *sink; in coresight_enable() 1730 struct coresight_device * [all …]
|
H A D | coresight-etm-perf.h | 13 struct coresight_device; 66 int etm_perf_symlink(struct coresight_device *csdev, bool link); 67 int etm_perf_add_symlink_sink(struct coresight_device *csdev); 68 void etm_perf_del_symlink_sink(struct coresight_device *csdev); 81 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() 83 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink() 85 void etm_perf_del_symlink_sink(struct coresight_device *csdev) {} in etm_perf_del_symlink_sink()
|
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-sysfs.c | 20 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() 191 void coresight_remove_links(struct coresight_device *orig, in coresight_remove_links()
|
H A D | coresight-dummy.c | 17 struct coresight_device *csdev; 23 static int dummy_source_enable(struct coresight_device *csdev, in dummy_source_enable() 31 static void dummy_source_disable(struct coresight_device *csdev, in dummy_source_disable() 37 static int dummy_sink_enable(struct coresight_device *csdev, enum cs_mode mode, in dummy_sink_enable() 45 static int dummy_sink_disable(struct coresight_device *csdev) in dummy_sink_disable()
|
H A D | coresight-cti.h | 89 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 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() 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 D | coresight-tmc-etf.c | 16 static int tmc_set_etf_buffer(struct coresight_device *csdev, 145 struct coresight_device *csdev = drvdata->csdev; in tmc_etf_disable_hw() 173 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs() 247 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etf_sink_perf() 304 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink() 329 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink() 359 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link() 390 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link() 415 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer() 444 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer() [all …]
|
H A D | coresight-etm-perf.c | 51 static DEFINE_PER_CPU(struct coresight_device *, csdev_src); 197 struct coresight_device *sink; in free_sink_buffer() 290 static bool sinks_compatible(struct coresight_device *a, in sinks_compatible() 291 struct coresight_device *b) in sinks_compatible() 311 struct coresight_device *sink = NULL; in etm_setup_aux() 312 struct coresight_device *user_sink = NULL, *last_sink = NULL; in etm_setup_aux() 348 struct coresight_device *csdev; in etm_setup_aux() 451 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() 728 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() 801 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink() [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-etb10.c | 86 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, enum cs_mode mode, in etb_enable() 352 static int etb_disable(struct coresight_device *csdev) in etb_disable() 376 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer() 404 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer() 428 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
|
H A D | coresight-tpiu.c | 60 struct coresight_device *csdev; 72 static int tpiu_enable(struct coresight_device *csdev, enum cs_mode mode, in tpiu_enable() 97 static int tpiu_disable(struct coresight_device *csdev) in tpiu_disable()
|
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-catu.h | 65 struct coresight_device *csdev; 100 static inline bool coresight_is_catu_device(struct coresight_device *csdev) in CATU_REG_PAIR()
|
H A D | coresight-cti-core.c | 153 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 D | coresight-etm3x-core.c | 366 struct coresight_device *csdev = drvdata->csdev; in etm_enable_hw() 451 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id() 483 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf() 515 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs() 555 static int etm_enable(struct coresight_device *csdev, struct perf_event *event, in etm_enable() 591 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw() 611 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf() 639 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs() 671 static void etm_disable(struct coresight_device *csdev, in etm_disable()
|
H A D | coresight-catu.c | 332 struct coresight_device *csdev; in catu_alloc_etr_buf() 405 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw() 406 struct coresight_device *etrdev; in catu_enable_hw() 456 static int catu_enable(struct coresight_device *csdev, enum cs_mode mode, in catu_enable() 472 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw() 485 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
|
H A D | coresight-tmc.h | 193 struct coresight_device *csdev; 331 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata); 335 struct etr_buf *tmc_etr_get_buffer(struct coresight_device *csdev,
|
H A D | ultrasoc-smb.c | 215 static void smb_enable_sysfs(struct coresight_device *csdev) in smb_enable_sysfs() 226 static int smb_enable_perf(struct coresight_device *csdev, void *data) in smb_enable_perf() 252 static int smb_enable(struct coresight_device *csdev, enum cs_mode mode, in smb_enable() 295 static int smb_disable(struct coresight_device *csdev) in smb_disable() 328 static void *smb_alloc_buffer(struct coresight_device *csdev, in smb_alloc_buffer() 391 static unsigned long smb_update_buffer(struct coresight_device *csdev, in smb_update_buffer()
|
H A D | coresight-etm4x-cfg.h | 28 int etm4_cscfg_register(struct coresight_device *csdev);
|
H A D | coresight-tpda.h | 30 struct coresight_device *csdev;
|
H A D | coresight-tpdm.h | 56 struct coresight_device *csdev;
|