Lines Matching refs:d
195 struct irq_data *d = irq_desc_get_irq_data(desc); in __irq_startup_managed() local
197 if (!irqd_affinity_is_managed(d)) in __irq_startup_managed()
200 irqd_clr_managed_shutdown(d); in __irq_startup_managed()
223 if (WARN_ON(irq_domain_activate_irq(d, false))) in __irq_startup_managed()
238 struct irq_data *d = irq_desc_get_irq_data(desc); in __irq_startup() local
242 WARN_ON_ONCE(!irqd_is_activated(d)); in __irq_startup()
244 if (d->chip->irq_startup) { in __irq_startup()
245 ret = d->chip->irq_startup(d); in __irq_startup()
257 struct irq_data *d = irq_desc_get_irq_data(desc); in irq_startup() local
258 const struct cpumask *aff = irq_data_get_affinity_mask(d); in irq_startup()
263 if (irqd_is_started(d)) { in irq_startup()
268 if (d->chip->flags & IRQCHIP_AFFINITY_PRE_STARTUP) in irq_startup()
271 if (!(d->chip->flags & IRQCHIP_AFFINITY_PRE_STARTUP)) in irq_startup()
275 irq_do_set_affinity(d, aff, false); in irq_startup()
279 irqd_set_managed_shutdown(d); in irq_startup()
291 struct irq_data *d = irq_desc_get_irq_data(desc); in irq_activate() local
293 if (!irqd_affinity_is_managed(d)) in irq_activate()
294 return irq_domain_activate_irq(d, false); in irq_activate()