Searched refs:LOONGARCH_CSR_ECFG (Results 1 – 12 of 12) sorted by relevance
/linux/arch/loongarch/power/ |
H A D | hibernate.c | 20 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 D | switch.S | 51 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 D | interrupt.c | 164 val = kvm_read_hw_gcsr(LOONGARCH_CSR_ECFG); in _kvm_deliver_exception()
|
H A D | main.c | 52 set_gcsr_hw_flag(LOONGARCH_CSR_ECFG); in kvm_init_gcsr_flag()
|
H A D | vcpu.c | 1565 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 D | kvm_csr.h | 56 #define read_gcsr_ecfg() gcsr_read(LOONGARCH_CSR_ECFG) 57 #define write_gcsr_ecfg(val) gcsr_write(val, LOONGARCH_CSR_ECFG)
|
H A D | stacktrace.h | 90 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_ECFG) : "=r" (regs->csr_ecfg)); in prepare_frametrace()
|
H A D | loongarch.h | 233 #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 D | stackframe.h | 142 csrrd t0, LOONGARCH_CSR_ECFG
|
/linux/arch/loongarch/kernel/ |
H A D | entry.S | 40 csrrd t2, LOONGARCH_CSR_ECFG
|
H A D | process.c | 162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
|
H A D | traps.c | 444 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()
|