Home
last modified time | relevance | path

Searched refs:CSR_EUEN_FPEN (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/loongarch/include/asm/
Dfpu.h63 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_FPEN) ? in is_fp_enabled()
90 #define enable_fpu() set_csr_euen(CSR_EUEN_FPEN)
92 #define disable_fpu() clear_csr_euen(CSR_EUEN_FPEN)
105 KSTK_EUEN(current) |= CSR_EUEN_FPEN; in __own_fpu()
145 KSTK_EUEN(tsk) &= ~(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in lose_fpu_inatomic()
195 if (euen & CSR_EUEN_FPEN) in save_fpu_regs()
Dloongarch.h222 #define CSR_EUEN_FPEN (_ULCAST_(0x1) << CSR_EUEN_FPEN_SHIFT) macro
/linux-6.6.21/arch/loongarch/kernel/
Dkfpu.c11 static unsigned int euen_mask = CSR_EUEN_FPEN;
44 if (*euen_curr & CSR_EUEN_FPEN) in kernel_fpu_begin()
69 if (*euen_curr & CSR_EUEN_FPEN) in kernel_fpu_end()
Dkgdb.c126 if (!(regs->csr_euen & CSR_EUEN_FPEN)) in dbg_get_reg()
169 if (!(regs->csr_euen & CSR_EUEN_FPEN)) in dbg_set_reg()
Dprocess.c84 euen = regs->csr_euen & ~(CSR_EUEN_FPEN); in start_thread()
Dtraps.c213 print_bool_fragment("FPE", FIELD_GET(CSR_EUEN_FPEN, x), true); in print_euen()
Dfpu.S403 li.w t1, CSR_EUEN_FPEN