Lines Matching refs:irq_data
209 static inline void irq_chip_write_msi_msg(struct irq_data *data, in irq_chip_write_msi_msg()
239 int msi_domain_set_affinity(struct irq_data *irq_data, in msi_domain_set_affinity() argument
242 struct irq_data *parent = irq_data->parent_data; in msi_domain_set_affinity()
248 BUG_ON(irq_chip_compose_msi_msg(irq_data, msg)); in msi_domain_set_affinity()
249 msi_check_level(irq_data->domain, msg); in msi_domain_set_affinity()
250 irq_chip_write_msi_msg(irq_data, msg); in msi_domain_set_affinity()
257 struct irq_data *irq_data, bool early) in msi_domain_activate() argument
261 BUG_ON(irq_chip_compose_msi_msg(irq_data, msg)); in msi_domain_activate()
262 msi_check_level(irq_data->domain, msg); in msi_domain_activate()
263 irq_chip_write_msi_msg(irq_data, msg); in msi_domain_activate()
268 struct irq_data *irq_data) in msi_domain_deactivate() argument
273 irq_chip_write_msi_msg(irq_data, msg); in msi_domain_deactivate()
543 struct irq_data *irq_data; in __msi_domain_alloc_irqs() local
594 irq_data = irq_domain_get_irq_data(domain, i); in __msi_domain_alloc_irqs()
596 irqd_clr_can_reserve(irq_data); in __msi_domain_alloc_irqs()
598 irqd_set_msi_nomask_quirk(irq_data); in __msi_domain_alloc_irqs()
600 ret = irq_domain_activate_irq(irq_data, can_reserve); in __msi_domain_alloc_irqs()
612 irq_data = irq_domain_get_irq_data(domain, i); in __msi_domain_alloc_irqs()
613 irqd_clr_activated(irq_data); in __msi_domain_alloc_irqs()
643 struct irq_data *irq_data; in __msi_domain_free_irqs() local
648 irq_data = irq_domain_get_irq_data(domain, i); in __msi_domain_free_irqs()
649 if (irqd_is_activated(irq_data)) in __msi_domain_free_irqs()
650 irq_domain_deactivate_irq(irq_data); in __msi_domain_free_irqs()