Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_PWCTL1 (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/loongarch/power/
Dsuspend.c37 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()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h79 #define read_gcsr_pwctl1() gcsr_read(LOONGARCH_CSR_PWCTL1)
80 #define write_gcsr_pwctl1(val) gcsr_write(val, LOONGARCH_CSR_PWCTL1)
Dloongarch.h381 #define LOONGARCH_CSR_PWCTL1 0x1d /* PWCtl1 */ macro
/linux-6.12.1/arch/loongarch/mm/
Dtlb.c233 csr_write64(pwctl1, LOONGARCH_CSR_PWCTL1); in setup_ptwalker()
/linux-6.12.1/arch/loongarch/kvm/
Dmain.c67 set_gcsr_hw_flag(LOONGARCH_CSR_PWCTL1); in kvm_init_gcsr_flag()
Dvcpu.c1578 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()