Searched refs:CSR_EUEN_LASXEN (Results 1 – 5 of 5) sorted by relevance
82 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LASXEN) ? in is_lasx_enabled()146 KSTK_EUEN(tsk) &= ~(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in lose_fpu_inatomic()187 if (euen & CSR_EUEN_LASXEN) in save_fpu_regs()261 csr_xchg32(CSR_EUEN_LASXEN, CSR_EUEN_LASXEN, LOONGARCH_CSR_EUEN); in enable_lasx()267 csr_xchg32(0, CSR_EUEN_LASXEN, LOONGARCH_CSR_EUEN); in disable_lasx()
225 #define CSR_EUEN_LASXEN (_ULCAST_(0x1) << CSR_EUEN_LASXEN_SHIFT) macro
35 if (*euen_curr & CSR_EUEN_LASXEN) in kernel_fpu_begin()60 if (*euen_curr & CSR_EUEN_LASXEN) in kernel_fpu_end()86 euen_mask |= CSR_EUEN_LASXEN; in init_euen_mask()
241 print_bool_fragment("ASXE", FIELD_GET(CSR_EUEN_LASXEN, x), false); in print_euen()
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()