Lines Matching full:gap
551 hwaddr base, size, ram_size, gap; in fdt_add_memory_nodes() local
557 gap = VIRT_LOWMEM_SIZE; in fdt_add_memory_nodes()
573 * lowram: [base, +gap) in fdt_add_memory_nodes()
574 * highram: [VIRT_HIGHMEM_BASE, +(len - gap)) in fdt_add_memory_nodes()
576 if (size >= gap) { in fdt_add_memory_nodes()
577 fdt_add_memory_node(ms, base, gap, i); in fdt_add_memory_nodes()
578 size -= gap; in fdt_add_memory_nodes()
580 gap = ram_size - VIRT_LOWMEM_SIZE; in fdt_add_memory_nodes()
586 gap -= size; in fdt_add_memory_nodes()
1085 hwaddr base, size, ram_size, gap; in fw_cfg_add_memory() local
1091 gap = VIRT_LOWMEM_SIZE; in fw_cfg_add_memory()
1105 if (size >= gap) { in fw_cfg_add_memory()
1106 memmap_add_entry(base, gap, 1); in fw_cfg_add_memory()
1107 size -= gap; in fw_cfg_add_memory()
1121 if (numa_info[0].node_mem < gap && ram_size > gap) { in fw_cfg_add_memory()
1124 * lowram: [base, +(gap - numa_info[0].node_mem)) in fw_cfg_add_memory()
1125 * highram: [VIRT_HIGHMEM_BASE, +(ram_size - gap)) in fw_cfg_add_memory()
1127 memmap_add_entry(base, gap - numa_info[0].node_mem, 1); in fw_cfg_add_memory()
1128 size = ram_size - gap; in fw_cfg_add_memory()