Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_ECFG (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/loongarch/power/
Dhibernate.c20 saved_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in save_processor_state()
32 csr_write32(saved_ecfg, LOONGARCH_CSR_ECFG); in restore_processor_state()
Dsuspend.c37 saved_regs.ecfg = csr_read32(LOONGARCH_CSR_ECFG); in loongarch_common_suspend()
56 csr_write32(saved_regs.ecfg, LOONGARCH_CSR_ECFG); in loongarch_common_resume()
/linux-6.6.21/arch/loongarch/include/asm/
Dstacktrace.h90 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_ECFG) : "=r" (regs->csr_ecfg)); in prepare_frametrace()
Dstackframe.h130 csrrd t0, LOONGARCH_CSR_ECFG
Dloongarch.h226 #define LOONGARCH_CSR_ECFG 0x4 /* Exception config */ macro
1158 #define read_csr_ecfg() csr_read32(LOONGARCH_CSR_ECFG)
1159 #define write_csr_ecfg(val) csr_write32(val, LOONGARCH_CSR_ECFG)
/linux-6.6.21/arch/loongarch/kernel/
Dentry.S38 csrrd t2, LOONGARCH_CSR_ECFG
Dprocess.c162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
Dtraps.c418 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()