Home
last modified time | relevance | path

Searched refs:ptindex (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/loongarch/tcg/
H A Dtlb_helper.c556 target_ulong phys, tmp0, ptindex, ptoffset0, ptoffset1, ps, badv; in helper_ldpte() local
603 ptindex = (badv >> ptbase) & ((1 << ptwidth) - 1); in helper_ldpte()
604 ptindex = ptindex & ~0x1; /* clear bit 0 */ in helper_ldpte()
605 ptoffset0 = ptindex << shift; in helper_ldpte()
606 ptoffset1 = (ptindex + 1) << shift; in helper_ldpte()
/openbmc/qemu/target/mips/tcg/sysemu/
H A Dtlb_helper.c731 int ptindex = (address >> pf_ptw) & ((1 << ptw) - 1); in page_table_walk_refill() local
771 ptoffset0 = (ptindex >> 1) << (leaf_mop + 1); in page_table_walk_refill()