Searched refs:CSR_TLBIDX (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/target/loongarch/tcg/ |
H A D | tlb_helper.c | 180 csr_ps = FIELD_EX64(env->CSR_TLBIDX, CSR_TLBIDX, PS); in fill_tlb_entry() 228 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, INDEX, index); in helper_tlbsrch() 229 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 0); in helper_tlbsrch() 233 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 1); in helper_tlbsrch() 242 index = FIELD_EX64(env->CSR_TLBIDX, CSR_TLBIDX, INDEX); in helper_tlbrd() 254 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 1); in helper_tlbrd() 259 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, PS, 0); in helper_tlbrd() 262 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, NE, 0); in helper_tlbrd() 263 env->CSR_TLBIDX = FIELD_DP64(env->CSR_TLBIDX, CSR_TLBIDX, in helper_tlbrd() 278 if (FIELD_EX64(env->CSR_TLBIDX, CSR_TLBIDX, NE)) { in helper_tlbwr() [all …]
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu-csr.h | 55 FIELD(CSR_TLBIDX, INDEX, 0, 12) 56 FIELD(CSR_TLBIDX, PS, 24, 6) 57 FIELD(CSR_TLBIDX, NE, 31, 1)
|
H A D | machine.c | 165 VMSTATE_UINT64(env.CSR_TLBIDX, LoongArchCPU),
|
H A D | cpu.h | 305 uint64_t CSR_TLBIDX; member
|
/openbmc/qemu/target/loongarch/kvm/ |
H A D | kvm.c | 116 &env->CSR_TLBIDX); in kvm_loongarch_get_csr() 286 &env->CSR_TLBIDX); in kvm_loongarch_put_csr()
|