Lines Matching refs:irq_num
77 unsigned int irq_num; member
339 static irqreturn_t dmc620_pmu_handle_irq(int irq_num, void *data) in dmc620_pmu_handle_irq() argument
399 static struct dmc620_pmu_irq *__dmc620_pmu_get_irq(int irq_num) in __dmc620_pmu_get_irq() argument
405 if (irq->irq_num == irq_num && refcount_inc_not_zero(&irq->refcount)) in __dmc620_pmu_get_irq()
418 ret = request_irq(irq_num, dmc620_pmu_handle_irq, in __dmc620_pmu_get_irq()
424 ret = irq_set_affinity(irq_num, cpumask_of(irq->cpu)); in __dmc620_pmu_get_irq()
432 irq->irq_num = irq_num; in __dmc620_pmu_get_irq()
438 free_irq(irq_num, irq); in __dmc620_pmu_get_irq()
444 static int dmc620_pmu_get_irq(struct dmc620_pmu *dmc620_pmu, int irq_num) in dmc620_pmu_get_irq() argument
449 irq = __dmc620_pmu_get_irq(irq_num); in dmc620_pmu_get_irq()
478 free_irq(irq->irq_num, irq); in dmc620_pmu_put_irq()
624 WARN_ON(irq_set_affinity(irq->irq_num, cpumask_of(target))); in dmc620_pmu_cpu_teardown()
635 int irq_num; in dmc620_pmu_device_probe() local
669 irq_num = platform_get_irq(pdev, 0); in dmc620_pmu_device_probe()
670 if (irq_num < 0) in dmc620_pmu_device_probe()
671 return irq_num; in dmc620_pmu_device_probe()
673 ret = dmc620_pmu_get_irq(dmc620_pmu, irq_num); in dmc620_pmu_device_probe()