Home
last modified time | relevance | path

Searched refs:xfeature (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/x86/kernel/fpu/
Dxstate.c137 static unsigned int xfeature_get_offset(u64 xcomp_bv, int xfeature) in xfeature_get_offset() argument
146 xfeature <= XFEATURE_SSE) in xfeature_get_offset()
147 return xstate_offsets[xfeature]; in xfeature_get_offset()
158 if (i == xfeature) in xfeature_get_offset()
201 static bool xfeature_enabled(enum xfeature xfeature) in xfeature_enabled() argument
203 return fpu_kernel_cfg.max_features & BIT_ULL(xfeature); in xfeature_enabled()
1392 void fpstate_clear_xstate_component(struct fpstate *fps, unsigned int xfeature) in fpstate_clear_xstate_component() argument
1394 void *addr = get_xsave_addr(&fps->regs.xsave, xfeature); in fpstate_clear_xstate_component()
1397 memset(addr, 0, xstate_sizes[xfeature]); in fpstate_clear_xstate_component()
/linux-6.1.9/arch/x86/include/asm/fpu/
Dapi.h133 extern void fpstate_clear_xstate_component(struct fpstate *fps, unsigned int xfeature);
Dtypes.h102 enum xfeature { enum