Lines Matching refs:wb
47 unsigned long wb = regs->windowbase; in ptrace_getregs() local
64 __put_user(regs->areg[i],gregset->a+((wb*4+i)%XCHAL_NUM_AREGS)); in ptrace_getregs()
66 __put_user(regs->areg[i],gregset->a+((wb*4+i)%XCHAL_NUM_AREGS)); in ptrace_getregs()
77 unsigned long wb; in ptrace_setregs() local
88 __get_user(wb, &gregset->windowbase); in ptrace_setregs()
92 if (wb >= XCHAL_NUM_AREGS / 4) in ptrace_setregs()
95 regs->windowbase = wb; in ptrace_setregs()
97 if (wb != 0 && __copy_from_user(regs->areg + XCHAL_NUM_AREGS - wb * 4, in ptrace_setregs()
98 gregset->a, wb * 16)) in ptrace_setregs()
101 if (__copy_from_user(regs->areg, gregset->a + wb*4, (WSBITS-wb) * 16)) in ptrace_setregs()
189 unsigned long wb = regs->windowbase; in ptrace_peekusr() local
191 tmp = ((ws>>wb) | (ws<<(WSBITS-wb))) & ((1<<WSBITS)-1); in ptrace_peekusr()