Home
last modified time | relevance | path

Searched refs:boot_mem_map (Results 1 – 11 of 11) sorted by relevance

/arch/mips/kernel/
Dsetup.c60 struct boot_mem_map boot_mem_map; variable
81 int x = boot_mem_map.nr_map; in add_memory_region()
82 struct boot_mem_map_entry *prev = boot_mem_map.map + x - 1; in add_memory_region()
104 boot_mem_map.map[x].addr = start; in add_memory_region()
105 boot_mem_map.map[x].size = size; in add_memory_region()
106 boot_mem_map.map[x].type = type; in add_memory_region()
107 boot_mem_map.nr_map++; in add_memory_region()
115 for (i = 0; i < boot_mem_map.nr_map; i++) { in print_memory_map()
117 field, (unsigned long long) boot_mem_map.map[i].size, in print_memory_map()
118 field, (unsigned long long) boot_mem_map.map[i].addr); in print_memory_map()
[all …]
/arch/mips/mipssim/
Dsim_mem.c107 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
108 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
111 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
113 addr, addr + boot_mem_map.map[i].size); in prom_free_prom_memory()
/arch/mips/include/asm/
Dbootinfo.h95 struct boot_mem_map { struct
104 extern struct boot_mem_map boot_mem_map; argument
/arch/mips/fw/arc/
Dmemory.c152 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
153 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
156 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
158 addr, addr + boot_mem_map.map[i].size); in prom_free_prom_memory()
/arch/mips/mti-malta/
Dmalta-memory.c170 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
171 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
174 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
176 addr, addr + boot_mem_map.map[i].size); in prom_free_prom_memory()
/arch/mips/powertv/
Dmemory.c346 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
347 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
350 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
352 addr, addr + boot_mem_map.map[i].size); in prom_free_prom_memory()
/arch/mips/mm/
Dinit.c304 for (i = 0; i < boot_mem_map.nr_map; i++) { in page_is_ram()
307 switch (boot_mem_map.map[i].type) { in page_is_ram()
316 addr = PFN_UP(boot_mem_map.map[i].addr); in page_is_ram()
317 end = PFN_DOWN(boot_mem_map.map[i].addr + in page_is_ram()
318 boot_mem_map.map[i].size); in page_is_ram()
/arch/mips/pmc-sierra/msp71xx/
Dmsp_prom.c410 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
411 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
414 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
416 addr, addr + boot_mem_map.map[i].size); in prom_free_prom_memory()
/arch/mips/sgi-ip22/
Dip28-berr.c309 for (i = 0; i < boot_mem_map.nr_map; i++) { in addr_is_ram()
310 unsigned long a = boot_mem_map.map[i].addr; in addr_is_ram()
311 if (a <= addr && addr+sz <= a+boot_mem_map.map[i].size) in addr_is_ram()
/arch/mips/cavium-octeon/
Ddma-octeon.c273 for (i = 0 ; i < boot_mem_map.nr_map; i++) { in plat_swiotlb_setup()
274 struct boot_mem_map_entry *e = &boot_mem_map.map[i]; in plat_swiotlb_setup()
Dsetup.c661 while ((boot_mem_map.nr_map < BOOT_MEM_MAP_MAX) in plat_mem_setup()