Lines Matching refs:fpexc

111 	vfp->hard.fpexc = FPEXC_EN;  in vfp_thread_flush()
162 u32 fpexc; in vfp_notifier() local
169 fpexc = fmrx(FPEXC); in vfp_notifier()
179 if ((fpexc & FPEXC_EN) && vfp_current_hw_state[cpu]) in vfp_notifier()
180 vfp_save_state(vfp_current_hw_state[cpu], fpexc); in vfp_notifier()
187 fmxr(FPEXC, fpexc & ~FPEXC_EN); in vfp_notifier()
323 void VFP_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs) in VFP_bounce() argument
327 pr_debug("VFP: bounce: trigger %08x fpexc %08x\n", trigger, fpexc); in VFP_bounce()
342 fmxr(FPEXC, fpexc & ~(FPEXC_EX|FPEXC_DEX|FPEXC_FP2V|FPEXC_VV|FPEXC_TRAP_MASK)); in VFP_bounce()
358 if (fpexc & FPEXC_EX) { in VFP_bounce()
367 } else if (!(fpexc & FPEXC_DEX)) { in VFP_bounce()
382 if (fpexc & (FPEXC_EX | FPEXC_VV)) { in VFP_bounce()
385 len = fpexc + (1 << FPEXC_LENGTH_BIT); in VFP_bounce()
404 if ((fpexc & (FPEXC_EX | FPEXC_FP2V)) != (FPEXC_EX | FPEXC_FP2V)) in VFP_bounce()
452 u32 fpexc = fmrx(FPEXC); in vfp_pm_suspend() local
455 if (fpexc & FPEXC_EN) { in vfp_pm_suspend()
457 vfp_save_state(&ti->vfpstate, fpexc); in vfp_pm_suspend()
463 fmxr(FPEXC, fpexc | FPEXC_EN); in vfp_pm_suspend()
464 vfp_save_state(vfp_current_hw_state[ti->cpu], fpexc); in vfp_pm_suspend()
465 fmxr(FPEXC, fpexc); in vfp_pm_suspend()
521 u32 fpexc = fmrx(FPEXC); in vfp_sync_hwstate() local
526 fmxr(FPEXC, fpexc | FPEXC_EN); in vfp_sync_hwstate()
527 vfp_save_state(&thread->vfpstate, fpexc | FPEXC_EN); in vfp_sync_hwstate()
528 fmxr(FPEXC, fpexc); in vfp_sync_hwstate()
571 ufp_exc->fpexc = hwstate->fpexc; in vfp_preserve_user_clear_hwstate()
591 unsigned long fpexc; in vfp_restore_user_hwstate() local
609 fpexc = ufp_exc->fpexc; in vfp_restore_user_hwstate()
612 fpexc |= FPEXC_EN; in vfp_restore_user_hwstate()
615 fpexc &= ~(FPEXC_EX | FPEXC_FP2V); in vfp_restore_user_hwstate()
616 hwstate->fpexc = fpexc; in vfp_restore_user_hwstate()
674 u32 fpexc; in kernel_neon_begin() local
684 fpexc = fmrx(FPEXC) | FPEXC_EN; in kernel_neon_begin()
685 fmxr(FPEXC, fpexc); in kernel_neon_begin()
692 vfp_save_state(&thread->vfpstate, fpexc); in kernel_neon_begin()
695 vfp_save_state(vfp_current_hw_state[cpu], fpexc); in kernel_neon_begin()