Searched refs:CSR_EUEN_LSXEN (Results 1 – 4 of 4) sorted by relevance
72 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()
220 #define CSR_EUEN_LSXEN (_ULCAST_(0x1) << CSR_EUEN_LSXEN_SHIFT) macro
40 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()
214 print_bool_fragment("SXE", FIELD_GET(CSR_EUEN_LSXEN, x), false); in print_euen()