Home
last modified time | relevance | path

Searched refs:ustate (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/arch/x86/kernel/fpu/
Dcore.c375 union fpregs_state *ustate = buf; in fpu_copy_guest_fpstate_to_uabi() local
381 memcpy(&ustate->fxsave, &kstate->regs.fxsave, in fpu_copy_guest_fpstate_to_uabi()
382 sizeof(ustate->fxsave)); in fpu_copy_guest_fpstate_to_uabi()
384 ustate->xsave.header.xfeatures = XFEATURE_MASK_FPSSE; in fpu_copy_guest_fpstate_to_uabi()
393 const union fpregs_state *ustate = buf; in fpu_copy_uabi_to_guest_fpstate() local
398 if (ustate->xsave.header.xfeatures & ~XFEATURE_MASK_FPSSE) in fpu_copy_uabi_to_guest_fpstate()
400 if (ustate->fxsave.mxcsr & ~mxcsr_feature_mask) in fpu_copy_uabi_to_guest_fpstate()
402 memcpy(&kstate->regs.fxsave, &ustate->fxsave, sizeof(ustate->fxsave)); in fpu_copy_uabi_to_guest_fpstate()
406 if (ustate->xsave.header.xfeatures & ~xcr0) in fpu_copy_uabi_to_guest_fpstate()
409 ret = copy_uabi_from_kernel_to_xstate(kstate, ustate); in fpu_copy_uabi_to_guest_fpstate()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c153 args->v0.version, args->v0.ustate, args->v0.pwrsrc); in nvkm_control_mthd_pstate_user()
160 ret |= nvkm_clk_ustate(clk, args->v0.ustate, args->v0.pwrsrc); in nvkm_control_mthd_pstate_user()
162 ret |= nvkm_clk_ustate(clk, args->v0.ustate, 0); in nvkm_control_mthd_pstate_user()
163 ret |= nvkm_clk_ustate(clk, args->v0.ustate, 1); in nvkm_control_mthd_pstate_user()
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c174 args.ustate = NVIF_CONTROL_PSTATE_USER_V0_STATE_UNKNOWN; in nouveau_debugfs_pstate_set()
177 args.ustate = NVIF_CONTROL_PSTATE_USER_V0_STATE_PERFMON; in nouveau_debugfs_pstate_set()
182 args.ustate = value; in nouveau_debugfs_pstate_set()
/Linux-v6.1/arch/x86/kernel/cpu/microcode/
Dcore.c604 enum ucode_state ustate; in microcode_init_cpu() local
617 ustate = microcode_ops->request_microcode_fw(cpu, &microcode_pdev->dev, refresh_fw); in microcode_init_cpu()
618 if (ustate == UCODE_NEW) { in microcode_init_cpu()
623 return ustate; in microcode_init_cpu()
/Linux-v6.1/drivers/gpu/drm/nouveau/include/nvif/
Dif0001.h43 __s8 ustate; /* in: pstate identifier */ member