Lines Matching refs:hw_irq

29 	unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d);  in ics_rtas_unmask_irq()  local
33 pr_devel("xics: unmask virq %d [hw 0x%x]\n", d->irq, hw_irq); in ics_rtas_unmask_irq()
35 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) in ics_rtas_unmask_irq()
40 call_status = rtas_call_reentrant(ibm_set_xive, 3, 1, NULL, hw_irq, in ics_rtas_unmask_irq()
45 __func__, hw_irq, server, call_status); in ics_rtas_unmask_irq()
50 call_status = rtas_call_reentrant(ibm_int_on, 1, 1, NULL, hw_irq); in ics_rtas_unmask_irq()
53 __func__, hw_irq, call_status); in ics_rtas_unmask_irq()
65 static void ics_rtas_mask_real_irq(unsigned int hw_irq) in ics_rtas_mask_real_irq() argument
69 if (hw_irq == XICS_IPI) in ics_rtas_mask_real_irq()
72 call_status = rtas_call_reentrant(ibm_int_off, 1, 1, NULL, hw_irq); in ics_rtas_mask_real_irq()
75 __func__, hw_irq, call_status); in ics_rtas_mask_real_irq()
80 call_status = rtas_call_reentrant(ibm_set_xive, 3, 1, NULL, hw_irq, in ics_rtas_mask_real_irq()
84 __func__, hw_irq, call_status); in ics_rtas_mask_real_irq()
91 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_mask_irq() local
93 pr_devel("xics: mask virq %d [hw 0x%x]\n", d->irq, hw_irq); in ics_rtas_mask_irq()
95 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) in ics_rtas_mask_irq()
97 ics_rtas_mask_real_irq(hw_irq); in ics_rtas_mask_irq()
104 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_set_affinity() local
109 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) in ics_rtas_set_affinity()
112 status = rtas_call_reentrant(ibm_get_xive, 1, 3, xics_status, hw_irq); in ics_rtas_set_affinity()
116 __func__, hw_irq, status); in ics_rtas_set_affinity()
128 hw_irq, irq_server); in ics_rtas_set_affinity()
131 hw_irq, irq_server, xics_status[1]); in ics_rtas_set_affinity()
135 __func__, hw_irq, status); in ics_rtas_set_affinity()
153 static int ics_rtas_check(struct ics *ics, unsigned int hw_irq) in ics_rtas_check() argument
158 if (WARN_ON(hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS)) in ics_rtas_check()
162 rc = rtas_call_reentrant(ibm_get_xive, 1, 3, status, hw_irq); in ics_rtas_check()