Lines Matching refs:a1
33 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_user() local
42 frame.sp = a1; in xtensa_backtrace_user()
77 a1 = regs->areg[index * 4 + 1]; in xtensa_backtrace_user()
80 frame.sp = a1; in xtensa_backtrace_user()
99 if (!access_ok(&SPILL_SLOT(a1, 0), 8)) in xtensa_backtrace_user()
102 if (__get_user(a0, &SPILL_SLOT(a1, 0)) || in xtensa_backtrace_user()
103 __get_user(a1, &SPILL_SLOT(a1, 1))) in xtensa_backtrace_user()
107 frame.sp = a1; in xtensa_backtrace_user()
124 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_kernel() local
126 sp_start = a1 & ~(THREAD_SIZE - 1); in xtensa_backtrace_kernel()
135 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
139 frame.sp = a1; in xtensa_backtrace_kernel()
145 regs = (struct pt_regs *)a1; in xtensa_backtrace_kernel()
153 a1 = regs->areg[1]; in xtensa_backtrace_kernel()
157 sp_start = a1; in xtensa_backtrace_kernel()
160 a0 = SPILL_SLOT(a1, 0); in xtensa_backtrace_kernel()
161 a1 = SPILL_SLOT(a1, 1); in xtensa_backtrace_kernel()
172 unsigned long a0, a1; in walk_stackframe() local
175 a1 = (unsigned long)sp; in walk_stackframe()
176 sp_end = ALIGN(a1, THREAD_SIZE); in walk_stackframe()
180 while (a1 < sp_end) { in walk_stackframe()
183 sp = (unsigned long *)a1; in walk_stackframe()
185 a0 = SPILL_SLOT(a1, 0); in walk_stackframe()
186 a1 = SPILL_SLOT(a1, 1); in walk_stackframe()
188 if (a1 <= (unsigned long)sp) in walk_stackframe()
191 frame.pc = MAKE_PC_FROM_RA(a0, a1); in walk_stackframe()
192 frame.sp = a1; in walk_stackframe()