Lines Matching refs:MSR_FP
122 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set()
140 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
156 msr &= ~MSR_FP; in __giveup_fpu()
168 msr_check_and_set(MSR_FP); in giveup_fpu()
170 msr_check_and_clear(MSR_FP); in giveup_fpu()
190 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
212 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp()
214 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp()
330 if (tsk->thread.regs->msr & MSR_FP) in __giveup_vsx()
341 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
343 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
348 if (tsk->thread.regs->msr & MSR_FP) in save_vsx()
360 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
363 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
374 if (current->thread.regs->msr & MSR_FP) in enable_kernel_vsx()
387 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
453 msr_all_available |= MSR_FP; in init_msr_all_available()
488 if (usermsr & MSR_FP) in giveup_all()
523 if ((!(msr & MSR_FP)) && restore_fp(current)) in restore_math()
524 msr |= MSR_FP | current->thread.fpexc_mode; in restore_math()
529 if ((msr & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC) && in restore_math()
560 if (usermsr & MSR_FP) in save_all()
855 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
976 new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX); in tm_recheckpoint_new_task()
1030 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
1033 if (msr_diff & MSR_FP) in restore_tm_state()
1281 {MSR_FP, "FP"},
1523 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1735 if (regs != NULL && (regs->msr & MSR_FP) != 0) in set_fpexc_mode()