Home
last modified time | relevance | path

Searched refs:csr_write32 (Results 1 – 4 of 4) sorted by relevance

/linux/arch/loongarch/power/
H A Dhibernate.c29 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()
/linux/arch/loongarch/include/asm/
H A Dloongarch.h173 #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/arch/loongarch/kernel/
H A Dhw_breakpoint.c487 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()
H A Dtraps.c808 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()