Home
last modified time | relevance | path

Searched refs:CSR_EUEN_LSXEN (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/loongarch/include/asm/
Dfpu.h72 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LSXEN) ? in is_lsx_enabled()
145 KSTK_EUEN(tsk) &= ~(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in lose_fpu_inatomic()
191 if (euen & CSR_EUEN_LSXEN) in save_fpu_regs()
212 csr_xchg32(CSR_EUEN_LSXEN, CSR_EUEN_LSXEN, LOONGARCH_CSR_EUEN); in enable_lsx()
218 csr_xchg32(0, CSR_EUEN_LSXEN, LOONGARCH_CSR_EUEN); in disable_lsx()
Dloongarch.h220 #define CSR_EUEN_LSXEN (_ULCAST_(0x1) << CSR_EUEN_LSXEN_SHIFT) macro
/linux-6.6.21/arch/loongarch/kernel/
Dkfpu.c40 if (*euen_curr & CSR_EUEN_LSXEN) in kernel_fpu_begin()
65 if (*euen_curr & CSR_EUEN_LSXEN) in kernel_fpu_end()
83 euen_mask |= CSR_EUEN_LSXEN; in init_euen_mask()
Dtraps.c214 print_bool_fragment("SXE", FIELD_GET(CSR_EUEN_LSXEN, x), false); in print_euen()