| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | coresight.h | 182 struct coresight_device *child_dev; 194 struct coresight_device *orig; 196 struct coresight_device *target; 224 struct coresight_device { struct 237 struct coresight_device *def_sink; argument 239 struct coresight_device *ect_dev; argument 268 #define to_coresight_device(d) container_of(d, struct coresight_device, dev) 286 int (*enable)(struct coresight_device *csdev, u32 mode, void *data); 287 int (*disable)(struct coresight_device *csdev); 288 void *(*alloc_buffer)(struct coresight_device *csdev, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A D | coresight-core.c | 26 static DEFINE_PER_CPU(struct coresight_device *, csdev_sink); 34 struct coresight_device *csdev; 74 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink() 80 struct coresight_device *coresight_get_percpu_sink(int cpu) in coresight_get_percpu_sink() 89 struct coresight_device *csdev, *i_csdev; in coresight_id_match() 113 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique() 125 static int coresight_find_link_inport(struct coresight_device *csdev, in coresight_find_link_inport() 126 struct coresight_device *parent) in coresight_find_link_inport() 143 static int coresight_find_link_outport(struct coresight_device *csdev, in coresight_find_link_outport() 144 struct coresight_device *child) in coresight_find_link_outport() [all …]
|
| H A D | coresight-priv.h | 151 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 …]
|
| H A D | coresight-etm-perf.h | 13 struct coresight_device; 61 int etm_perf_symlink(struct coresight_device *csdev, bool link); 62 int etm_perf_add_symlink_sink(struct coresight_device *csdev); 63 void etm_perf_del_symlink_sink(struct coresight_device *csdev); 73 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() 75 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink() 77 void etm_perf_del_symlink_sink(struct coresight_device *csdev) {} in etm_perf_del_symlink_sink()
|
| 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() 193 void coresight_remove_links(struct coresight_device *orig, in coresight_remove_links()
|
| 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); 219 int cti_disable(struct coresight_device *csdev);
|
| H A D | coresight-etm-perf.c | 47 static DEFINE_PER_CPU(struct coresight_device *, csdev_src); 174 struct coresight_device *sink; in free_sink_buffer() 259 static bool sinks_compatible(struct coresight_device *a, in sinks_compatible() 260 struct coresight_device *b) in sinks_compatible() 279 struct coresight_device *sink = NULL; in etm_setup_aux() 280 struct coresight_device *user_sink = NULL, *last_sink = NULL; in etm_setup_aux() 305 struct coresight_device *csdev; in etm_setup_aux() 400 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() 464 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() 625 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink() [all …]
|
| H 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 …]
|
| 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, 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()
|
| H 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()
|
| 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, 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()
|
| 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, 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()
|
| H 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()
|
| H A D | coresight-cti-core.c | 153 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() 579 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev() 654 struct coresight_device *csdev; in cti_cpu_pm_notify() 790 int cti_enable(struct coresight_device *csdev) in cti_enable() 797 int cti_disable(struct coresight_device *csdev) in cti_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-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()
|
| H A D | coresight-tmc-etr.c | 777 struct coresight_device * 781 struct coresight_device *tmp, *etr = drvdata->csdev; in tmc_etr_get_catu_device() 799 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_enable_catu() 808 struct coresight_device *catu = tmc_etr_get_catu_device(drvdata); in tmc_etr_disable_catu() 1160 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs() 1398 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer() 1513 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer() 1604 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etr_sink_perf() 1659 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink() 1673 static int tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
|
| H A D | coresight-trbe.c | 486 static void *arm_trbe_alloc_buffer(struct coresight_device *csdev, in arm_trbe_alloc_buffer() 539 static unsigned long arm_trbe_update_buffer(struct coresight_device *csdev, in arm_trbe_update_buffer() 639 static int arm_trbe_enable(struct coresight_device *csdev, u32 mode, void *data) in arm_trbe_enable() 665 static int arm_trbe_disable(struct coresight_device *csdev) in arm_trbe_disable() 865 struct coresight_device *trbe_csdev = coresight_get_percpu_sink(cpu); in arm_trbe_register_coresight_cpu() 937 struct coresight_device *trbe_csdev = coresight_get_percpu_sink(cpu); in arm_trbe_remove_coresight_cpu()
|
| H 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()
|
| H A D | coresight-etm4x-core.c | 221 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id() 228 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id() 374 struct coresight_device *csdev = drvdata->csdev; in etm4_enable_hw() 685 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf() 707 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs() 733 static int etm4_enable(struct coresight_device *csdev, in etm4_enable() 769 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw() 828 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf() 853 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs() 878 static void etm4_disable(struct coresight_device *csdev, in etm4_disable() [all …]
|
| H A D | coresight-tmc.h | 190 struct coresight_device *csdev; 327 struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata);
|
| H A D | coresight-stm.c | 134 struct coresight_device *csdev; 194 static int stm_enable(struct coresight_device *csdev, in stm_enable() 257 static void stm_disable(struct coresight_device *csdev, in stm_disable() 283 static int stm_trace_id(struct coresight_device *csdev) in stm_trace_id()
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/ |
| H A D | coresight_mali_common.h | 104 struct coresight_device *csdev; 122 int coresight_mali_enable_component(struct coresight_device *csdev, u32 mode); 131 int coresight_mali_disable_component(struct coresight_device *csdev);
|
| H A D | coresight_mali_common.c | 28 int coresight_mali_enable_component(struct coresight_device *csdev, u32 mode) in coresight_mali_enable_component() 50 int coresight_mali_disable_component(struct coresight_device *csdev) in coresight_mali_disable_component()
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/sources/ |
| H A D | coresight_mali_sources.c | 34 static int coresight_mali_source_trace_id(struct coresight_device *csdev) in coresight_mali_source_trace_id() 41 static int coresight_mali_enable_source(struct coresight_device *csdev, struct perf_event *event, in coresight_mali_enable_source() 47 static void coresight_mali_disable_source(struct coresight_device *csdev, struct perf_event *event) in coresight_mali_disable_source()
|