Lines Matching refs:hw_irq
44 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_unmask_irq() local
48 pr_devel("ics-hal: unmask virq %d [hw 0x%x]\n", d->irq, hw_irq); in ics_opal_unmask_irq()
50 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) in ics_opal_unmask_irq()
56 rc = opal_set_xive(hw_irq, server, DEFAULT_PRIORITY); in ics_opal_unmask_irq()
60 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq()
80 static void ics_opal_mask_real_irq(unsigned int hw_irq) in ics_opal_mask_real_irq() argument
85 if (hw_irq == XICS_IPI) in ics_opal_mask_real_irq()
89 rc = opal_set_xive(hw_irq, server, 0xff); in ics_opal_mask_real_irq()
92 __func__, hw_irq, rc); in ics_opal_mask_real_irq()
97 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_mask_irq() local
99 pr_devel("ics-hal: mask virq %d [hw 0x%x]\n", d->irq, hw_irq); in ics_opal_mask_irq()
101 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) in ics_opal_mask_irq()
103 ics_opal_mask_real_irq(hw_irq); in ics_opal_mask_irq()
110 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_set_affinity() local
117 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) in ics_opal_set_affinity()
120 rc = opal_get_xive(hw_irq, &oserver, &priority); in ics_opal_set_affinity()
123 __func__, d->irq, hw_irq, rc); in ics_opal_set_affinity()
137 d->irq, hw_irq, wanted_server, server); in ics_opal_set_affinity()
139 rc = opal_set_xive(hw_irq, server, priority); in ics_opal_set_affinity()
143 __func__, d->irq, hw_irq, server, rc); in ics_opal_set_affinity()
179 unsigned int hw_irq = (unsigned int)virq_to_hw(virq); in ics_opal_map() local
184 if (WARN_ON(hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS)) in ics_opal_map()
188 rc = opal_get_xive(hw_irq, &server, &priority); in ics_opal_map()