Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/fpu/
A Dcore.c284 union fpregs_state *ustate = buf; in fpu_copy_guest_fpstate_to_uabi() local
290 memcpy(&ustate->fxsave, &kstate->regs.fxsave, in fpu_copy_guest_fpstate_to_uabi()
291 sizeof(ustate->fxsave)); in fpu_copy_guest_fpstate_to_uabi()
293 ustate->xsave.header.xfeatures = XFEATURE_MASK_FPSSE; in fpu_copy_guest_fpstate_to_uabi()
302 const union fpregs_state *ustate = buf; in fpu_copy_uabi_to_guest_fpstate() local
307 if (ustate->xsave.header.xfeatures & ~XFEATURE_MASK_FPSSE) in fpu_copy_uabi_to_guest_fpstate()
309 if (ustate->fxsave.mxcsr & ~mxcsr_feature_mask) in fpu_copy_uabi_to_guest_fpstate()
311 memcpy(&kstate->regs.fxsave, &ustate->fxsave, sizeof(ustate->fxsave)); in fpu_copy_uabi_to_guest_fpstate()
315 if (ustate->xsave.header.xfeatures & ~xcr0) in fpu_copy_uabi_to_guest_fpstate()
318 ret = copy_uabi_from_kernel_to_xstate(kstate, ustate); in fpu_copy_uabi_to_guest_fpstate()
/linux/arch/x86/kernel/cpu/microcode/
A Dcore.c384 enum ucode_state ustate; in do_microcode_update() local
389 ustate = microcode_ops->request_microcode_user(cpu, buf, size); in do_microcode_update()
390 if (ustate == UCODE_ERROR) { in do_microcode_update()
393 } else if (ustate == UCODE_NEW) { in do_microcode_update()
687 enum ucode_state ustate; in microcode_init_cpu() local
700 ustate = microcode_ops->request_microcode_fw(cpu, &microcode_pdev->dev, refresh_fw); in microcode_init_cpu()
701 if (ustate == UCODE_NEW) { in microcode_init_cpu()
706 return ustate; in microcode_init_cpu()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A 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/drivers/gpu/drm/nouveau/
A 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/drivers/gpu/drm/nouveau/include/nvif/
A Dif0001.h43 __s8 ustate; /* in: pstate identifier */ member

Completed in 11 milliseconds