Home
last modified time | relevance | path

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

/linux/arch/loongarch/power/
H A 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()
/linux/arch/loongarch/kvm/
H A 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
H A Dinterrupt.c164 val = kvm_read_hw_gcsr(LOONGARCH_CSR_ECFG); in _kvm_deliver_exception()
H A Dmain.c52 set_gcsr_hw_flag(LOONGARCH_CSR_ECFG); in kvm_init_gcsr_flag()
H A 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/arch/loongarch/include/asm/
H A Dkvm_csr.h56 #define read_gcsr_ecfg() gcsr_read(LOONGARCH_CSR_ECFG)
57 #define write_gcsr_ecfg(val) gcsr_write(val, LOONGARCH_CSR_ECFG)
H A Dstacktrace.h90 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_ECFG) : "=r" (regs->csr_ecfg)); in prepare_frametrace()
H A 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)
H A Dstackframe.h142 csrrd t0, LOONGARCH_CSR_ECFG
/linux/arch/loongarch/kernel/
H A Dentry.S40 csrrd t2, LOONGARCH_CSR_ECFG
H A Dprocess.c162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
H A Dtraps.c444 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()