Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_ECFG (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/arch/loongarch/power/
Dhibernate.c20 saved_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in save_processor_state()
32 csr_write32(saved_ecfg, LOONGARCH_CSR_ECFG); in restore_processor_state()
Dsuspend.c38 saved_regs.ecfg = csr_read32(LOONGARCH_CSR_ECFG); in loongarch_common_suspend()
57 csr_write32(saved_regs.ecfg, LOONGARCH_CSR_ECFG); in loongarch_common_resume()
/linux-6.12.1/arch/loongarch/kvm/
Dswitch.S51 csrrd t0, LOONGARCH_CSR_ECFG
53 csrwr t0, LOONGARCH_CSR_ECFG
140 csrrd t0, LOONGARCH_CSR_ECFG
143 csrwr t0, LOONGARCH_CSR_ECFG
Dinterrupt.c164 val = kvm_read_hw_gcsr(LOONGARCH_CSR_ECFG); in _kvm_deliver_exception()
Dmain.c52 set_gcsr_hw_flag(LOONGARCH_CSR_ECFG); in kvm_init_gcsr_flag()
Dvcpu.c1565 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_ECFG); in _kvm_vcpu_load()
1651 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_ECFG); in _kvm_vcpu_put()
/linux-6.12.1/arch/loongarch/include/asm/
Dstacktrace.h90 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_ECFG) : "=r" (regs->csr_ecfg)); in prepare_frametrace()
Dkvm_csr.h56 #define read_gcsr_ecfg() gcsr_read(LOONGARCH_CSR_ECFG)
57 #define write_gcsr_ecfg(val) gcsr_write(val, LOONGARCH_CSR_ECFG)
Dloongarch.h233 #define LOONGARCH_CSR_ECFG 0x4 /* Exception config */ macro
1193 #define read_csr_ecfg() csr_read32(LOONGARCH_CSR_ECFG)
1194 #define write_csr_ecfg(val) csr_write32(val, LOONGARCH_CSR_ECFG)
Dstackframe.h142 csrrd t0, LOONGARCH_CSR_ECFG
/linux-6.12.1/arch/loongarch/kernel/
Dentry.S40 csrrd t2, LOONGARCH_CSR_ECFG
Dprocess.c162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
Dtraps.c444 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()