/kernel/linux/linux-5.10/drivers/perf/ |
H A D | arm-cci.c | 41 #define CCI_PMU_CNTR_LAST(cci_pmu) (cci_pmu->num_cntrs - 1) 77 struct cci_pmu; 92 int (*validate_hw_event)(struct cci_pmu *, unsigned long); 93 int (*get_event_idx)(struct cci_pmu *, struct cci_pmu_hw_events *, unsigned long); 94 void (*write_counters)(struct cci_pmu *, unsigned long *); 99 struct cci_pmu { struct 115 #define to_cci_pmu(c) (container_of(c, struct cci_pmu, pmu)) 117 static struct cci_pmu *g_cci_pmu; 131 static void pmu_write_counters(struct cci_pmu *cci_pm 312 cci400_get_event_idx(struct cci_pmu *cci_pmu, struct cci_pmu_hw_events *hw, unsigned long cci_event) cci400_get_event_idx() argument 334 cci400_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) cci400_validate_hw_event() argument 372 probe_cci400_revision(struct cci_pmu *cci_pmu) probe_cci400_revision() argument 384 probe_cci_model(struct cci_pmu *cci_pmu) probe_cci_model() argument 391 probe_cci_model(struct cci_pmu *cci_pmu) probe_cci_model() argument 541 cci500_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) cci500_validate_hw_event() argument 592 cci550_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) cci550_validate_hw_event() argument 642 cci_pmu_sync_counters(struct cci_pmu *cci_pmu) cci_pmu_sync_counters() argument 668 __cci_pmu_enable_nosync(struct cci_pmu *cci_pmu) __cci_pmu_enable_nosync() argument 678 __cci_pmu_enable_sync(struct cci_pmu *cci_pmu) __cci_pmu_enable_sync() argument 685 __cci_pmu_disable(struct cci_pmu *cci_pmu) __cci_pmu_disable() argument 712 pmu_is_valid_counter(struct cci_pmu *cci_pmu, int idx) pmu_is_valid_counter() argument 717 pmu_read_register(struct cci_pmu *cci_pmu, int idx, unsigned int offset) pmu_read_register() argument 723 pmu_write_register(struct cci_pmu *cci_pmu, u32 value, int idx, unsigned int offset) pmu_write_register() argument 730 pmu_disable_counter(struct cci_pmu *cci_pmu, int idx) pmu_disable_counter() argument 735 pmu_enable_counter(struct cci_pmu *cci_pmu, int idx) pmu_enable_counter() argument 741 pmu_counter_is_enabled(struct cci_pmu *cci_pmu, int idx) pmu_counter_is_enabled() argument 746 pmu_set_event(struct cci_pmu *cci_pmu, int idx, unsigned long event) pmu_set_event() argument 764 pmu_save_counters(struct cci_pmu *cci_pmu, unsigned long *mask) pmu_save_counters() argument 781 pmu_restore_counters(struct cci_pmu *cci_pmu, unsigned long *mask) pmu_restore_counters() argument 793 pmu_get_max_counters(struct cci_pmu *cci_pmu) pmu_get_max_counters() argument 801 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); pmu_get_event_idx() local 819 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); pmu_map_event() local 828 pmu_request_irq(struct cci_pmu *cci_pmu, irq_handler_t handler) pmu_request_irq() argument 863 pmu_free_irq(struct cci_pmu *cci_pmu) pmu_free_irq() argument 877 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); pmu_read_counter() local 891 pmu_write_counter(struct cci_pmu *cci_pmu, u32 value, int idx) pmu_write_counter() argument 896 __pmu_write_counters(struct cci_pmu *cci_pmu, unsigned long *mask) __pmu_write_counters() argument 910 pmu_write_counters(struct cci_pmu *cci_pmu, unsigned long *mask) pmu_write_counters() argument 949 cci5xx_pmu_write_counters(struct cci_pmu *cci_pmu, unsigned long *mask) cci5xx_pmu_write_counters() argument 1030 struct cci_pmu *cci_pmu = dev; pmu_handle_irq() local 1069 cci_pmu_get_hw(struct cci_pmu *cci_pmu) cci_pmu_get_hw() argument 1079 cci_pmu_put_hw(struct cci_pmu *cci_pmu) cci_pmu_put_hw() argument 1086 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); hw_perf_event_destroy() local 1098 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); cci_pmu_enable() local 1114 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); cci_pmu_disable() local 1128 pmu_fixed_hw_idx(struct cci_pmu *cci_pmu, int idx) pmu_fixed_hw_idx() argument 1135 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_start() local 1169 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_stop() local 1192 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_add() local 1217 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_del() local 1229 validate_event(struct pmu *cci_pmu, struct cci_pmu_hw_events *hw_events, struct perf_event *event) validate_event() argument 1256 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); validate_group() local 1319 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_event_init() local 1366 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); pmu_cpumask_attr_show() local 1400 cci_pmu_init(struct cci_pmu *cci_pmu, struct platform_device *pdev) cci_pmu_init() argument 1597 struct cci_pmu *cci_pmu; cci_pmu_alloc() local 1645 struct cci_pmu *cci_pmu; cci_pmu_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | arm-cci.c | 38 #define CCI_PMU_CNTR_LAST(cci_pmu) (cci_pmu->num_cntrs - 1) 74 struct cci_pmu; 89 int (*validate_hw_event)(struct cci_pmu *, unsigned long); 90 int (*get_event_idx)(struct cci_pmu *, struct cci_pmu_hw_events *, unsigned long); 91 void (*write_counters)(struct cci_pmu *, unsigned long *); 96 struct cci_pmu { struct 112 #define to_cci_pmu(c) (container_of(c, struct cci_pmu, pmu)) 114 static struct cci_pmu *g_cci_pmu; 128 static void pmu_write_counters(struct cci_pmu *cci_pm 309 cci400_get_event_idx(struct cci_pmu *cci_pmu, struct cci_pmu_hw_events *hw, unsigned long cci_event) cci400_get_event_idx() argument 331 cci400_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) cci400_validate_hw_event() argument 369 probe_cci400_revision(struct cci_pmu *cci_pmu) probe_cci400_revision() argument 381 probe_cci_model(struct cci_pmu *cci_pmu) probe_cci_model() argument 388 probe_cci_model(struct cci_pmu *cci_pmu) probe_cci_model() argument 538 cci500_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) cci500_validate_hw_event() argument 589 cci550_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) cci550_validate_hw_event() argument 639 cci_pmu_sync_counters(struct cci_pmu *cci_pmu) cci_pmu_sync_counters() argument 665 __cci_pmu_enable_nosync(struct cci_pmu *cci_pmu) __cci_pmu_enable_nosync() argument 675 __cci_pmu_enable_sync(struct cci_pmu *cci_pmu) __cci_pmu_enable_sync() argument 682 __cci_pmu_disable(struct cci_pmu *cci_pmu) __cci_pmu_disable() argument 709 pmu_is_valid_counter(struct cci_pmu *cci_pmu, int idx) pmu_is_valid_counter() argument 714 pmu_read_register(struct cci_pmu *cci_pmu, int idx, unsigned int offset) pmu_read_register() argument 720 pmu_write_register(struct cci_pmu *cci_pmu, u32 value, int idx, unsigned int offset) pmu_write_register() argument 727 pmu_disable_counter(struct cci_pmu *cci_pmu, int idx) pmu_disable_counter() argument 732 pmu_enable_counter(struct cci_pmu *cci_pmu, int idx) pmu_enable_counter() argument 738 pmu_counter_is_enabled(struct cci_pmu *cci_pmu, int idx) pmu_counter_is_enabled() argument 743 pmu_set_event(struct cci_pmu *cci_pmu, int idx, unsigned long event) pmu_set_event() argument 761 pmu_save_counters(struct cci_pmu *cci_pmu, unsigned long *mask) pmu_save_counters() argument 778 pmu_restore_counters(struct cci_pmu *cci_pmu, unsigned long *mask) pmu_restore_counters() argument 790 pmu_get_max_counters(struct cci_pmu *cci_pmu) pmu_get_max_counters() argument 798 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); pmu_get_event_idx() local 816 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); pmu_map_event() local 825 pmu_request_irq(struct cci_pmu *cci_pmu, irq_handler_t handler) pmu_request_irq() argument 860 pmu_free_irq(struct cci_pmu *cci_pmu) pmu_free_irq() argument 874 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); pmu_read_counter() local 888 pmu_write_counter(struct cci_pmu *cci_pmu, u32 value, int idx) pmu_write_counter() argument 893 __pmu_write_counters(struct cci_pmu *cci_pmu, unsigned long *mask) __pmu_write_counters() argument 907 pmu_write_counters(struct cci_pmu *cci_pmu, unsigned long *mask) pmu_write_counters() argument 946 cci5xx_pmu_write_counters(struct cci_pmu *cci_pmu, unsigned long *mask) cci5xx_pmu_write_counters() argument 1026 struct cci_pmu *cci_pmu = dev; pmu_handle_irq() local 1065 cci_pmu_get_hw(struct cci_pmu *cci_pmu) cci_pmu_get_hw() argument 1075 cci_pmu_put_hw(struct cci_pmu *cci_pmu) cci_pmu_put_hw() argument 1082 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); hw_perf_event_destroy() local 1094 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); cci_pmu_enable() local 1110 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); cci_pmu_disable() local 1124 pmu_fixed_hw_idx(struct cci_pmu *cci_pmu, int idx) pmu_fixed_hw_idx() argument 1131 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_start() local 1165 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_stop() local 1188 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_add() local 1213 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_del() local 1225 validate_event(struct pmu *cci_pmu, struct cci_pmu_hw_events *hw_events, struct perf_event *event) validate_event() argument 1252 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); validate_group() local 1315 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); cci_pmu_event_init() local 1362 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); pmu_cpumask_attr_show() local 1396 cci_pmu_init(struct cci_pmu *cci_pmu, struct platform_device *pdev) cci_pmu_init() argument 1593 struct cci_pmu *cci_pmu; cci_pmu_alloc() local 1640 struct cci_pmu *cci_pmu; cci_pmu_probe() local [all...] |