Lines Matching full:pc
36 unsigned long pc = regs->pc; in xtensa_backtrace_user() local
43 frame.pc = pc; in xtensa_backtrace_user()
46 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
73 /* Get the PC from a0 and a1. */ in xtensa_backtrace_user()
74 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user()
81 frame.pc = pc; in xtensa_backtrace_user()
84 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
98 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user()
108 frame.pc = pc; in xtensa_backtrace_user()
111 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
122 unsigned long pc = regs->depc > VALID_DOUBLE_EXCEPTION_ADDRESS ? in xtensa_backtrace_kernel() local
123 regs->depc : regs->pc; in xtensa_backtrace_kernel()
134 /* Read the stack frames one by one and create the PC in xtensa_backtrace_kernel()
140 frame.pc = pc; in xtensa_backtrace_kernel()
143 if (kernel_text_address(pc) && kfn(&frame, data)) in xtensa_backtrace_kernel()
146 if (pc == (unsigned long)&common_exception_return) { in xtensa_backtrace_kernel()
161 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_kernel()
193 frame.pc = MAKE_PC_FROM_RA(a0, _text); in walk_stackframe()
217 if (!kernel_text_address(frame->pc)) in stack_trace_cb()
220 trace->entries[trace->nr_entries++] = frame->pc; in stack_trace_cb()
255 if (!kernel_text_address(frame->pc)) in return_address_cb()
257 r->addr = frame->pc; in return_address_cb()