Lines Matching refs:sw2
15 static void xpu_ack(struct cx18 *cx, u32 sw2) in xpu_ack() argument
17 if (sw2 & IRQ_CPU_TO_EPU_ACK) in xpu_ack()
19 if (sw2 & IRQ_APU_TO_EPU_ACK) in xpu_ack()
34 u32 sw1, sw2, hw2; in cx18_irq_handler() local
37 sw2 = cx18_read_reg(cx, SW2_INT_STATUS) & cx->sw2_irq_mask; in cx18_irq_handler()
42 if (sw2) in cx18_irq_handler()
43 cx18_write_reg_expect(cx, sw2, SW2_INT_STATUS, ~sw2, sw2); in cx18_irq_handler()
47 if (sw1 || sw2 || hw2) in cx18_irq_handler()
49 sw1, sw2, hw2); in cx18_irq_handler()
63 if (sw2) in cx18_irq_handler()
64 xpu_ack(cx, sw2); in cx18_irq_handler()
66 return (sw1 || sw2 || hw2) ? IRQ_HANDLED : IRQ_NONE; in cx18_irq_handler()