Lines Matching refs:pc
35 unsigned long pc = regs->pc; in xtensa_backtrace_user() local
42 frame.pc = pc; in xtensa_backtrace_user()
45 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
73 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user()
80 frame.pc = pc; in xtensa_backtrace_user()
83 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
97 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user()
107 frame.pc = pc; in xtensa_backtrace_user()
110 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
121 unsigned long pc = regs->depc > VALID_DOUBLE_EXCEPTION_ADDRESS ? in xtensa_backtrace_kernel() local
122 regs->depc : regs->pc; in xtensa_backtrace_kernel()
139 frame.pc = pc; in xtensa_backtrace_kernel()
142 if (kernel_text_address(pc) && kfn(&frame, data)) in xtensa_backtrace_kernel()
145 if (pc == (unsigned long)&common_exception_return) { in xtensa_backtrace_kernel()
160 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_kernel()
192 frame.pc = MAKE_PC_FROM_RA(a0, a1); in walk_stackframe()
216 if (!kernel_text_address(frame->pc)) in stack_trace_cb()
219 trace->entries[trace->nr_entries++] = frame->pc; in stack_trace_cb()
254 if (!kernel_text_address(frame->pc)) in return_address_cb()
256 r->addr = frame->pc; in return_address_cb()