Lines Matching refs:bat_addrs
46 } bat_addrs[8]; variable
58 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b) in v_block_mapped()
59 if (va >= bat_addrs[b].start && va < bat_addrs[b].limit) in v_block_mapped()
60 return bat_addrs[b].phys + (va - bat_addrs[b].start); in v_block_mapped()
70 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b) in p_block_mapped()
71 if (pa >= bat_addrs[b].phys in p_block_mapped()
72 && pa < (bat_addrs[b].limit-bat_addrs[b].start) in p_block_mapped()
73 +bat_addrs[b].phys) in p_block_mapped()
74 return bat_addrs[b].start+(pa-bat_addrs[b].phys); in p_block_mapped()
243 if (bat_addrs[i].start < (unsigned long)__end_rodata) in mmu_mark_rodata_ro()
290 bat_addrs[index].start = virt; in setbat()
291 bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; in setbat()
292 bat_addrs[index].phys = phys; in setbat()