Home
last modified time | relevance | path

Searched refs:new_affinity (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/mips/loongson64/loongson-3/
Dirq.c23 struct cpumask new_affinity; in plat_set_irq_affinity() local
26 cpumask_copy(&new_affinity, affinity); in plat_set_irq_affinity()
29 cpumask_clear_cpu(cpu, &new_affinity); in plat_set_irq_affinity()
31 if (cpumask_empty(&new_affinity)) in plat_set_irq_affinity()
34 cpumask_copy(d->common->affinity, &new_affinity); in plat_set_irq_affinity()
/Linux-v4.19/drivers/irqchip/
Dirq-bcm7038-l1.c225 cpumask_t new_affinity; in bcm7038_l1_cpu_offline() local
236 cpumask_copy(&new_affinity, mask); in bcm7038_l1_cpu_offline()
237 cpumask_clear_cpu(cpu, &new_affinity); in bcm7038_l1_cpu_offline()
240 cpumask_clear(&new_affinity); in bcm7038_l1_cpu_offline()
241 cpumask_set_cpu(cpumask_first(cpu_online_mask), &new_affinity); in bcm7038_l1_cpu_offline()
243 irq_set_affinity_locked(d, &new_affinity, false); in bcm7038_l1_cpu_offline()
/Linux-v4.19/arch/mips/cavium-octeon/
Docteon-irq.c760 cpumask_t new_affinity; in octeon_irq_cpu_offline_ciu() local
771 cpumask_copy(&new_affinity, mask); in octeon_irq_cpu_offline_ciu()
772 cpumask_clear_cpu(cpu, &new_affinity); in octeon_irq_cpu_offline_ciu()
775 cpumask_clear(&new_affinity); in octeon_irq_cpu_offline_ciu()
776 cpumask_set_cpu(cpumask_first(cpu_online_mask), &new_affinity); in octeon_irq_cpu_offline_ciu()
778 irq_set_affinity_locked(data, &new_affinity, false); in octeon_irq_cpu_offline_ciu()