Lines Matching refs:address_map
13 } address_map[CONFIG_SYS_NUM_ADDR_MAP]; variable
22 if (address_map[i].size == 0) in addrmap_virt_to_phys()
26 base = (u64)(address_map[i].vaddr); in addrmap_virt_to_phys()
27 upper = (u64)(address_map[i].size) + base - 1; in addrmap_virt_to_phys()
30 return addr - address_map[i].vaddr + address_map[i].paddr; in addrmap_virt_to_phys()
44 if (address_map[i].size == 0) in addrmap_phys_to_virt()
47 base = address_map[i].paddr; in addrmap_phys_to_virt()
48 upper = address_map[i].size + base - 1; in addrmap_phys_to_virt()
53 offset = address_map[i].paddr - address_map[i].vaddr; in addrmap_phys_to_virt()
68 address_map[idx].vaddr = vaddr; in addrmap_set_entry()
69 address_map[idx].paddr = paddr; in addrmap_set_entry()
70 address_map[idx].size = size; in addrmap_set_entry()