Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/power/
Dsuspend.c36 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()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h77 #define read_gcsr_pwctl0() gcsr_read(LOONGARCH_CSR_PWCTL0)
78 #define write_gcsr_pwctl0(val) gcsr_write(val, LOONGARCH_CSR_PWCTL0)
Dloongarch.h358 #define LOONGARCH_CSR_PWCTL0 0x1c /* PWCtl0 */ macro
/linux-6.12.1/arch/loongarch/mm/
Dtlb.c232 csr_write64(pwctl0, LOONGARCH_CSR_PWCTL0); in setup_ptwalker()
/linux-6.12.1/arch/loongarch/kvm/
Dmain.c66 set_gcsr_hw_flag(LOONGARCH_CSR_PWCTL0); in kvm_init_gcsr_flag()
Dvcpu.c1577 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()