Lines Matching refs:hwstate
560 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_preserve_user_clear_hwstate() local
570 err |= __copy_to_user(&ufp->fpregs, &hwstate->fpregs, in vfp_preserve_user_clear_hwstate()
571 sizeof(hwstate->fpregs)); in vfp_preserve_user_clear_hwstate()
575 __put_user_error(hwstate->fpscr, &ufp->fpscr, err); in vfp_preserve_user_clear_hwstate()
580 __put_user_error(hwstate->fpexc, &ufp_exc->fpexc, err); in vfp_preserve_user_clear_hwstate()
581 __put_user_error(hwstate->fpinst, &ufp_exc->fpinst, err); in vfp_preserve_user_clear_hwstate()
582 __put_user_error(hwstate->fpinst2, &ufp_exc->fpinst2, err); in vfp_preserve_user_clear_hwstate()
594 hwstate->fpscr &= ~(FPSCR_LENGTH_MASK | FPSCR_STRIDE_MASK); in vfp_preserve_user_clear_hwstate()
602 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_restore_user_hwstate() local
612 memcpy(&hwstate->fpregs, &ufp->fpregs, sizeof(hwstate->fpregs)); in vfp_restore_user_hwstate()
616 hwstate->fpscr = ufp->fpscr; in vfp_restore_user_hwstate()
628 hwstate->fpexc = fpexc; in vfp_restore_user_hwstate()
630 hwstate->fpinst = ufp_exc->fpinst; in vfp_restore_user_hwstate()
631 hwstate->fpinst2 = ufp_exc->fpinst2; in vfp_restore_user_hwstate()