Searched refs:LOONGARCH_CSR_TLBIDX (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/arch/loongarch/mm/ |
D | tlbex.S | 174 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 180 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 322 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 329 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 469 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 476 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | loongarch.h | 337 #define LOONGARCH_CSR_TLBIDX 0x10 /* TLB Index, EHINV, PageSize, NP */ macro 1204 csr_xchg32(idx, CSR_TLBIDX_IDXM, LOONGARCH_CSR_TLBIDX); in write_csr_index() 1209 return (csr_read32(LOONGARCH_CSR_TLBIDX) & CSR_TLBIDX_SIZEM) >> CSR_TLBIDX_SIZE; in read_csr_pagesize() 1214 csr_xchg32(size << CSR_TLBIDX_SIZE, CSR_TLBIDX_SIZEM, LOONGARCH_CSR_TLBIDX); in write_csr_pagesize() 1239 #define read_csr_tlbidx() csr_read32(LOONGARCH_CSR_TLBIDX) 1240 #define write_csr_tlbidx(val) csr_write32(val, LOONGARCH_CSR_TLBIDX)
|