Lines Matching full:cx
15 static void xpu_ack(struct cx18 *cx, u32 sw2) in xpu_ack() argument
18 wake_up(&cx->mb_cpu_waitq); in xpu_ack()
20 wake_up(&cx->mb_apu_waitq); in xpu_ack()
23 static void epu_cmd(struct cx18 *cx, u32 sw1) in epu_cmd() argument
26 cx18_api_epu_cmd_irq(cx, CPU); in epu_cmd()
28 cx18_api_epu_cmd_irq(cx, APU); in epu_cmd()
33 struct cx18 *cx = dev_id; in cx18_irq_handler() local
36 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask; in cx18_irq_handler()
37 sw2 = cx18_read_reg(cx, SW2_INT_STATUS) & cx->sw2_irq_mask; in cx18_irq_handler()
38 hw2 = cx18_read_reg(cx, HW2_INT_CLR_STATUS) & cx->hw2_irq_mask; in cx18_irq_handler()
41 cx18_write_reg_expect(cx, sw1, SW1_INT_STATUS, ~sw1, sw1); in cx18_irq_handler()
43 cx18_write_reg_expect(cx, sw2, SW2_INT_STATUS, ~sw2, sw2); in cx18_irq_handler()
45 cx18_write_reg_expect(cx, hw2, HW2_INT_CLR_STATUS, ~hw2, hw2); in cx18_irq_handler()
56 epu_cmd(cx, sw1); in cx18_irq_handler()
64 xpu_ack(cx, sw2); in cx18_irq_handler()