Searched refs:pwctl1 (Results 1 – 2 of 2) sorted by relevance
26 u32 pwctl1; member36 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()
206 unsigned long pwctl0, pwctl1; in setup_ptwalker() local226 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()