Home
last modified time | relevance | path

Searched refs:ptidxbits (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dmonitor.c83 int level, int ptidxbits, int ptesize, int va_bits, in walk_pte()
101 ptshift = level * ptidxbits; in walk_pte()
104 for (idx = 0; idx < (1UL << ptidxbits); idx++) { in walk_pte()
138 walk_pte(mon, as, paddr, start, level - 1, ptidxbits, ptesize, in walk_pte()
152 int levels, ptidxbits, ptesize, vm, va_bits; in mem_info_svxx()
171 ptidxbits = 10; in mem_info_svxx()
176 ptidxbits = 9; in mem_info_svxx()
181 ptidxbits = 9; in mem_info_svxx()
186 ptidxbits = 9; in mem_info_svxx()
194 va_bits = PGSHIFT + levels * ptidxbits; in mem_info_svxx()
81 walk_pte(Monitor * mon,hwaddr base,target_ulong start,int level,int ptidxbits,int ptesize,int va_bits,target_ulong * vbase,hwaddr * pbase,hwaddr * last_paddr,target_ulong * last_size,int * last_attr) walk_pte() argument
148 int levels, ptidxbits, ptesize, vm, va_bits; mem_info_svxx() local
[all...]
H A Dcpu_helper.c1235 int levels, ptidxbits, ptesize, vm, widened; in get_physical_address()
1269 levels = 2; ptidxbits = 10; ptesize = 4; break; in get_physical_address()
1271 levels = 3; ptidxbits = 9; ptesize = 8; break; in get_physical_address()
1273 levels = 4; ptidxbits = 9; ptesize = 8; break; in get_physical_address()
1275 levels = 5; ptidxbits = 9; ptesize = 8; break; in get_physical_address()
1285 int va_bits = PGSHIFT + levels * ptidxbits + widened; in get_physical_address()
1319 int ptshift = (levels - 1) * ptidxbits; in get_physical_address()
1325 for (i = 0; i < levels; i++, ptshift -= ptidxbits) { in get_physical_address()
1329 ((1 << (ptidxbits + widened)) - 1); in get_physical_address()
1332 ((1 << ptidxbits) in get_physical_address()
1234 int levels, ptidxbits, ptesize, vm, widened; get_physical_address() local
[all...]
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c262 unsigned char ptidxbits; in riscv_iommu_spa_fetch()
317 sc[pass].ptidxbits = 0; in riscv_iommu_spa_fetch()
326 sc[pass].ptidxbits = 10; in riscv_iommu_spa_fetch()
337 sc[pass].ptidxbits = 0; in riscv_iommu_spa_fetch()
346 sc[pass].ptidxbits = 9; in riscv_iommu_spa_fetch()
355 sc[pass].ptidxbits = 9; in riscv_iommu_spa_fetch()
364 sc[pass].ptidxbits = 9; in riscv_iommu_spa_fetch()
382 const unsigned va_bits = widened + sc[pass].ptidxbits; in riscv_iommu_spa_fetch()
383 const unsigned va_skip = TARGET_PAGE_BITS + sc[pass].ptidxbits * in riscv_iommu_spa_fetch()
894 unsigned char ptidxbits; in pdt_memory_read()
260 unsigned char ptidxbits; riscv_iommu_spa_fetch() member
892 unsigned char ptidxbits; pdt_memory_read() member
[all...]