Searched refs:LOONGARCH_CSR_TLBIDX (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/arch/loongarch/mm/ |
D | tlbex.S | 172 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 178 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 327 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 334 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 481 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 488 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | loongarch.h | 254 #define LOONGARCH_CSR_TLBIDX 0x10 /* TLB Index, EHINV, PageSize, NP */ macro 1127 csr_xchg32(idx, CSR_TLBIDX_IDXM, LOONGARCH_CSR_TLBIDX); in write_csr_index() 1132 return (csr_read32(LOONGARCH_CSR_TLBIDX) & CSR_TLBIDX_SIZEM) >> CSR_TLBIDX_SIZE; in read_csr_pagesize() 1137 csr_xchg32(size << CSR_TLBIDX_SIZE, CSR_TLBIDX_SIZEM, LOONGARCH_CSR_TLBIDX); in write_csr_pagesize() 1162 #define read_csr_tlbidx() csr_read32(LOONGARCH_CSR_TLBIDX) 1163 #define write_csr_tlbidx(val) csr_write32(val, LOONGARCH_CSR_TLBIDX)
|