• Home
  • Raw
  • Download

Lines Matching refs:MSR_FP

125 	if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))  in msr_check_and_set()
143 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
159 msr &= ~(MSR_FP|MSR_FE0|MSR_FE1); in __giveup_fpu()
171 msr_check_and_set(MSR_FP); in giveup_fpu()
173 msr_check_and_clear(MSR_FP); in giveup_fpu()
193 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
215 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp()
217 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp()
340 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx()
343 if (msr & MSR_FP) in __giveup_vsx()
353 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
355 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
364 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
367 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
387 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
452 msr_all_available |= MSR_FP; in init_msr_all_available()
487 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in giveup_all()
490 if (usermsr & MSR_FP) in giveup_all()
521 if ((!(msr & MSR_FP)) && restore_fp(current)) in restore_math()
522 msr |= MSR_FP | current->thread.fpexc_mode; in restore_math()
527 if ((msr & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC) && in restore_math()
551 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in save_all()
553 if (usermsr & MSR_FP) in save_all()
868 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
989 new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX); in tm_recheckpoint_new_task()
1043 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
1046 if (msr_diff & MSR_FP) in restore_tm_state()
1303 {MSR_FP, "FP"},
1545 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1757 if (regs != NULL && (regs->msr & MSR_FP) != 0) in set_fpexc_mode()