Lines Matching refs:d
20 static inline bool irq_needs_fixup(struct irq_data *d) in irq_needs_fixup() argument
22 const struct cpumask *m = irq_data_get_effective_affinity_mask(d); in irq_needs_fixup()
32 m = irq_data_get_affinity_mask(d); in irq_needs_fixup()
46 cpumask_pr_args(m), d->irq, cpu); in irq_needs_fixup()
55 struct irq_data *d = irq_desc_get_irq_data(desc); in migrate_one_irq() local
56 struct irq_chip *chip = irq_data_get_irq_chip(d); in migrate_one_irq()
57 bool maskchip = !irq_can_move_pcntxt(d) && !irqd_irq_masked(d); in migrate_one_irq()
68 pr_debug("IRQ %u: Unable to migrate away\n", d->irq); in migrate_one_irq()
81 if (irqd_is_per_cpu(d) || !irqd_is_started(d) || !irq_needs_fixup(d)) { in migrate_one_irq()
107 affinity = irq_data_get_affinity_mask(d); in migrate_one_irq()
111 chip->irq_mask(d); in migrate_one_irq()
118 if (irqd_affinity_is_managed(d)) { in migrate_one_irq()
119 irqd_set_managed_shutdown(d); in migrate_one_irq()
132 err = irq_do_set_affinity(d, affinity, false); in migrate_one_irq()
135 d->irq, err); in migrate_one_irq()
140 chip->irq_unmask(d); in migrate_one_irq()