Lines Matching refs:euen_curr
23 unsigned int *euen_curr; in kernel_fpu_begin() local
30 euen_curr = this_cpu_ptr(&euen_current); in kernel_fpu_begin()
32 *euen_curr = csr_xchg32(euen_mask, euen_mask, LOONGARCH_CSR_EUEN); in kernel_fpu_begin()
35 if (*euen_curr & CSR_EUEN_LASXEN) in kernel_fpu_begin()
40 if (*euen_curr & CSR_EUEN_LSXEN) in kernel_fpu_begin()
44 if (*euen_curr & CSR_EUEN_FPEN) in kernel_fpu_begin()
53 unsigned int *euen_curr; in kernel_fpu_end() local
57 euen_curr = this_cpu_ptr(&euen_current); in kernel_fpu_end()
60 if (*euen_curr & CSR_EUEN_LASXEN) in kernel_fpu_end()
65 if (*euen_curr & CSR_EUEN_LSXEN) in kernel_fpu_end()
69 if (*euen_curr & CSR_EUEN_FPEN) in kernel_fpu_end()
72 *euen_curr = csr_xchg32(*euen_curr, euen_mask, LOONGARCH_CSR_EUEN); in kernel_fpu_end()