| /linux/include/linux/ |
| A D | coresight.h | 182 struct coresight_device *child_dev; 194 struct coresight_device *orig; 196 struct coresight_device *target; 228 struct coresight_device { struct 241 struct coresight_device *def_sink; argument 243 struct coresight_device *ect_dev; argument 328 int (*cpu_id)(struct coresight_device *csdev); 330 int (*enable)(struct coresight_device *csdev, 357 int (*enable)(struct coresight_device *csdev); 480 extern struct coresight_device * [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| A D | coresight-core.c | 35 struct coresight_device *csdev; 595 struct coresight_device *csdev; in coresight_get_sink() 608 static struct coresight_device * 641 struct coresight_device * 739 struct coresight_device *child; in coresight_grab_device() 750 struct coresight_device *child; in coresight_grab_device() 878 struct coresight_device *csdev; in coresight_release_path() 920 static struct coresight_device * 961 static struct coresight_device * 1017 struct coresight_device * [all …]
|
| A D | coresight-priv.h | 152 struct coresight_device * 154 struct coresight_device *coresight_get_sink_by_id(u32 id); 155 struct coresight_device * 158 struct coresight_device *sink); 164 int coresight_make_links(struct coresight_device *orig, 166 struct coresight_device *target); 167 void coresight_remove_links(struct coresight_device *orig, 179 void (*add)(struct coresight_device *csdev); 180 void (*remove)(struct coresight_device *csdev); 230 struct coresight_device * [all …]
|
| A D | coresight-etm-perf.h | 13 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()
|
| A D | coresight-syscfg.h | 53 struct coresight_device *csdev; 71 int cscfg_register_csdev(struct coresight_device *csdev, u32 match_flags, 73 void cscfg_unregister_csdev(struct coresight_device *csdev); 76 void cscfg_csdev_reset_feats(struct coresight_device *csdev); 77 int cscfg_csdev_enable_active_config(struct coresight_device *csdev, 79 void cscfg_csdev_disable_active_config(struct coresight_device *csdev);
|
| 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() 311 cscfg_csdev_get_feat_from_desc(struct coresight_device *csdev, in cscfg_csdev_get_feat_from_desc() 414 static int cscfg_add_cfgs_csdev(struct coresight_device *csdev) in cscfg_add_cfgs_csdev() 428 static int cscfg_add_feats_csdev(struct coresight_device *csdev, in cscfg_add_feats_csdev() 449 static int cscfg_list_add_csdev(struct coresight_device *csdev, in cscfg_list_add_csdev() 497 int cscfg_register_csdev(struct coresight_device *csdev, in cscfg_register_csdev() 536 void cscfg_unregister_csdev(struct coresight_device *csdev) in cscfg_unregister_csdev() [all …]
|
| 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() 193 void coresight_remove_links(struct coresight_device *orig, in coresight_remove_links()
|
| 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); 219 int cti_disable(struct coresight_device *csdev);
|
| A D | coresight-tmc-etf.c | 16 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 …]
|
| A D | coresight-etm-perf.c | 49 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() 694 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() 767 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink() [all …]
|
| A D | coresight-config.h | 198 struct coresight_device *csdev; 223 struct coresight_device *csdev; 240 int (*load_feat)(struct coresight_device *csdev,
|
| 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, 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()
|
| A D | coresight-etm3x-core.c | 361 struct coresight_device *csdev = drvdata->csdev; in etm_enable_hw() 446 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id() 482 static int etm_trace_id(struct coresight_device *csdev) in etm_trace_id() 489 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf() 503 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs() 534 static int etm_enable(struct coresight_device *csdev, in etm_enable() 570 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw() 590 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf() 612 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs() 637 static void etm_disable(struct coresight_device *csdev, in etm_disable()
|
| 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, 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()
|
| 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, 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()
|
| A D | coresight-tpiu.c | 60 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()
|
| A D | coresight-cti-core.c | 157 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()
|
| 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()
|
| A D | coresight-catu.c | 332 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()
|
| A D | coresight-tmc-etr.c | 775 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()
|
| A D | coresight-etm4x-core.c | 223 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() 699 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf() 721 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs() 747 static int etm4_enable(struct coresight_device *csdev, in etm4_enable() 783 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw() 842 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf() 874 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs() 899 static void etm4_disable(struct coresight_device *csdev, in etm4_disable() [all …]
|
| 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()
|
| A D | coresight-cti-platform.c | 95 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()
|
| A D | coresight-etm4x-cfg.h | 28 int etm4_cscfg_register(struct coresight_device *csdev);
|
| A D | coresight-trbe.c | 676 static void *arm_trbe_alloc_buffer(struct coresight_device *csdev, in arm_trbe_alloc_buffer() 729 static unsigned long arm_trbe_update_buffer(struct coresight_device *csdev, in arm_trbe_update_buffer() 958 static int arm_trbe_enable(struct coresight_device *csdev, u32 mode, void *data) in arm_trbe_enable() 977 static int arm_trbe_disable(struct coresight_device *csdev) in arm_trbe_disable() 1178 struct coresight_device *trbe_csdev = coresight_get_percpu_sink(cpu); in arm_trbe_register_coresight_cpu() 1276 struct coresight_device *trbe_csdev = coresight_get_percpu_sink(cpu); in arm_trbe_remove_coresight_cpu()
|