Home
last modified time | relevance | path

Searched refs:pmu_device (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-iop32x/
Dpmu.c16 static struct platform_device pmu_device = { variable
25 platform_device_register(&pmu_device); in iop3xx_pmu_init()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dperf_event_cpu.c735 struct platform_device *pmu_device = nds32_pmu->plat_device; in nds32_pmu_reserve_hardware() local
737 if (!pmu_device) in nds32_pmu_reserve_hardware()
740 pm_runtime_get_sync(&pmu_device->dev); in nds32_pmu_reserve_hardware()
1074 struct platform_device *pmu_device = cpu_pmu->plat_device; in cpu_pmu_request_irq() local
1076 if (!pmu_device) in cpu_pmu_request_irq()
1079 irqs = min(pmu_device->num_resources, num_possible_cpus()); in cpu_pmu_request_irq()
1085 irq = platform_get_irq(pmu_device, 0); in cpu_pmu_request_irq()
1099 struct platform_device *pmu_device = cpu_pmu->plat_device; in cpu_pmu_free_irq() local
1101 irq = platform_get_irq(pmu_device, 0); in cpu_pmu_free_irq()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dperf_event.c1163 struct platform_device *pmu_device = csky_pmu.plat_device; in csky_pmu_request_irq() local
1165 if (!pmu_device) in csky_pmu_request_irq()
1168 irqs = min(pmu_device->num_resources, num_possible_cpus()); in csky_pmu_request_irq()
1174 csky_pmu_irq = platform_get_irq(pmu_device, 0); in csky_pmu_request_irq()
1191 struct platform_device *pmu_device = csky_pmu.plat_device; in csky_pmu_free_irq() local
1193 irq = platform_get_irq(pmu_device, 0); in csky_pmu_free_irq()
/kernel/linux/linux-5.10/drivers/perf/
Darm-cci.c831 struct platform_device *pmu_device = cci_pmu->plat_device; in pmu_request_irq() local
833 if (unlikely(!pmu_device)) in pmu_request_irq()
837 dev_err(&pmu_device->dev, "no irqs for CCI PMUs defined\n"); in pmu_request_irq()
852 dev_err(&pmu_device->dev, "unable to request IRQ%d for ARM CCI PMU counters\n", in pmu_request_irq()
/kernel/linux/linux-5.10/drivers/macintosh/
Dsmu.c1325 static struct miscdevice pmu_device = { variable
1333 if (misc_register(&pmu_device) < 0) in smu_device_init()
Dvia-pmu.c2487 static struct miscdevice pmu_device = { variable
2495 if (misc_register(&pmu_device) < 0) in pmu_device_init()