Searched refs:stlb_ps (Results 1 – 2 of 2) sorted by relevance
96 uint8_t tlb_e, tlb_ps, tlb_g, stlb_ps; in loongarch_tlb_search() local101 stlb_ps = FIELD_EX64(env->CSR_STLBPS, CSR_STLBPS, PS); in loongarch_tlb_search()102 vpn = (vaddr & TARGET_VIRT_MASK) >> (stlb_ps + 1); in loongarch_tlb_search()104 compare_shift = stlb_ps + 1 - R_TLB_MISC_VPPN_SHIFT; in loongarch_tlb_search()
291 uint16_t pagesize, stlb_ps; in helper_tlbfill() local301 stlb_ps = FIELD_EX64(env->CSR_STLBPS, CSR_STLBPS, PS); in helper_tlbfill()303 if (pagesize == stlb_ps) { in helper_tlbfill()311 stlb_idx = (address >> (stlb_ps + 1)) & 0xff; /* [0,255] */ in helper_tlbfill()