Searched refs:LOONGARCH_CSR_PWCTL0 (Results 1 – 6 of 6) sorted by relevance
36 saved_regs.pwctl0 = csr_read32(LOONGARCH_CSR_PWCTL0); in loongarch_common_suspend()55 csr_write32(saved_regs.pwctl0, LOONGARCH_CSR_PWCTL0); in loongarch_common_resume()
77 #define read_gcsr_pwctl0() gcsr_read(LOONGARCH_CSR_PWCTL0)78 #define write_gcsr_pwctl0(val) gcsr_write(val, LOONGARCH_CSR_PWCTL0)
358 #define LOONGARCH_CSR_PWCTL0 0x1c /* PWCtl0 */ macro
232 csr_write64(pwctl0, LOONGARCH_CSR_PWCTL0); in setup_ptwalker()
66 set_gcsr_hw_flag(LOONGARCH_CSR_PWCTL0); in kvm_init_gcsr_flag()
1577 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PWCTL0); in _kvm_vcpu_load()1663 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PWCTL0); in _kvm_vcpu_put()