Lines Matching refs:irqs
625 int i, irq, irqs; in cpu_pmu_free_irq() local
629 irqs = min(pmu_device->num_resources, num_possible_cpus()); in cpu_pmu_free_irq()
637 for (i = 0; i < irqs; ++i) { in cpu_pmu_free_irq()
654 int i, err, irq, irqs; in cpu_pmu_request_irq() local
661 irqs = min(pmu_device->num_resources, num_possible_cpus()); in cpu_pmu_request_irq()
662 if (irqs < 1) { in cpu_pmu_request_irq()
680 for (i = 0; i < irqs; ++i) { in cpu_pmu_request_irq()
696 if (irq_set_affinity(irq, cpumask_of(cpu)) && irqs > 1) { in cpu_pmu_request_irq()
922 int *irqs, i = 0; in of_pmu_irq_cfg() local
926 irqs = kcalloc(pdev->num_resources, sizeof(*irqs), GFP_KERNEL); in of_pmu_irq_cfg()
927 if (!irqs) in of_pmu_irq_cfg()
948 kfree(irqs); in of_pmu_irq_cfg()
980 irqs[i] = cpu; in of_pmu_irq_cfg()
998 kfree(irqs); in of_pmu_irq_cfg()
1009 pmu->irq_affinity = irqs; in of_pmu_irq_cfg()
1011 kfree(irqs); in of_pmu_irq_cfg()