Searched refs:LOONGARCH_CSR_ECFG (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/arch/loongarch/power/ |
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()
|
D | suspend.c | 38 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/ |
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
|
D | interrupt.c | 164 val = kvm_read_hw_gcsr(LOONGARCH_CSR_ECFG); in _kvm_deliver_exception()
|
D | main.c | 52 set_gcsr_hw_flag(LOONGARCH_CSR_ECFG); in kvm_init_gcsr_flag()
|
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-6.12.1/arch/loongarch/include/asm/ |
D | stacktrace.h | 90 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_ECFG) : "=r" (regs->csr_ecfg)); in prepare_frametrace()
|
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)
|
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)
|
D | stackframe.h | 142 csrrd t0, LOONGARCH_CSR_ECFG
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | entry.S | 40 csrrd t2, LOONGARCH_CSR_ECFG
|
D | process.c | 162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
|
D | traps.c | 444 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()
|