Searched refs:pmu_device (Results 1 – 4 of 4) sorted by relevance
1163 struct platform_device *pmu_device = csky_pmu.plat_device; in csky_pmu_request_irq() local1165 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() local1193 irq = platform_get_irq(pmu_device, 0); in csky_pmu_free_irq()
828 struct platform_device *pmu_device = cci_pmu->plat_device; in pmu_request_irq() local830 if (unlikely(!pmu_device)) in pmu_request_irq()834 dev_err(&pmu_device->dev, "no irqs for CCI PMUs defined\n"); in pmu_request_irq()849 dev_err(&pmu_device->dev, "unable to request IRQ%d for ARM CCI PMU counters\n", in pmu_request_irq()
1325 static struct miscdevice pmu_device = { variable1333 if (misc_register(&pmu_device) < 0) in smu_device_init()
2479 static struct miscdevice pmu_device = { variable2487 if (misc_register(&pmu_device) < 0) in pmu_device_init()