Searched refs:LOONGARCH_CSR_ECFG (Results 1 – 8 of 8) sorted by relevance
20 saved_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in save_processor_state()32 csr_write32(saved_ecfg, LOONGARCH_CSR_ECFG); in restore_processor_state()
37 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()
90 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_ECFG) : "=r" (regs->csr_ecfg)); in prepare_frametrace()
130 csrrd t0, LOONGARCH_CSR_ECFG
226 #define LOONGARCH_CSR_ECFG 0x4 /* Exception config */ macro1158 #define read_csr_ecfg() csr_read32(LOONGARCH_CSR_ECFG)1159 #define write_csr_ecfg(val) csr_write32(val, LOONGARCH_CSR_ECFG)
38 csrrd t2, LOONGARCH_CSR_ECFG
162 p->thread.csr_ecfg = csr_read32(LOONGARCH_CSR_ECFG); in copy_thread()
418 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()