Lines Matching refs:fpexc

114 	vfp->hard.fpexc = FPEXC_EN;  in vfp_thread_flush()
165 u32 fpexc; in vfp_notifier() local
172 fpexc = fmrx(FPEXC); in vfp_notifier()
182 if ((fpexc & FPEXC_EN) && vfp_current_hw_state[cpu]) in vfp_notifier()
183 vfp_save_state(vfp_current_hw_state[cpu], fpexc); in vfp_notifier()
190 fmxr(FPEXC, fpexc & ~FPEXC_EN); in vfp_notifier()
331 void VFP_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs) in VFP_bounce() argument
335 pr_debug("VFP: bounce: trigger %08x fpexc %08x\n", trigger, fpexc); in VFP_bounce()
350 fmxr(FPEXC, fpexc & ~(FPEXC_EX|FPEXC_DEX|FPEXC_FP2V|FPEXC_VV|FPEXC_TRAP_MASK)); in VFP_bounce()
366 if (fpexc & FPEXC_EX) { in VFP_bounce()
375 } else if (!(fpexc & FPEXC_DEX)) { in VFP_bounce()
390 if (fpexc & (FPEXC_EX | FPEXC_VV)) { in VFP_bounce()
393 len = fpexc + (1 << FPEXC_LENGTH_BIT); in VFP_bounce()
412 if ((fpexc & (FPEXC_EX | FPEXC_FP2V)) != (FPEXC_EX | FPEXC_FP2V)) in VFP_bounce()
460 u32 fpexc = fmrx(FPEXC); in vfp_pm_suspend() local
463 if (fpexc & FPEXC_EN) { in vfp_pm_suspend()
465 vfp_save_state(&ti->vfpstate, fpexc); in vfp_pm_suspend()
471 fmxr(FPEXC, fpexc | FPEXC_EN); in vfp_pm_suspend()
472 vfp_save_state(vfp_current_hw_state[ti->cpu], fpexc); in vfp_pm_suspend()
473 fmxr(FPEXC, fpexc); in vfp_pm_suspend()
529 u32 fpexc = fmrx(FPEXC); in vfp_sync_hwstate() local
534 fmxr(FPEXC, fpexc | FPEXC_EN); in vfp_sync_hwstate()
535 vfp_save_state(&thread->vfpstate, fpexc | FPEXC_EN); in vfp_sync_hwstate()
536 fmxr(FPEXC, fpexc); in vfp_sync_hwstate()
580 __put_user_error(hwstate->fpexc, &ufp_exc->fpexc, err); in vfp_preserve_user_clear_hwstate()
603 unsigned long fpexc; in vfp_restore_user_hwstate() local
621 fpexc = ufp_exc->fpexc; in vfp_restore_user_hwstate()
624 fpexc |= FPEXC_EN; in vfp_restore_user_hwstate()
627 fpexc &= ~(FPEXC_EX | FPEXC_FP2V); in vfp_restore_user_hwstate()
628 hwstate->fpexc = fpexc; in vfp_restore_user_hwstate()
686 u32 fpexc; in kernel_neon_begin() local
696 fpexc = fmrx(FPEXC) | FPEXC_EN; in kernel_neon_begin()
697 fmxr(FPEXC, fpexc); in kernel_neon_begin()
704 vfp_save_state(&thread->vfpstate, fpexc); in kernel_neon_begin()
707 vfp_save_state(vfp_current_hw_state[cpu], fpexc); in kernel_neon_begin()