Searched refs:LOONGARCH_CSR_TLBIDX (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/loongarch/mm/ |
D | tlbex.S | 176 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 182 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 334 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 341 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 491 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX 498 csrxchg t1, t0, LOONGARCH_CSR_TLBIDX
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | loongarch.h | 262 #define LOONGARCH_CSR_TLBIDX 0x10 /* TLB Index, EHINV, PageSize, NP */ macro 1162 csr_xchg32(idx, CSR_TLBIDX_IDXM, LOONGARCH_CSR_TLBIDX); in write_csr_index() 1167 return (csr_read32(LOONGARCH_CSR_TLBIDX) & CSR_TLBIDX_SIZEM) >> CSR_TLBIDX_SIZE; in read_csr_pagesize() 1172 csr_xchg32(size << CSR_TLBIDX_SIZE, CSR_TLBIDX_SIZEM, LOONGARCH_CSR_TLBIDX); in write_csr_pagesize() 1197 #define read_csr_tlbidx() csr_read32(LOONGARCH_CSR_TLBIDX) 1198 #define write_csr_tlbidx(val) csr_write32(val, LOONGARCH_CSR_TLBIDX)
|
D | kvm_csr.h | 124 #define read_gcsr_tlbidx() gcsr_read(LOONGARCH_CSR_TLBIDX) 125 #define write_gcsr_tlbidx(val) gcsr_write(val, LOONGARCH_CSR_TLBIDX)
|
/linux-6.12.1/arch/loongarch/kvm/ |
D | main.c | 58 set_gcsr_hw_flag(LOONGARCH_CSR_TLBIDX); in kvm_init_gcsr_flag()
|
D | vcpu.c | 1570 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_TLBIDX); in _kvm_vcpu_load() 1656 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_TLBIDX); in _kvm_vcpu_put()
|