Home
last modified time | relevance | path

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

12

/linux-2.6.39/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 …]
/linux-2.6.39/arch/xtensa/kernel/
Dsetup.c121 if (sysmem.nr_banks >= SYSMEM_BANKS_MAX) { in parse_tag_mem()
128 sysmem.bank[sysmem.nr_banks].type = mi->type; in parse_tag_mem()
129 sysmem.bank[sysmem.nr_banks].start = PAGE_ALIGN(mi->start); in parse_tag_mem()
130 sysmem.bank[sysmem.nr_banks].end = mi->end & PAGE_SIZE; in parse_tag_mem()
131 sysmem.nr_banks++; in parse_tag_mem()
207 sysmem.nr_banks = 0; in init_arch()
218 if (sysmem.nr_banks == 0) { in init_arch()
219 sysmem.nr_banks = 1; in init_arch()
/linux-2.6.39/arch/unicore32/kernel/
Dsetup.c131 struct membank *bank = &meminfo.bank[meminfo.nr_banks]; in uc32_add_memory()
133 if (meminfo.nr_banks >= NR_BANKS) { in uc32_add_memory()
155 meminfo.nr_banks++; in uc32_add_memory()
176 meminfo.nr_banks = 0; in early_mem()
201 for (i = 0; i < mi->nr_banks; i++) { in request_standard_resources()
/linux-2.6.39/arch/unicore32/include/asm/
Dmemblock.h28 int nr_banks; member
35 for (iter = 0; iter < (mi)->nr_banks; iter++)
/linux-2.6.39/arch/arm/mach-omap2/
Dirq.c192 unsigned int nr_banks = 0; in omap_init_irq() local
219 nr_banks++; in omap_init_irq()
223 nr_of_irqs, nr_banks, nr_banks > 1 ? "s" : ""); in omap_init_irq()
/linux-2.6.39/arch/xtensa/platforms/xt2000/
Dsetup.c99 if (sysmem.nr_banks == 0) { in platform_init()
100 sysmem.nr_banks = 1; in platform_init()
/linux-2.6.39/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()
/linux-2.6.39/include/linux/usb/
Datmel_usba_udc.h11 int nr_banks; member
/linux-2.6.39/arch/arm/include/asm/
Dsetup.h204 int nr_banks; member
211 for (iter = 0; iter < (mi)->nr_banks; iter++)
/linux-2.6.39/arch/arm/mach-clps711x/
Dclep7312.c32 mi->nr_banks=1; in fixup_clep7312()
Dedb7211-arch.c55 mi->nr_banks = 2; in fixup_edb7211()
Dfortunet.c37 .nr_banks = 1,
/linux-2.6.39/arch/xtensa/include/asm/
Dbootparam.h51 int nr_banks; member
/linux-2.6.39/arch/arm/mach-at91/
Dgpio.c605 void __init at91_gpio_init(struct at91_gpio_bank *data, int nr_banks) in at91_gpio_init() argument
610 BUG_ON(nr_banks > MAX_GPIO_BANKS); in at91_gpio_init()
612 gpio_banks = nr_banks; in at91_gpio_init()
614 for (i = 0; i < nr_banks; i++) { in at91_gpio_init()
Dgeneric.h61 extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks);
/linux-2.6.39/arch/arm/mach-msm/
Dboard-mahimahi.c59 mi->nr_banks = 2; in mahimahi_fixup()
Dboard-halibut.c84 mi->nr_banks=1; in halibut_fixup()
Dboard-trout.c54 mi->nr_banks = 1; in trout_fixup()
Dboard-sapphire.c85 mi->nr_banks = 1; in sapphire_fixup()
/linux-2.6.39/drivers/mtd/maps/
Dixp2000.c160 ixp_data->nr_banks, ((u32)window_size >> 20)); in ixp2000_flash_probe()
182 info->map.size = ixp_data->nr_banks * window_size; in ixp2000_flash_probe()
/linux-2.6.39/arch/arm/kernel/
Dsetup.c471 struct membank *bank = &meminfo.bank[meminfo.nr_banks]; in arm_add_memory()
473 if (meminfo.nr_banks >= NR_BANKS) { in arm_add_memory()
494 meminfo.nr_banks++; in arm_add_memory()
516 meminfo.nr_banks = 0; in early_mem()
854 if (meminfo.nr_banks != 0) in setup_arch()
/linux-2.6.39/arch/arm/mach-ixp2000/include/mach/
Dplatform.h142 int nr_banks; member
/linux-2.6.39/arch/arm/mach-tegra/
Dboard-paz00.c76 mi->nr_banks = 1; in tegra_paz00_fixup()
Dboard-trimslice.c83 mi->nr_banks = 2; in tegra_trimslice_fixup()
/linux-2.6.39/arch/arm/mach-s3c2412/
Dmach-smdk2413.c100 mi->nr_banks=1; in smdk2413_fixup()

12