Lines Matching full:a1
35 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_user() local
44 frame.sp = a1; in xtensa_backtrace_user()
73 /* Get the PC from a0 and a1. */ in xtensa_backtrace_user()
75 /* Read a0 and a1 from the in xtensa_backtrace_user()
79 a1 = regs->areg[index * 4 + 1]; in xtensa_backtrace_user()
82 frame.sp = a1; in xtensa_backtrace_user()
95 /* Start from the a1 register. */ in xtensa_backtrace_user()
96 /* a1 = regs->areg[1]; */ in xtensa_backtrace_user()
101 if (!access_ok(&SPILL_SLOT(a1, 0), 8)) in xtensa_backtrace_user()
103 /* Copy a1, a0 from user space stack frame. */ in xtensa_backtrace_user()
104 if (__get_user(a0, &SPILL_SLOT(a1, 0)) || in xtensa_backtrace_user()
105 __get_user(a1, &SPILL_SLOT(a1, 1))) in xtensa_backtrace_user()
109 frame.sp = a1; in xtensa_backtrace_user()
126 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_kernel() local
128 sp_start = a1 & ~(THREAD_SIZE - 1); in xtensa_backtrace_kernel()
135 * from the a0 and a1 registers saved there. in xtensa_backtrace_kernel()
137 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
141 frame.sp = a1; in xtensa_backtrace_kernel()
147 regs = (struct pt_regs *)a1; in xtensa_backtrace_kernel()
155 a1 = regs->areg[1]; in xtensa_backtrace_kernel()
159 sp_start = a1; in xtensa_backtrace_kernel()
162 a0 = SPILL_SLOT(a1, 0); in xtensa_backtrace_kernel()
163 a1 = SPILL_SLOT(a1, 1); in xtensa_backtrace_kernel()
174 unsigned long a0, a1; in walk_stackframe() local
177 a1 = (unsigned long)sp; in walk_stackframe()
178 sp_end = ALIGN(a1, THREAD_SIZE); in walk_stackframe()
182 while (a1 < sp_end) { in walk_stackframe()
185 sp = (unsigned long *)a1; in walk_stackframe()
187 a0 = SPILL_SLOT(a1, 0); in walk_stackframe()
188 a1 = SPILL_SLOT(a1, 1); in walk_stackframe()
190 if (a1 <= (unsigned long)sp) in walk_stackframe()
194 frame.sp = a1; in walk_stackframe()