Lines Matching refs:a2
26 wsr a2, ZSR_SYSCALL_SCRATCH
30 rsr.epc1 a2
31 bne a0, a2, _not_checking_user_context
33 addi a2, a2, 3
34 wsr.epc1 a2
37 rsr.ps a2
38 and a2, a2, a0
44 beqz a2, _is_user_context_return
46 movi a2, 1
54 rsr a2, ZSR_SYSCALL_SCRATCH
63 s32i a2, a0, ___xtensa_irq_bsa_t_a2_OFFSET
65 rsr a2, ZSR_A0SAVE
66 s32i a2, a0, ___xtensa_irq_bsa_t_a0_OFFSET
67 rsr.ps a2
69 and a2, a2, a3
70 s32i a2, a0, ___xtensa_irq_bsa_t_ps_OFFSET
71 rsr.epc1 a2
72 s32i a2, a0, ___xtensa_irq_bsa_t_pc_OFFSET
75 movi a2, PS_WOE|PS_INTLEVEL(XCHAL_NMILEVEL)
77 movi a2, PS_WOE|PS_INTLEVEL(XCHAL_NUM_INTLEVELS)
82 or a3, a3, a2
83 movi a2, ~(PS_EXCM | PS_RING_MASK)
84 and a3, a3, a2
87 l32i a2, a0, ___xtensa_irq_bsa_t_a2_OFFSET
104 rsr.lend a2
106 bne a2, a3, end_loop
107 rsr.lcount a2
108 beqz a2, end_loop
109 addi a2, a2, -1
110 wsr.lcount a2
129 l32i a2, a1, 0
130 l32i a2, a2, ___xtensa_irq_bsa_t_a2_OFFSET
132 bgeu a2, a0, _bad_syscall
137 slli a2, a2, 2
138 add a2, a2, a3
139 l32i a2, a2, 0
192 callx4 a2
248 l32i a2, a1, ___xtensa_irq_bsa_t_a2_OFFSET
257 movi a2, K_SYSCALL_BAD
291 s32i a2, a1, 20