Lines Matching refs:sw1
23 static void epu_cmd(struct cx18 *cx, u32 sw1)
25 if (sw1 & IRQ_CPU_TO_EPU)
27 if (sw1 & IRQ_APU_TO_EPU)
34 u32 sw1, sw2, hw2;
36 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask;
40 if (sw1)
41 cx18_write_reg_expect(cx, sw1, SW1_INT_STATUS, ~sw1, sw1);
47 if (sw1 || sw2 || hw2)
49 sw1, sw2, hw2);
55 if (sw1)
56 epu_cmd(cx, sw1);
66 return (sw1 || sw2 || hw2) ? IRQ_HANDLED : IRQ_NONE;