Searched refs:csr_write32 (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/loongarch/power/ |
D | hibernate.c | 29 csr_write32(saved_crmd, LOONGARCH_CSR_CRMD); in restore_processor_state() 30 csr_write32(saved_prmd, LOONGARCH_CSR_PRMD); in restore_processor_state() 31 csr_write32(saved_euen, LOONGARCH_CSR_EUEN); in restore_processor_state() 32 csr_write32(saved_ecfg, LOONGARCH_CSR_ECFG); in restore_processor_state()
|
D | suspend.c | 55 csr_write32(saved_regs.pwctl0, LOONGARCH_CSR_PWCTL0); in loongarch_common_resume() 56 csr_write32(saved_regs.pwctl1, LOONGARCH_CSR_PWCTL1); in loongarch_common_resume() 57 csr_write32(saved_regs.ecfg, LOONGARCH_CSR_ECFG); in loongarch_common_resume() 58 csr_write32(saved_regs.euen, LOONGARCH_CSR_EUEN); in loongarch_common_resume()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | loongarch.h | 173 #define csr_write32(val, reg) __csrwr_w(val, reg) macro 1186 #define write_csr_asid(val) csr_write32(val, LOONGARCH_CSR_ASID) 1194 #define write_csr_ecfg(val) csr_write32(val, LOONGARCH_CSR_ECFG) 1196 #define write_csr_estat(val) csr_write32(val, LOONGARCH_CSR_ESTAT) 1198 #define write_csr_tlbidx(val) csr_write32(val, LOONGARCH_CSR_TLBIDX) 1200 #define write_csr_euen(val) csr_write32(val, LOONGARCH_CSR_EUEN) 1209 #define write_csr_stlbpgsize(val) csr_write32(val, LOONGARCH_CSR_STLBPGSIZE) 1211 #define write_csr_rvacfg(val) csr_write32(val, LOONGARCH_CSR_RVACFG) 1212 #define write_csr_tintclear(val) csr_write32(val, LOONGARCH_CSR_TINTCLR)
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | hw_breakpoint.c | 487 csr_write32(0x1 << i, LOONGARCH_CSR_FWPS); in breakpoint_handler() 507 csr_write32(0x1 << i, LOONGARCH_CSR_MWPS); in watchpoint_handler() 542 csr_write32(CSR_FWPC_SKIP, LOONGARCH_CSR_FWPS); in hw_breakpoint_thread_switch()
|
D | traps.c | 808 csr_write32(CSR_FWPC_SKIP, LOONGARCH_CSR_FWPS); in do_watch() 809 csr_write32(CSR_LLBCTL_KLO, LOONGARCH_CSR_LLBCTL); in do_watch() 825 csr_write32(CSR_FWPC_SKIP, LOONGARCH_CSR_FWPS); in do_watch()
|