Searched refs:csr_xchg32 (Results 1 – 5 of 5) sorted by relevance
/linux/arch/loongarch/kernel/ |
H A D | kfpu.c | 32 *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 D | kgdb.c | 603 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 D | traps.c | 444 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()
|
/linux/arch/loongarch/include/asm/ |
H A D | lbt.h | 38 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 D | loongarch.h | 175 #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)
|