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 int xmon_xive_get_irq_config(u32 hw_irq, struct irq_data *d) in xmon_xive_get_irq_config() argument
275 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); in xmon_xive_get_irq_config()
277 xmon_printf("IRQ 0x%08x : no config rc=%d\n", hw_irq, rc); in xmon_xive_get_irq_config()
282 hw_irq, target, prio, lirq); in xmon_xive_get_irq_config()
359 static void xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd) in xive_do_source_eoi() argument
365 else if (hw_irq && xd->flags & XIVE_IRQ_FLAG_EOI_FW) { in xive_do_source_eoi()
375 xive_ops->eoi(hw_irq); in xive_do_source_eoi()
600 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_startup() local
606 d->irq, hw_irq, d); in xive_irq_startup()
639 rc = xive_ops->configure_irq(hw_irq, in xive_irq_startup()
655 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_shutdown() local
658 d->irq, hw_irq, d); in xive_irq_shutdown()
670 xive_ops->configure_irq(hw_irq, in xive_irq_shutdown()
691 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_unmask() local
692 xive_ops->configure_irq(hw_irq, in xive_irq_unmask()
714 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_mask() local
715 xive_ops->configure_irq(hw_irq, in xive_irq_mask()
729 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_set_affinity() local
770 rc = xive_ops->configure_irq(hw_irq, in xive_irq_set_affinity()
859 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_set_vcpu_affinity() local
923 xive_ops->sync_source(hw_irq); in xive_irq_set_vcpu_affinity()
940 xive_ops->sync_source(hw_irq); in xive_irq_set_vcpu_affinity()
950 rc = xive_ops->configure_irq(hw_irq, in xive_irq_set_vcpu_affinity()
969 xive_do_source_eoi(hw_irq, xd); in xive_irq_set_vcpu_affinity()
1268 unsigned int hw_irq; in xive_irq_domain_unmap() local
1273 hw_irq = (unsigned int)irqd_to_hwirq(data); in xive_irq_domain_unmap()
1274 if (hw_irq) in xive_irq_domain_unmap()
1418 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_flush_cpu_queue() local
1424 if (d->domain != xive_irq_domain || hw_irq == 0) in xive_flush_cpu_queue()
1602 static void xive_debug_show_irq(struct seq_file *m, u32 hw_irq, struct irq_data *d) in xive_debug_show_irq() argument
1613 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); in xive_debug_show_irq()
1615 seq_printf(m, "IRQ 0x%08x : no config rc=%d\n", hw_irq, rc); in xive_debug_show_irq()
1620 hw_irq, target, prio, lirq); in xive_debug_show_irq()
1650 unsigned int hw_irq; in xive_core_debug_show() local
1655 hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_core_debug_show()
1658 if (hw_irq) in xive_core_debug_show()
1659 xive_debug_show_irq(m, hw_irq, d); in xive_core_debug_show()