Searched refs:CSR_EUEN_LSXEN (Results 1 – 5 of 5) sorted by relevance
73 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LSXEN) ? in is_lsx_enabled()146 KSTK_EUEN(tsk) &= ~(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in lose_fpu_inatomic()192 if (euen & CSR_EUEN_LSXEN) in save_fpu_regs()213 csr_xchg32(CSR_EUEN_LSXEN, CSR_EUEN_LSXEN, LOONGARCH_CSR_EUEN); in enable_lsx()219 csr_xchg32(0, CSR_EUEN_LSXEN, LOONGARCH_CSR_EUEN); in disable_lsx()
227 #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()
240 print_bool_fragment("SXE", FIELD_GET(CSR_EUEN_LSXEN, x), false); in print_euen()
1315 set_csr_euen(CSR_EUEN_LSXEN | CSR_EUEN_FPEN); in kvm_own_lsx()1350 set_csr_euen(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in kvm_own_lasx()1388 clear_csr_euen(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in kvm_lose_fpu()1395 clear_csr_euen(CSR_EUEN_FPEN | CSR_EUEN_LSXEN); in kvm_lose_fpu()