Searched refs:nr_banks (Results 1 – 25 of 44) sorted by relevance
12
/arch/xtensa/mm/ |
D | init.c | 60 for (i = 0; i < sysmem.nr_banks; i++) in mem_reserve() 65 if (i == sysmem.nr_banks) { in mem_reserve() 75 if (sysmem.nr_banks >= SYSMEM_BANKS_MAX) in mem_reserve() 77 sysmem.bank[sysmem.nr_banks].start = end; in mem_reserve() 78 sysmem.bank[sysmem.nr_banks].end = sysmem.bank[i].end; in mem_reserve() 79 sysmem.nr_banks++; in mem_reserve() 87 sysmem.nr_banks--; in mem_reserve() 88 sysmem.bank[i].start = sysmem.bank[sysmem.nr_banks].start; in mem_reserve() 89 sysmem.bank[i].end = sysmem.bank[sysmem.nr_banks].end; in mem_reserve() 109 for (i=0; i < sysmem.nr_banks; i++) { in bootmem_init() [all …]
|
/arch/xtensa/kernel/ |
D | setup.c | 120 if (sysmem.nr_banks >= SYSMEM_BANKS_MAX) { in parse_tag_mem() 127 sysmem.bank[sysmem.nr_banks].type = mi->type; in parse_tag_mem() 128 sysmem.bank[sysmem.nr_banks].start = PAGE_ALIGN(mi->start); in parse_tag_mem() 129 sysmem.bank[sysmem.nr_banks].end = mi->end & PAGE_SIZE; in parse_tag_mem() 130 sysmem.nr_banks++; in parse_tag_mem() 206 sysmem.nr_banks = 0; in init_arch() 217 if (sysmem.nr_banks == 0) { in init_arch() 218 sysmem.nr_banks = 1; in init_arch()
|
/arch/unicore32/include/asm/ |
D | memblock.h | 28 int nr_banks; member 35 for (iter = 0; iter < (mi)->nr_banks; iter++)
|
/arch/unicore32/kernel/ |
D | setup.c | 132 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() 202 for (i = 0; i < mi->nr_banks; i++) { in request_standard_resources()
|
/arch/xtensa/platforms/xt2000/ |
D | setup.c | 99 if (sysmem.nr_banks == 0) { in platform_init() 100 sysmem.nr_banks = 1; in platform_init()
|
/arch/arm/mach-clps711x/ |
D | clep7312.c | 31 mi->nr_banks=1; in fixup_clep7312()
|
D | edb7211-arch.c | 54 mi->nr_banks = 2; in fixup_edb7211()
|
D | fortunet.c | 37 .nr_banks = 1,
|
/arch/xtensa/include/asm/ |
D | bootparam.h | 51 int nr_banks; member
|
/arch/arm/boot/compressed/ |
D | ofw-shark.c | 24 int j,i,m,k,nr_banks,size; in create_params() local 38 nr_banks=(unsigned int) buffer[0]; in create_params() 39 for (j=0;j<nr_banks;j++){ in create_params()
|
/arch/arm/mach-omap2/ |
D | irq.c | 164 unsigned int nr_banks = 0; in omap_init_irq() local 198 nr_banks++; in omap_init_irq() 202 nr_of_irqs, nr_banks, nr_banks > 1 ? "s" : ""); in omap_init_irq()
|
/arch/arm/mach-msm/ |
D | board-mahimahi.c | 59 mi->nr_banks = 2; in mahimahi_fixup()
|
D | board-trout.c | 60 mi->nr_banks = 1; in trout_fixup()
|
D | board-sapphire.c | 83 mi->nr_banks = 1; in sapphire_fixup()
|
/arch/arm/include/asm/ |
D | setup.h | 204 int nr_banks; member 211 for (iter = 0; iter < (mi)->nr_banks; iter++)
|
/arch/arm/mach-ixp2000/include/mach/ |
D | platform.h | 143 int nr_banks; member
|
/arch/arm/mach-at91/ |
D | generic.h | 91 extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks);
|
/arch/arm/kernel/ |
D | setup.c | 512 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() 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()
|
/arch/arm/mm/ |
D | nommu.c | 33 phys_addr_t end = bank_phys_end(&meminfo.bank[meminfo.nr_banks - 1]); in sanity_check_meminfo()
|
/arch/arm/mach-s3c24xx/ |
D | mach-vstms.c | 136 mi->nr_banks=1; in vstms_fixup()
|
D | mach-smdk2413.c | 99 mi->nr_banks=1; in smdk2413_fixup()
|
/arch/arm/mach-tegra/ |
D | board-trimslice.c | 133 mi->nr_banks = 2; in tegra_trimslice_fixup()
|
D | board-harmony.c | 132 mi->nr_banks = 2; in tegra_harmony_fixup()
|
D | board-paz00.c | 169 mi->nr_banks = 1; in tegra_paz00_fixup()
|
/arch/arm/mach-realview/ |
D | core.c | 528 meminfo->nr_banks = 1; in realview_fixup() 532 meminfo->nr_banks = 1; in realview_fixup()
|
12