Lines Matching refs:mc_fpregs
144 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context()
150 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context()
153 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs), in sparc64_set_context()
157 ((unsigned long *)&(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs))+16, in sparc64_set_context()
160 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fsr)); in sparc64_set_context()
162 &(ucp->uc_mcontext.mc_fpregs.mcfpu_gsr)); in sparc64_set_context()
239 err |= __put_user(fenab, &(mcp->mc_fpregs.mcfpu_enab)); in sparc64_get_context()
246 err |= copy_to_user(&(mcp->mc_fpregs.mcfpu_fregs), fpregs, in sparc64_get_context()
250 ((unsigned long *)&(mcp->mc_fpregs.mcfpu_fregs))+16, fpregs+16, in sparc64_get_context()
252 err |= __put_user(current->thread.xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context()
253 err |= __put_user(current->thread.gsr[0], &(mcp->mc_fpregs.mcfpu_gsr)); in sparc64_get_context()
254 err |= __put_user(fprs, &(mcp->mc_fpregs.mcfpu_fprs)); in sparc64_get_context()