Home
last modified time | relevance | path

Searched refs:csr_xchg32 (Results 1 – 5 of 5) sorted by relevance

/linux/arch/loongarch/kernel/
H A Dkfpu.c32 *euen_curr = csr_xchg32(euen_mask, euen_mask, LOONGARCH_CSR_EUEN); in kernel_fpu_begin()
72 *euen_curr = csr_xchg32(*euen_curr, euen_mask, LOONGARCH_CSR_EUEN); in kernel_fpu_end()
H A Dkgdb.c603 csr_xchg32(0, CSR_CRMD_WE, LOONGARCH_CSR_CRMD); in kgdb_disable_hw_break()
628 csr_xchg32(0, CSR_CRMD_WE, LOONGARCH_CSR_CRMD); in kgdb_remove_all_hw_break()
662 csr_xchg32(activated ? CSR_CRMD_WE : 0, CSR_CRMD_WE, LOONGARCH_CSR_CRMD); in kgdb_correct_hw_break()
H A Dtraps.c444 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()
/linux/arch/loongarch/include/asm/
H A Dlbt.h38 csr_xchg32(CSR_EUEN_LBTEN, CSR_EUEN_LBTEN, LOONGARCH_CSR_EUEN); in enable_lbt()
44 csr_xchg32(0, CSR_EUEN_LBTEN, LOONGARCH_CSR_EUEN); in disable_lbt()
H A Dloongarch.h175 #define csr_xchg32(val, mask, reg) __csrxchg_w(val, mask, reg) macro
1162 csr_xchg32(idx, CSR_TLBIDX_IDXM, LOONGARCH_CSR_TLBIDX); in write_csr_index()
1172 csr_xchg32(size << CSR_TLBIDX_SIZE, CSR_TLBIDX_SIZEM, LOONGARCH_CSR_TLBIDX); in write_csr_pagesize()
1282 csr_xchg32(val, val, LOONGARCH_CSR_ESTAT)
1284 csr_xchg32(~(val), val, LOONGARCH_CSR_ESTAT)