Home
last modified time | relevance | path

Searched refs:hwstate (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/arm/vfp/
Dvfpmodule.c560 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()
[all …]
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Ddriver.c961 int hwstate = driver_lstate(rcd->ppd); in set_armed_to_active() local
963 if (hwstate != IB_PORT_ACTIVE) { in set_armed_to_active()
966 opa_lstate_name(hwstate)); in set_armed_to_active()