Searched refs:mem_detect (Results 1 – 8 of 8) sorted by relevance
36 extern struct mem_detect_info mem_detect;43 if (n >= mem_detect.count) { in __get_mem_detect_block()50 *start = (unsigned long)mem_detect.entries[n].start; in __get_mem_detect_block()51 *end = (unsigned long)mem_detect.entries[n].end; in __get_mem_detect_block()53 *start = (unsigned long)mem_detect.entries_extended[n - MEM_INLINED_ENTRIES].start; in __get_mem_detect_block()54 *end = (unsigned long)mem_detect.entries_extended[n - MEM_INLINED_ENTRIES].end; in __get_mem_detect_block()69 i < mem_detect.count; \75 *start = (unsigned long)mem_detect.entries_extended; in get_mem_detect_reserved()76 if (mem_detect.count > MEM_INLINED_ENTRIES) in get_mem_detect_reserved()77 *size = (mem_detect.count - MEM_INLINED_ENTRIES) * sizeof(struct mem_detect_block); in get_mem_detect_reserved()[all …]
13 struct mem_detect_info __bootdata(mem_detect);39 return &mem_detect.entries[n]; in __get_mem_detect_block_ptr()40 if (unlikely(!mem_detect.entries_extended)) in __get_mem_detect_block_ptr()41 mem_detect.entries_extended = mem_detect_alloc_extended(); in __get_mem_detect_block_ptr()42 return &mem_detect.entries_extended[n - MEM_INLINED_ENTRIES]; in __get_mem_detect_block_ptr()53 if (mem_detect.count) { in add_mem_detect_block()54 block = __get_mem_detect_block_ptr(mem_detect.count - 1); in add_mem_detect_block()61 block = __get_mem_detect_block_ptr(mem_detect.count); in add_mem_detect_block()64 mem_detect.count++; in add_mem_detect_block()173 mem_detect.info_source = MEM_DETECT_SCLP_STOR_INFO; in detect_memory()[all …]
38 obj-y := head.o als.o startup.o mem_detect.o ipl_parm.o ipl_report.o
70 if (soc_info.mem_detect) in plat_mem_setup()71 soc_info.mem_detect(); in plat_mem_setup()
20 void (*mem_detect)(void); member
214 soc_info->mem_detect = mt7621_memory_detect; in prom_soc_init()
149 struct mem_detect_info __bootdata(mem_detect);762 switch (mem_detect.info_source) { in get_mem_info_source()781 get_mem_info_source(), mem_detect.info_source); in memblock_add_mem_detect_info()
361 mem_detect.count = 0; in sclp_early_read_storage_info()