Home
last modified time | relevance | path

Searched refs:pwctl1 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/loongarch/power/
H A Dsuspend.c26 u32 pwctl1; member
36 saved_regs.pwctl1 = csr_read32(LOONGARCH_CSR_PWCTL1); in loongarch_common_suspend()
55 csr_write32(saved_regs.pwctl1, LOONGARCH_CSR_PWCTL1); in loongarch_common_resume()
/openbmc/linux/arch/loongarch/mm/
H A Dtlb.c206 unsigned long pwctl0, pwctl1; in setup_ptwalker() local
226 pwctl1 = pgd_i | pgd_w << 6; in setup_ptwalker()
229 pwctl1 |= CSR_PWCTL1_PTW; in setup_ptwalker()
232 csr_write64(pwctl1, LOONGARCH_CSR_PWCTL1); in setup_ptwalker()