Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/vfp/
Dvfpmodule.c552 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_preserve_user_clear_hwstate() local
561 memcpy(&ufp->fpregs, &hwstate->fpregs, sizeof(hwstate->fpregs)); in vfp_preserve_user_clear_hwstate()
566 ufp->fpscr = hwstate->fpscr; in vfp_preserve_user_clear_hwstate()
571 ufp_exc->fpexc = hwstate->fpexc; in vfp_preserve_user_clear_hwstate()
572 ufp_exc->fpinst = hwstate->fpinst; in vfp_preserve_user_clear_hwstate()
573 ufp_exc->fpinst2 = hwstate->fpinst2; in vfp_preserve_user_clear_hwstate()
582 hwstate->fpscr &= ~(FPSCR_LENGTH_MASK | FPSCR_STRIDE_MASK); in vfp_preserve_user_clear_hwstate()
590 struct vfp_hard_struct *hwstate = &thread->vfpstate.hard; in vfp_restore_user_hwstate() local
600 memcpy(&hwstate->fpregs, &ufp->fpregs, sizeof(hwstate->fpregs)); in vfp_restore_user_hwstate()
604 hwstate->fpscr = ufp->fpscr; in vfp_restore_user_hwstate()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Ddriver.c1011 int hwstate = driver_lstate(packet->rcd->ppd); in __set_armed_to_active() local
1015 if (hwstate != IB_PORT_ACTIVE) { in __set_armed_to_active()
1018 opa_lstate_name(hwstate)); in __set_armed_to_active()