Home
last modified time | relevance | path

Searched refs:nr_banks (Results 1 – 25 of 44) sorted by relevance

12

/arch/xtensa/mm/
Dinit.c60 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/
Dsetup.c120 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/
Dmemblock.h28 int nr_banks; member
35 for (iter = 0; iter < (mi)->nr_banks; iter++)
/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()
202 for (i = 0; i < mi->nr_banks; i++) { in request_standard_resources()
/arch/xtensa/platforms/xt2000/
Dsetup.c99 if (sysmem.nr_banks == 0) { in platform_init()
100 sysmem.nr_banks = 1; in platform_init()
/arch/arm/mach-clps711x/
Dclep7312.c31 mi->nr_banks=1; in fixup_clep7312()
Dedb7211-arch.c54 mi->nr_banks = 2; in fixup_edb7211()
Dfortunet.c37 .nr_banks = 1,
/arch/xtensa/include/asm/
Dbootparam.h51 int nr_banks; member
/arch/arm/boot/compressed/
Dofw-shark.c24 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/
Dirq.c164 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/
Dboard-mahimahi.c59 mi->nr_banks = 2; in mahimahi_fixup()
Dboard-trout.c60 mi->nr_banks = 1; in trout_fixup()
Dboard-sapphire.c83 mi->nr_banks = 1; in sapphire_fixup()
/arch/arm/include/asm/
Dsetup.h204 int nr_banks; member
211 for (iter = 0; iter < (mi)->nr_banks; iter++)
/arch/arm/mach-ixp2000/include/mach/
Dplatform.h143 int nr_banks; member
/arch/arm/mach-at91/
Dgeneric.h91 extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks);
/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()
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/
Dnommu.c33 phys_addr_t end = bank_phys_end(&meminfo.bank[meminfo.nr_banks - 1]); in sanity_check_meminfo()
/arch/arm/mach-s3c24xx/
Dmach-vstms.c136 mi->nr_banks=1; in vstms_fixup()
Dmach-smdk2413.c99 mi->nr_banks=1; in smdk2413_fixup()
/arch/arm/mach-tegra/
Dboard-trimslice.c133 mi->nr_banks = 2; in tegra_trimslice_fixup()
Dboard-harmony.c132 mi->nr_banks = 2; in tegra_harmony_fixup()
Dboard-paz00.c169 mi->nr_banks = 1; in tegra_paz00_fixup()
/arch/arm/mach-realview/
Dcore.c528 meminfo->nr_banks = 1; in realview_fixup()
532 meminfo->nr_banks = 1; in realview_fixup()

12