Searched refs:LOONGARCH_CSR_PWCTL1 (Results 1 – 6 of 6) sorted by relevance
37 saved_regs.pwctl1 = csr_read32(LOONGARCH_CSR_PWCTL1); in loongarch_common_suspend()56 csr_write32(saved_regs.pwctl1, LOONGARCH_CSR_PWCTL1); in loongarch_common_resume()
79 #define read_gcsr_pwctl1() gcsr_read(LOONGARCH_CSR_PWCTL1)80 #define write_gcsr_pwctl1(val) gcsr_write(val, LOONGARCH_CSR_PWCTL1)
381 #define LOONGARCH_CSR_PWCTL1 0x1d /* PWCtl1 */ macro
233 csr_write64(pwctl1, LOONGARCH_CSR_PWCTL1); in setup_ptwalker()
67 set_gcsr_hw_flag(LOONGARCH_CSR_PWCTL1); in kvm_init_gcsr_flag()
1578 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PWCTL1); in _kvm_vcpu_load()1664 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PWCTL1); in _kvm_vcpu_put()