Lines Matching refs:bat_addrs
55 } bat_addrs[4]; variable
64 if (va >= bat_addrs[b].start && va < bat_addrs[b].limit) in v_mapped_by_bats()
65 return bat_addrs[b].phys + (va - bat_addrs[b].start); in v_mapped_by_bats()
76 if (pa >= bat_addrs[b].phys in p_mapped_by_bats()
77 && pa < (bat_addrs[b].limit-bat_addrs[b].start) in p_mapped_by_bats()
78 +bat_addrs[b].phys) in p_mapped_by_bats()
79 return bat_addrs[b].start+(pa-bat_addrs[b].phys); in p_mapped_by_bats()
89 done = (unsigned long)bat_addrs[2].limit - KERNELBASE + 1; in bat_mapin_ram()
90 if ((done < tot) && !bat_addrs[3].limit && bat3) { in bat_mapin_ram()
145 bat_addrs[index].start = virt; in setbat()
146 bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; in setbat()
147 bat_addrs[index].phys = phys; in setbat()