Home
last modified time | relevance | path

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

/linux-6.6.21/arch/loongarch/include/asm/
Dfpu.h81 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LASXEN) ? in is_lasx_enabled()
145 KSTK_EUEN(tsk) &= ~(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in lose_fpu_inatomic()
186 if (euen & CSR_EUEN_LASXEN) in save_fpu_regs()
260 csr_xchg32(CSR_EUEN_LASXEN, CSR_EUEN_LASXEN, LOONGARCH_CSR_EUEN); in enable_lasx()
266 csr_xchg32(0, CSR_EUEN_LASXEN, LOONGARCH_CSR_EUEN); in disable_lasx()
Dloongarch.h218 #define CSR_EUEN_LASXEN (_ULCAST_(0x1) << CSR_EUEN_LASXEN_SHIFT) macro
/linux-6.6.21/arch/loongarch/kernel/
Dkfpu.c35 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()
Dtraps.c215 print_bool_fragment("ASXE", FIELD_GET(CSR_EUEN_LASXEN, x), false); in print_euen()