Home
last modified time | relevance | path

Searched refs:memsize (Results 1 – 25 of 32) sorted by relevance

12

/arch/s390/kernel/
Dmem_detect.c30 unsigned long long memsize, rnmax, rzm; in find_memory_chunks() local
36 memsize = rzm * rnmax; in find_memory_chunks()
41 memsize = memsize ? min(ADDR2G, memsize) : ADDR2G; in find_memory_chunks()
48 if (memsize && addr + size >= memsize) in find_memory_chunks()
58 } while (addr < memsize && i < MEMORY_CHUNKS); in find_memory_chunks()
/arch/mips/alchemy/mtx-1/
Dinit.c46 unsigned long memsize; in prom_init() local
56 memsize = 0x04000000; in prom_init()
58 strict_strtoul(memsize_str, 0, &memsize); in prom_init()
59 add_memory_region(0, memsize, BOOT_MEM_RAM); in prom_init()
/arch/mips/alchemy/xxs1500/
Dinit.c44 unsigned long memsize; in prom_init() local
54 memsize = 0x04000000; in prom_init()
56 strict_strtoul(memsize_str, 0, &memsize); in prom_init()
57 add_memory_region(0, memsize, BOOT_MEM_RAM); in prom_init()
/arch/mips/alchemy/devboards/
Dprom.c49 unsigned long memsize; in prom_init() local
58 memsize = ALCHEMY_BOARD_DEFAULT_MEMSIZE; in prom_init()
60 strict_strtoul(memsize_str, 0, &memsize); in prom_init()
61 add_memory_region(0, memsize, BOOT_MEM_RAM); in prom_init()
/arch/powerpc/boot/
D4xx.c24 static unsigned long chip_11_errata(unsigned long memsize) in chip_11_errata() argument
34 memsize -= 4096; in chip_11_errata()
40 return memsize; in chip_11_errata()
47 unsigned long memsize, bank_config; in ibm4xx_sdram_fixup_memsize() local
49 memsize = 0; in ibm4xx_sdram_fixup_memsize()
53 memsize += SDRAM_CONFIG_BANK_SIZE(bank_config); in ibm4xx_sdram_fixup_memsize()
56 memsize = chip_11_errata(memsize); in ibm4xx_sdram_fixup_memsize()
57 dt_fixup_memory(0, memsize); in ibm4xx_sdram_fixup_memsize()
101 u64 banktop, memsize = 0; in ibm440spe_fixup_memsize() local
107 if (banktop > memsize) in ibm440spe_fixup_memsize()
[all …]
Dmain.c54 printf("Allocating 0x%lx bytes for kernel ...\n\r", ei.memsize); in prep_kernel()
57 addr = platform_ops.vmlinux_alloc(ei.memsize); in prep_kernel()
69 if ((unsigned long)_end < ei.memsize) in prep_kernel()
87 return (struct addr_range){addr, ei.memsize}; in prep_kernel()
Delf_util.c44 info->memsize = (unsigned long)elf64ph->p_memsz; in parse_elf64()
75 info->memsize = elf32ph->p_memsz; in parse_elf32()
DaddRamDisk.c17 unsigned long memsize; member
41 r->memsize = (unsigned long)elf64ph->p_memsz; in check_elf64()
180 offset_end = _ALIGN_UP(vmlinux.memsize, 4096); in main()
/arch/mips/lemote/lm2e/
Dprom.c23 extern unsigned int memsize, highmemsize;
78 parse_even_earlier(memsize, "memsize", l); in prom_init()
83 if (memsize == 0) in prom_init()
84 memsize = 256; in prom_init()
87 bus_clock, cpu_clock_freq, memsize, highmemsize); in prom_init()
Dsetup.c48 unsigned int memsize; variable
84 add_memory_region(0x0, (memsize << 20), BOOT_MEM_RAM); in plat_mem_setup()
/arch/mips/nxp/pnx8550/jbs/
Dinit.c48 unsigned long memsize; in prom_init() local
51 memsize = 0x08000000; /* Trimedia uses memory above */ in prom_init()
52 add_memory_region(0, memsize, BOOT_MEM_RAM); in prom_init()
/arch/mips/nxp/pnx8550/stb810/
Dprom_init.c36 unsigned long memsize; in prom_init() local
44 memsize = 0x08000000; /* Trimedia uses memory above */ in prom_init()
45 add_memory_region(0, memsize, BOOT_MEM_RAM); in prom_init()
/arch/mips/rb532/
Dprom.c126 phys_t memsize; in prom_init() local
138 memsize = (phys_t)&ddr->ddrmask; in prom_init()
139 memsize = 0 - memsize; in prom_init()
145 add_memory_region(ddrbase + 0x400, memsize - 0x600, BOOT_MEM_RAM); in prom_init()
/arch/sh/mm/
Dconsistent.c117 char *name, unsigned long memsize) in platform_resource_setup_memory() argument
130 memchunk_cmdline_override(name, &memsize); in platform_resource_setup_memory()
131 if (!memsize) in platform_resource_setup_memory()
134 buf = dma_alloc_coherent(NULL, memsize, &dma_handle, GFP_KERNEL); in platform_resource_setup_memory()
140 memset(buf, 0, memsize); in platform_resource_setup_memory()
144 r->end = r->start + memsize - 1; in platform_resource_setup_memory()
/arch/mips/mipssim/
Dsim_mem.c46 unsigned int memsize; in prom_getmdesc() local
48 memsize = 0x02000000; in prom_getmdesc()
49 pr_info("Setting default memory size 0x%08x\n", memsize); in prom_getmdesc()
67 mdesc[3].size = memsize - mdesc[3].base; in prom_getmdesc()
/arch/s390/kvm/
Dgaccess.h25 unsigned long memsize = vcpu->kvm->arch.guest_memsize; in __guestaddr_to_user() local
32 if (guestaddr > memsize) in __guestaddr_to_user()
162 unsigned long memsize = vcpu->kvm->arch.guest_memsize; in copy_to_guest() local
179 if (guestdest + n > memsize) in copy_to_guest()
213 unsigned long memsize = vcpu->kvm->arch.guest_memsize; in copy_from_guest() local
230 if (guestsrc + n > memsize) in copy_from_guest()
248 unsigned long memsize = vcpu->kvm->arch.guest_memsize; in copy_to_guest_absolute() local
250 if (guestdest + n > memsize) in copy_to_guest_absolute()
266 unsigned long memsize = vcpu->kvm->arch.guest_memsize; in copy_from_guest_absolute() local
268 if (guestsrc + n > memsize) in copy_from_guest_absolute()
/arch/mips/nxp/pnx833x/stb22x/
Dboard.c60 unsigned long memsize; in prom_init() local
68 memsize = env_or_default("memsize", 0x02000000); in prom_init()
69 add_memory_region(0, memsize, BOOT_MEM_RAM); in prom_init()
/arch/mips/basler/excite/
Dexcite_prom.c45 t_env_var memsize; member
122 prom_env = &pb->memsize; in prom_init()
131 memsize = simple_strtol(prom_getenv("memsize"), NULL, 16); in prom_init()
Dexcite_setup.c57 unsigned long memsize; variable
261 add_memory_region(0x00000000, memsize, BOOT_MEM_RAM); in plat_mem_setup()
/arch/mips/mti-malta/
Dmalta-memory.c56 unsigned int memsize; in prom_getmdesc() local
86 memsize = memparse(ptr + 8, &ptr); in prom_getmdesc()
88 memsize = physical_memsize; in prom_getmdesc()
117 mdesc[4].size = memsize - mdesc[4].base; in prom_getmdesc()
/arch/mips/pmc-sierra/msp71xx/
Dmsp_prom.c436 unsigned int memsize; in prom_getmdesc() local
448 memsize = 0x02000000; in prom_getmdesc()
450 memsize = simple_strtol(str, NULL, 0); in prom_getmdesc()
452 if (memsize == 0) { in prom_getmdesc()
454 memsize = 0x02000000; in prom_getmdesc()
458 memsize = CPHYSADDR(memsize); in prom_getmdesc()
527 mdesc[i].size = memsize - mdesc[i].base; in prom_getmdesc()
/arch/mips/fw/sni/
Dsniprom.c103 int i, memsize; in sni_mem_init() local
115 memsize = *((unsigned char *) SNI_IDPROM_MEMSIZE) * 16; in sni_mem_init()
117 pr_debug("IDProm memsize: %u MByte\n", memsize); in sni_mem_init()
/arch/mips/pci/
Dpci-excite.c76 const unsigned int fullbars = memsize / (256 << 20); in basler_excite_pci_setup()
115 const unsigned long rem = memsize - i * 0x10000000; in basler_excite_pci_setup()
/arch/sh/include/asm/
Ddevice.h11 char *name, unsigned long memsize);
/arch/m68k/include/asm/
Dbootinfo_mm.h192 unsigned long memsize; member
312 unsigned long memsize; member

12