Lines Matching refs:sw1
37 static void epu_cmd(struct cx18 *cx, u32 sw1) in epu_cmd() argument
39 if (sw1 & IRQ_CPU_TO_EPU) in epu_cmd()
41 if (sw1 & IRQ_APU_TO_EPU) in epu_cmd()
48 u32 sw1, sw2, hw2; in cx18_irq_handler() local
50 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask; in cx18_irq_handler()
54 if (sw1) in cx18_irq_handler()
55 cx18_write_reg_expect(cx, sw1, SW1_INT_STATUS, ~sw1, sw1); in cx18_irq_handler()
61 if (sw1 || sw2 || hw2) in cx18_irq_handler()
63 "SW1: %x SW2: %x HW2: %x\n", sw1, sw2, hw2); in cx18_irq_handler()
69 if (sw1) in cx18_irq_handler()
70 epu_cmd(cx, sw1); in cx18_irq_handler()
80 return (sw1 || sw2 || hw2) ? IRQ_HANDLED : IRQ_NONE; in cx18_irq_handler()