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