Lines Matching refs:hw_irq

208 		val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0);  in xive_esb_read()
222 xive_ops->esb_rw(xd->hw_irq, offset, data, 1); in xive_esb_write()
264 static struct irq_data *xive_get_irq_data(u32 hw_irq) in xive_get_irq_data() argument
266 unsigned int irq = irq_find_mapping(xive_irq_domain, hw_irq); in xive_get_irq_data()
271 int xmon_xive_get_irq_config(u32 hw_irq, struct irq_data *d) in xmon_xive_get_irq_config() argument
278 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); in xmon_xive_get_irq_config()
280 xmon_printf("IRQ 0x%08x : no config rc=%d\n", hw_irq, rc); in xmon_xive_get_irq_config()
285 hw_irq, target, prio, lirq); in xmon_xive_get_irq_config()
288 d = xive_get_irq_data(hw_irq); in xmon_xive_get_irq_config()
365 static void xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd) in xive_do_source_eoi() argument
371 else if (hw_irq && xd->flags & XIVE_IRQ_FLAG_EOI_FW) { in xive_do_source_eoi()
381 xive_ops->eoi(hw_irq); in xive_do_source_eoi()
606 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_startup() local
612 d->irq, hw_irq, d); in xive_irq_startup()
645 rc = xive_ops->configure_irq(hw_irq, in xive_irq_startup()
661 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_shutdown() local
664 d->irq, hw_irq, d); in xive_irq_shutdown()
676 xive_ops->configure_irq(hw_irq, in xive_irq_shutdown()
697 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_unmask() local
698 xive_ops->configure_irq(hw_irq, in xive_irq_unmask()
720 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_mask() local
721 xive_ops->configure_irq(hw_irq, in xive_irq_mask()
735 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_set_affinity() local
776 rc = xive_ops->configure_irq(hw_irq, in xive_irq_set_affinity()
865 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_set_vcpu_affinity() local
929 xive_ops->sync_source(hw_irq); in xive_irq_set_vcpu_affinity()
946 xive_ops->sync_source(hw_irq); in xive_irq_set_vcpu_affinity()
956 rc = xive_ops->configure_irq(hw_irq, in xive_irq_set_vcpu_affinity()
975 xive_do_source_eoi(hw_irq, xd); in xive_irq_set_vcpu_affinity()
1275 unsigned int hw_irq; in xive_irq_domain_unmap() local
1280 hw_irq = (unsigned int)irqd_to_hwirq(data); in xive_irq_domain_unmap()
1281 if (hw_irq) in xive_irq_domain_unmap()
1425 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_flush_cpu_queue() local
1431 if (d->domain != xive_irq_domain || hw_irq == 0) in xive_flush_cpu_queue()
1609 static void xive_debug_show_irq(struct seq_file *m, u32 hw_irq, struct irq_data *d) in xive_debug_show_irq() argument
1622 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); in xive_debug_show_irq()
1624 seq_printf(m, "IRQ 0x%08x : no config rc=%d\n", hw_irq, rc); in xive_debug_show_irq()
1629 hw_irq, target, prio, lirq); in xive_debug_show_irq()
1656 unsigned int hw_irq; in xive_core_debug_show() local
1661 hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_core_debug_show()
1664 if (hw_irq) in xive_core_debug_show()
1665 xive_debug_show_irq(m, hw_irq, d); in xive_core_debug_show()