Searched refs:csr_xchg32 (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/arch/loongarch/include/asm/ |
D | fpu.h | 212 csr_xchg32(CSR_EUEN_LSXEN, CSR_EUEN_LSXEN, LOONGARCH_CSR_EUEN); in enable_lsx() 218 csr_xchg32(0, CSR_EUEN_LSXEN, LOONGARCH_CSR_EUEN); in disable_lsx() 260 csr_xchg32(CSR_EUEN_LASXEN, CSR_EUEN_LASXEN, LOONGARCH_CSR_EUEN); in enable_lasx() 266 csr_xchg32(0, CSR_EUEN_LASXEN, LOONGARCH_CSR_EUEN); in disable_lasx()
|
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()
|
D | loongarch.h | 168 #define csr_xchg32(val, mask, reg) __csrxchg_w(val, mask, reg) macro 1127 csr_xchg32(idx, CSR_TLBIDX_IDXM, LOONGARCH_CSR_TLBIDX); in write_csr_index() 1137 csr_xchg32(size << CSR_TLBIDX_SIZE, CSR_TLBIDX_SIZEM, LOONGARCH_CSR_TLBIDX); in write_csr_pagesize() 1247 csr_xchg32(val, val, LOONGARCH_CSR_ESTAT) 1249 csr_xchg32(~(val), val, LOONGARCH_CSR_ESTAT)
|
/linux-6.6.21/arch/loongarch/kernel/ |
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()
|
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()
|
D | traps.c | 418 csr_xchg32(vs<<CSR_ECFG_VS_SHIFT, CSR_ECFG_VS, LOONGARCH_CSR_ECFG); in setup_vint_size()
|