Searched refs:loongson_memmap (Results 1 – 4 of 4) sorted by relevance
66 for (i = 0; i < loongson_memmap->nr_map; i++) { in prom_init_memory()67 node_id = loongson_memmap->map[i].node_id; in prom_init_memory()68 mem_type = loongson_memmap->map[i].mem_type; in prom_init_memory()73 add_memory_region(loongson_memmap->map[i].mem_start, in prom_init_memory()74 (u64)loongson_memmap->map[i].mem_size << 20, in prom_init_memory()78 add_memory_region(loongson_memmap->map[i].mem_start, in prom_init_memory()79 (u64)loongson_memmap->map[i].mem_size << 20, in prom_init_memory()83 add_memory_region(loongson_memmap->map[i].mem_start, in prom_init_memory()84 (u64)loongson_memmap->map[i].mem_size << 20, in prom_init_memory()
28 struct efi_memory_map_loongson *loongson_memmap; variable88 loongson_memmap = (struct efi_memory_map_loongson *) in prom_init_env()
131 for (i = 0; i < loongson_memmap->nr_map; i++) { in szmem()132 node_id = loongson_memmap->map[i].node_id; in szmem()136 mem_type = loongson_memmap->map[i].mem_type; in szmem()137 mem_size = loongson_memmap->map[i].mem_size; in szmem()138 mem_start = loongson_memmap->map[i].mem_start; in szmem()
218 extern struct efi_memory_map_loongson *loongson_memmap;