Lines Matching refs:bat_addrs
47 } bat_addrs[8]; variable
55 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b) in v_block_mapped()
56 if (va >= bat_addrs[b].start && va < bat_addrs[b].limit) in v_block_mapped()
57 return bat_addrs[b].phys + (va - bat_addrs[b].start); in v_block_mapped()
67 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b) in p_block_mapped()
68 if (pa >= bat_addrs[b].phys in p_block_mapped()
69 && pa < (bat_addrs[b].limit-bat_addrs[b].start) in p_block_mapped()
70 +bat_addrs[b].phys) in p_block_mapped()
71 return bat_addrs[b].start+(pa-bat_addrs[b].phys); in p_block_mapped()
96 done = (unsigned long)bat_addrs[2].limit - PAGE_OFFSET + 1; in mmu_mapin_ram()
97 if ((done < tot) && !bat_addrs[3].limit) { in mmu_mapin_ram()
104 done = (unsigned long)bat_addrs[3].limit - PAGE_OFFSET + 1; in mmu_mapin_ram()
157 bat_addrs[index].start = virt; in setbat()
158 bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; in setbat()
159 bat_addrs[index].phys = phys; in setbat()