Searched refs:LOONGARCH_CSR_EUEN (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/arch/loongarch/include/asm/ |
D | fpu.h | 64 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_FPEN) ? in is_fp_enabled() 73 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LSXEN) ? in is_lsx_enabled() 82 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LASXEN) ? in is_lasx_enabled() 184 euen = csr_read32(LOONGARCH_CSR_EUEN); 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() 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()
|
D | lbt.h | 24 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_LBTEN) ? in is_lbt_enabled() 38 csr_xchg32(CSR_EUEN_LBTEN, CSR_EUEN_LBTEN, LOONGARCH_CSR_EUEN); in enable_lbt() 44 csr_xchg32(0, CSR_EUEN_LBTEN, LOONGARCH_CSR_EUEN); in disable_lbt()
|
D | stacktrace.h | 89 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_EUEN) : "=r" (regs->csr_euen)); in prepare_frametrace()
|
D | kvm_csr.h | 52 #define read_gcsr_euen() gcsr_read(LOONGARCH_CSR_EUEN) 53 #define write_gcsr_euen(val) gcsr_write(val, LOONGARCH_CSR_EUEN)
|
D | loongarch.h | 221 #define LOONGARCH_CSR_EUEN 0x2 /* Extended unit enable */ macro 1199 #define read_csr_euen() csr_read32(LOONGARCH_CSR_EUEN) 1200 #define write_csr_euen(val) csr_write32(val, LOONGARCH_CSR_EUEN)
|
D | stackframe.h | 140 csrrd t0, LOONGARCH_CSR_EUEN
|
/linux-6.12.1/arch/loongarch/power/ |
D | hibernate.c | 19 saved_euen = csr_read32(LOONGARCH_CSR_EUEN); in save_processor_state() 31 csr_write32(saved_euen, LOONGARCH_CSR_EUEN); in restore_processor_state()
|
D | suspend.c | 39 saved_regs.euen = csr_read32(LOONGARCH_CSR_EUEN); in loongarch_common_suspend() 58 csr_write32(saved_regs.euen, LOONGARCH_CSR_EUEN); in loongarch_common_resume()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | kfpu.c | 32 *euen_curr = csr_xchg32(euen_mask, euen_mask, LOONGARCH_CSR_EUEN); in kernel_fpu_begin() 72 *euen_curr = csr_xchg32(*euen_curr, euen_mask, LOONGARCH_CSR_EUEN); in kernel_fpu_end()
|
D | head.S | 56 csrwr t0, LOONGARCH_CSR_EUEN 138 csrwr t0, LOONGARCH_CSR_EUEN
|
D | entry.S | 38 csrrd t2, LOONGARCH_CSR_EUEN
|
D | fpu.S | 407 csrxchg t1, t1, LOONGARCH_CSR_EUEN
|
/linux-6.12.1/arch/loongarch/kvm/ |
D | main.c | 50 set_gcsr_hw_flag(LOONGARCH_CSR_EUEN); in kvm_init_gcsr_flag()
|
D | vcpu.c | 1563 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_EUEN); in _kvm_vcpu_load() 1649 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_EUEN); in _kvm_vcpu_put()
|