Searched refs:CSR_STLBPS (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/target/loongarch/tcg/ |
| H A D | csr_helper.c | 23 int64_t old_v = env->CSR_STLBPS; in helper_csrwr_stlbps() 29 uint8_t tlb_ps = FIELD_EX64(val, CSR_STLBPS, PS); in helper_csrwr_stlbps() 35 val = FIELD_DP64(val, CSR_STLBPS, RESERVE, 0); in helper_csrwr_stlbps() 36 env->CSR_STLBPS = val; in helper_csrwr_stlbps()
|
| H A D | tlb_helper.c | 244 stlb_ps = FIELD_EX64(env->CSR_STLBPS, CSR_STLBPS, PS); in loongarch_tlb_search() 404 stlb_ps = FIELD_EX64(env->CSR_STLBPS, CSR_STLBPS, PS); in helper_tlbflush()
|
| /openbmc/qemu/target/loongarch/ |
| H A D | cpu-csr.h | 114 FIELD(CSR_STLBPS, PS, 0, 5) 115 FIELD(CSR_STLBPS, RESERVE, 5, 27)
|
| H A D | machine.c | 218 VMSTATE_UINT64(env.CSR_STLBPS, LoongArchCPU),
|
| H A D | cpu.c | 475 /* set CSR_PWCL.PTBASE and CSR_STLBPS.PS bits from CSR_PRCFG2 */ in loongarch_la464_initfn() 480 env->CSR_STLBPS = FIELD_DP64(env->CSR_STLBPS, CSR_STLBPS, PS, tlb_ps); in loongarch_la464_initfn()
|
| H A D | cpu.h | 329 uint64_t CSR_STLBPS; 340 uint64_t CSR_STLBPS; global() member
|
| /openbmc/qemu/target/loongarch/kvm/ |
| H A D | kvm.c | 224 &env->CSR_STLBPS); in kvm_loongarch_get_csr() 394 &env->CSR_STLBPS); in kvm_loongarch_put_csr()
|