Searched refs:loongson_memmap (Results 1 – 4 of 4) sorted by relevance
64 for (i = 0; i < loongson_memmap->nr_map; i++) { in prom_init_memory()65 node_id = loongson_memmap->map[i].node_id; in prom_init_memory()66 mem_type = loongson_memmap->map[i].mem_type; in prom_init_memory()73 memblock_add(loongson_memmap->map[i].mem_start, in prom_init_memory()74 (u64)loongson_memmap->map[i].mem_size << 20); in prom_init_memory()77 memblock_add(loongson_memmap->map[i].mem_start, in prom_init_memory()78 (u64)loongson_memmap->map[i].mem_size << 20); in prom_init_memory()81 memblock_reserve(loongson_memmap->map[i].mem_start, in prom_init_memory()82 (u64)loongson_memmap->map[i].mem_size << 20); in prom_init_memory()
24 struct efi_memory_map_loongson *loongson_memmap; variable84 loongson_memmap = (struct efi_memory_map_loongson *) in prom_init_env()
126 for (i = 0; i < loongson_memmap->nr_map; i++) { in szmem()127 node_id = loongson_memmap->map[i].node_id; in szmem()131 mem_type = loongson_memmap->map[i].mem_type; in szmem()132 mem_size = loongson_memmap->map[i].mem_size; in szmem()133 mem_start = loongson_memmap->map[i].mem_start; in szmem()
218 extern struct efi_memory_map_loongson *loongson_memmap;