Home
last modified time | relevance | path

Searched refs:meminfo (Results 1 – 25 of 45) sorted by relevance

12

/arch/unicore32/include/asm/
Dmemblock.h27 struct meminfo { struct
32 extern struct meminfo meminfo; argument
44 extern void uc32_memblock_init(struct meminfo *);
/arch/unicore32/mm/
Dinit.c58 struct meminfo meminfo; variable
64 struct meminfo *mi = &meminfo; in show_mem()
110 struct meminfo *mi = &meminfo; in find_limits()
245 void __init uc32_memblock_init(struct meminfo *mi) in uc32_memblock_init()
249 sort(&meminfo.bank, meminfo.nr_banks, sizeof(meminfo.bank[0]), in uc32_memblock_init()
367 static void __init free_unused_memmap(struct meminfo *mi) in free_unused_memmap()
411 free_unused_memmap(&meminfo); in mem_init()
417 for_each_bank(i, &meminfo) { in mem_init()
418 struct membank *bank = &meminfo.bank[i]; in mem_init()
Dmmu.c292 for (i = 0, j = 0; i < meminfo.nr_banks; i++) { in sanity_check_meminfo()
293 struct membank *bank = &meminfo.bank[j]; in sanity_check_meminfo()
294 *bank = meminfo.bank[i]; in sanity_check_meminfo()
297 meminfo.nr_banks = j; in sanity_check_meminfo()
/arch/arm/include/asm/
Dmemblock.h4 struct meminfo;
7 extern void arm_memblock_init(struct meminfo *, struct machine_desc *);
Dsetup.h203 struct meminfo { struct
208 extern struct meminfo meminfo; argument
/arch/unicore32/kernel/
Dsetup.c132 struct membank *bank = &meminfo.bank[meminfo.nr_banks]; in uc32_add_memory()
134 if (meminfo.nr_banks >= NR_BANKS) { in uc32_add_memory()
156 meminfo.nr_banks++; in uc32_add_memory()
177 meminfo.nr_banks = 0; in early_mem()
192 request_standard_resources(struct meminfo *mi) in request_standard_resources()
254 uc32_memblock_init(&meminfo); in setup_arch()
257 request_standard_resources(&meminfo); in setup_arch()
/arch/arm/mach-realview/
Drealview_pbx.c332 struct meminfo *meminfo) in realview_pbx_fixup() argument
339 meminfo->bank[0].start = 0; in realview_pbx_fixup()
340 meminfo->bank[0].size = SZ_256M; in realview_pbx_fixup()
341 meminfo->bank[1].start = 0x20000000; in realview_pbx_fixup()
342 meminfo->bank[1].size = SZ_512M; in realview_pbx_fixup()
343 meminfo->bank[2].start = 0x80000000; in realview_pbx_fixup()
344 meminfo->bank[2].size = SZ_256M; in realview_pbx_fixup()
345 meminfo->nr_banks = 3; in realview_pbx_fixup()
347 realview_fixup(tags, from, meminfo); in realview_pbx_fixup()
Dcore.c519 void realview_fixup(struct tag *tags, char **from, struct meminfo *meminfo) in realview_fixup() argument
526 meminfo->bank[0].start = 0x70000000; in realview_fixup()
527 meminfo->bank[0].size = SZ_512M; in realview_fixup()
528 meminfo->nr_banks = 1; in realview_fixup()
530 meminfo->bank[0].start = 0; in realview_fixup()
531 meminfo->bank[0].size = SZ_256M; in realview_fixup()
532 meminfo->nr_banks = 1; in realview_fixup()
Dcore.h57 struct meminfo *meminfo);
Drealview_pb1176.c346 struct meminfo *meminfo) in realview_pb1176_fixup() argument
351 meminfo->bank[0].start = 0; in realview_pb1176_fixup()
352 meminfo->bank[0].size = SZ_128M; in realview_pb1176_fixup()
353 meminfo->nr_banks = 1; in realview_pb1176_fixup()
/arch/arm/mach-clps711x/
Dfortunet.c36 struct meminfo memmap = {
60 fortunet_fixup(struct tag *tags, char **cmdline, struct meminfo *mi) in fortunet_fixup()
Dclep7312.c29 fixup_clep7312(struct tag *tags, char **cmdline, struct meminfo *mi) in fixup_clep7312()
Dedb7211-arch.c40 fixup_edb7211(struct tag *tags, char **cmdline, struct meminfo *mi) in fixup_edb7211()
/arch/arm/include/asm/mach/
Darch.h14 struct meminfo;
39 struct meminfo *);
/arch/arm/mm/
Dinit.c90 struct meminfo meminfo; variable
96 struct meminfo * mi = &meminfo; in show_mem()
142 struct meminfo *mi = &meminfo; in find_limits()
328 void __init arm_memblock_init(struct meminfo *mi, struct machine_desc *mdesc) in arm_memblock_init()
474 static void __init free_unused_memmap(struct meminfo *mi) in free_unused_memmap()
594 free_unused_memmap(&meminfo); in mem_init()
608 for_each_bank(i, &meminfo) { in mem_init()
609 struct membank *bank = &meminfo.bank[i]; in mem_init()
Dnommu.c33 phys_addr_t end = bank_phys_end(&meminfo.bank[meminfo.nr_banks - 1]); in sanity_check_meminfo()
/arch/arm/mach-orion5x/
Dcommon.h56 struct meminfo;
58 extern void __init tag_fixup_mem32(struct tag *, char **, struct meminfo *);
/arch/arm/kernel/
Dsetup.c512 struct membank *bank = &meminfo.bank[meminfo.nr_banks]; in arm_add_memory()
514 if (meminfo.nr_banks >= NR_BANKS) { in arm_add_memory()
549 meminfo.nr_banks++; in arm_add_memory()
571 meminfo.nr_banks = 0; in early_mem()
909 mdesc->fixup(tags, &from, &meminfo); in setup_machine_tags()
912 if (meminfo.nr_banks != 0) in setup_machine_tags()
962 sort(&meminfo.bank, meminfo.nr_banks, sizeof(meminfo.bank[0]), meminfo_cmp, NULL); in setup_arch()
964 arm_memblock_init(&meminfo, mdesc); in setup_arch()
/arch/arm/mach-pxa/
Deseries.h1 void __init eseries_fixup(struct tag *tags, char **cmdline, struct meminfo *mi);
/arch/xtensa/include/asm/
Dbootparam.h39 typedef struct meminfo { struct
/arch/arm/mach-msm/
Dboard-halibut.c87 struct meminfo *mi) in halibut_fixup()
Dboard-mahimahi.c57 struct meminfo *mi) in mahimahi_fixup()
Dboard-trout.c58 struct meminfo *mi) in trout_fixup()
Dboard-sapphire.c79 struct meminfo *mi) in sapphire_fixup()
/arch/arm/mach-footbridge/
Dcats-hw.c79 fixup_cats(struct tag *tags, char **cmdline, struct meminfo *mi) in fixup_cats()

12