Home
last modified time | relevance | path

Searched refs:arm_pmu (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/include/linux/perf/
Darm_pmu.h72 struct arm_pmu *percpu_pmu;
85 struct arm_pmu { struct
90 irqreturn_t (*handle_irq)(struct arm_pmu *pmu); argument
101 void (*start)(struct arm_pmu *); argument
102 void (*stop)(struct arm_pmu *); argument
124 #define to_arm_pmu(p) (container_of(p, struct arm_pmu, pmu)) argument
137 typedef int (*armpmu_init_fn)(struct arm_pmu *);
171 void kvm_host_pmu_init(struct arm_pmu *pmu);
179 struct arm_pmu *armpmu_alloc(void);
180 void armpmu_free(struct arm_pmu *pmu);
[all …]
/linux-6.6.21/drivers/perf/
Darm_pmu.c102 static DEFINE_PER_CPU(struct arm_pmu *, cpu_armpmu);
202 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period()
244 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_update()
274 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop()
290 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start()
315 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del()
331 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_add()
367 struct arm_pmu *armpmu; in validate_event()
421 struct arm_pmu *armpmu; in armpmu_dispatch_irq()
446 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in __hw_perf_event_init()
[all …]
Darm_pmuv3.c275 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in armv8pmu_event_attr_is_visible()
333 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in slots_show()
345 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in bus_slots_show()
358 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu); in bus_width_show()
399 static bool armv8pmu_has_long_event(struct arm_pmu *cpu_pmu) in armv8pmu_has_long_event()
417 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv8pmu_event_is_chained()
482 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv8pmu_event_needs_bias()
706 static void armv8pmu_enable_user_access(struct arm_pmu *cpu_pmu) in armv8pmu_enable_user_access()
740 static void armv8pmu_start(struct arm_pmu *cpu_pmu) in armv8pmu_start()
760 static void armv8pmu_stop(struct arm_pmu *cpu_pmu) in armv8pmu_stop()
[all …]
Darm_pmu_acpi.c19 static DEFINE_PER_CPU(struct arm_pmu *, probed_pmus);
249 static struct arm_pmu *arm_pmu_acpi_find_pmu(void) in arm_pmu_acpi_find_pmu()
252 struct arm_pmu *pmu; in arm_pmu_acpi_find_pmu()
270 static bool pmu_irq_matches(struct arm_pmu *pmu, int irq) in pmu_irq_matches()
295 static void arm_pmu_acpi_associate_pmu_cpu(struct arm_pmu *pmu, in arm_pmu_acpi_associate_pmu_cpu()
322 struct arm_pmu *pmu; in arm_pmu_acpi_cpu_starting()
339 static void arm_pmu_acpi_probe_matching_cpus(struct arm_pmu *pmu, in arm_pmu_acpi_probe_matching_cpus()
382 struct arm_pmu *pmu = per_cpu(probed_pmus, cpu); in arm_pmu_acpi_probe()
Darm_pmu_platform.c25 static int probe_current_pmu(struct arm_pmu *pmu, in probe_current_pmu()
45 static int pmu_parse_percpu_irq(struct arm_pmu *pmu, int irq) in pmu_parse_percpu_irq()
95 static int pmu_parse_irqs(struct arm_pmu *pmu) in pmu_parse_irqs()
156 static int armpmu_request_irqs(struct arm_pmu *armpmu) in armpmu_request_irqs()
174 static void armpmu_free_irqs(struct arm_pmu *armpmu) in armpmu_free_irqs()
192 struct arm_pmu *pmu; in arm_pmu_device_probe()
Dapple_m1_cpu_pmu.c382 static irqreturn_t m1_pmu_handle_irq(struct arm_pmu *cpu_pmu) in m1_pmu_handle_irq()
475 static void m1_pmu_start(struct arm_pmu *cpu_pmu) in m1_pmu_start()
480 static void m1_pmu_stop(struct arm_pmu *cpu_pmu) in m1_pmu_stop()
539 static int m1_pmu_init(struct arm_pmu *cpu_pmu, u32 flags) in m1_pmu_init()
568 static int m1_pmu_ice_init(struct arm_pmu *cpu_pmu) in m1_pmu_ice_init()
574 static int m1_pmu_fire_init(struct arm_pmu *cpu_pmu) in m1_pmu_fire_init()
580 static int m2_pmu_avalanche_init(struct arm_pmu *cpu_pmu) in m2_pmu_avalanche_init()
586 static int m2_pmu_blizzard_init(struct arm_pmu *cpu_pmu) in m2_pmu_blizzard_init()
DMakefile6 obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o
/linux-6.6.21/arch/arm64/kvm/
Dpmu-emul.c485 struct arm_pmu *cpu_pmu = to_arm_pmu(perf_event->pmu); in kvm_pmu_perf_overflow()
583 struct arm_pmu *arm_pmu = vcpu->kvm->arch.arm_pmu; in kvm_pmu_create_perf_event() local
614 attr.type = arm_pmu->pmu.type; in kvm_pmu_create_perf_event()
676 void kvm_host_pmu_init(struct arm_pmu *pmu) in kvm_host_pmu_init()
693 entry->arm_pmu = pmu; in kvm_host_pmu_init()
703 static struct arm_pmu *kvm_pmu_probe_armpmu(void) in kvm_pmu_probe_armpmu()
705 struct arm_pmu *tmp, *pmu = NULL; in kvm_pmu_probe_armpmu()
731 tmp = entry->arm_pmu; in kvm_pmu_probe_armpmu()
881 struct arm_pmu *arm_pmu; in kvm_arm_pmu_v3_set_pmu() local
888 arm_pmu = entry->arm_pmu; in kvm_arm_pmu_v3_set_pmu()
[all …]
/linux-6.6.21/arch/arm/kernel/
Dperf_event_v6.c272 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6pmu_enable_event()
306 armv6pmu_handle_irq(struct arm_pmu *cpu_pmu) in armv6pmu_handle_irq()
363 static void armv6pmu_start(struct arm_pmu *cpu_pmu) in armv6pmu_start()
375 static void armv6pmu_stop(struct arm_pmu *cpu_pmu) in armv6pmu_stop()
423 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6pmu_disable_event()
458 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6mpcore_pmu_disable_event()
492 static void armv6pmu_init(struct arm_pmu *cpu_pmu) in armv6pmu_init()
507 static int armv6_1136_pmu_init(struct arm_pmu *cpu_pmu) in armv6_1136_pmu_init()
514 static int armv6_1156_pmu_init(struct arm_pmu *cpu_pmu) in armv6_1156_pmu_init()
521 static int armv6_1176_pmu_init(struct arm_pmu *cpu_pmu) in armv6_1176_pmu_init()
[all …]
Dperf_event_v7.c728 static inline int armv7_pmnc_counter_valid(struct arm_pmu *cpu_pmu, int idx) in armv7_pmnc_counter_valid()
748 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_read_counter()
768 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_write_counter()
833 static void armv7_pmnc_dump_regs(struct arm_pmu *cpu_pmu) in armv7_pmnc_dump_regs()
875 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_enable_event()
921 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_disable_event()
949 static irqreturn_t armv7pmu_handle_irq(struct arm_pmu *cpu_pmu) in armv7pmu_handle_irq()
1010 static void armv7pmu_start(struct arm_pmu *cpu_pmu) in armv7pmu_start()
1021 static void armv7pmu_stop(struct arm_pmu *cpu_pmu) in armv7pmu_stop()
1036 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_get_event_idx()
[all …]
Dperf_event_xscale.c145 xscale1pmu_handle_irq(struct arm_pmu *cpu_pmu) in xscale1pmu_handle_irq()
207 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale1pmu_enable_event()
243 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale1pmu_disable_event()
301 static void xscale1pmu_start(struct arm_pmu *cpu_pmu) in xscale1pmu_start()
313 static void xscale1pmu_stop(struct arm_pmu *cpu_pmu) in xscale1pmu_stop()
370 static int xscale1pmu_init(struct arm_pmu *cpu_pmu) in xscale1pmu_init()
497 xscale2pmu_handle_irq(struct arm_pmu *cpu_pmu) in xscale2pmu_handle_irq()
553 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale2pmu_enable_event()
599 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale2pmu_disable_event()
664 static void xscale2pmu_start(struct arm_pmu *cpu_pmu) in xscale2pmu_start()
[all …]
/linux-6.6.21/include/kvm/
Darm_pmu.h38 struct arm_pmu *arm_pmu; member
/linux-6.6.21/arch/arm64/boot/dts/realtek/
Drtd1293.dtsi51 &arm_pmu {
Drtd1395.dtsi65 &arm_pmu {
Drtd1295.dtsi65 &arm_pmu {
Drtd1296.dtsi65 &arm_pmu {
Drtd139x.dtsi38 arm_pmu: arm-pmu { label
Drtd129x.dtsi39 arm_pmu: arm-pmu { label
Drtd16xx.dtsi111 arm_pmu: pmu { label
/linux-6.6.21/arch/arm64/include/asm/
Dkvm_host.h256 struct arm_pmu *arm_pmu; member
/linux-6.6.21/
DMAINTAINERS1676 F: include/linux/perf/arm_pmu*.h