Lines Matching full:a1
34 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_user() local
43 frame.sp = a1; in xtensa_backtrace_user()
72 /* Get the PC from a0 and a1. */ in xtensa_backtrace_user()
74 /* Read a0 and a1 from the in xtensa_backtrace_user()
78 a1 = regs->areg[index * 4 + 1]; in xtensa_backtrace_user()
81 frame.sp = a1; in xtensa_backtrace_user()
94 /* Start from the a1 register. */ in xtensa_backtrace_user()
95 /* a1 = regs->areg[1]; */ in xtensa_backtrace_user()
100 if (!access_ok(&SPILL_SLOT(a1, 0), 8)) in xtensa_backtrace_user()
102 /* Copy a1, a0 from user space stack frame. */ in xtensa_backtrace_user()
103 if (__get_user(a0, &SPILL_SLOT(a1, 0)) || in xtensa_backtrace_user()
104 __get_user(a1, &SPILL_SLOT(a1, 1))) in xtensa_backtrace_user()
108 frame.sp = a1; in xtensa_backtrace_user()
125 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_kernel() local
127 sp_start = a1 & ~(THREAD_SIZE - 1); in xtensa_backtrace_kernel()
134 * from the a0 and a1 registers saved there. in xtensa_backtrace_kernel()
136 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
140 frame.sp = a1; in xtensa_backtrace_kernel()
146 regs = (struct pt_regs *)a1; in xtensa_backtrace_kernel()
154 a1 = regs->areg[1]; in xtensa_backtrace_kernel()
158 sp_start = a1; in xtensa_backtrace_kernel()
161 a0 = SPILL_SLOT(a1, 0); in xtensa_backtrace_kernel()
162 a1 = SPILL_SLOT(a1, 1); in xtensa_backtrace_kernel()
173 unsigned long a0, a1; in walk_stackframe() local
176 a1 = (unsigned long)sp; in walk_stackframe()
177 sp_end = ALIGN(a1, THREAD_SIZE); in walk_stackframe()
181 while (a1 < sp_end) { in walk_stackframe()
184 sp = (unsigned long *)a1; in walk_stackframe()
186 a0 = SPILL_SLOT(a1, 0); in walk_stackframe()
187 a1 = SPILL_SLOT(a1, 1); in walk_stackframe()
189 if (a1 <= (unsigned long)sp) in walk_stackframe()
192 frame.pc = MAKE_PC_FROM_RA(a0, a1); in walk_stackframe()
193 frame.sp = a1; in walk_stackframe()