Home
last modified time | relevance | path

Searched refs:mem_size (Results 1 – 25 of 36) sorted by relevance

12

/u-boot/board/imgtec/boston/
A Ddt.c13 u64 mem_start[2], mem_size[2]; in ft_board_setup() local
17 mem_size[0] = min_t(u64, 256llu << 20, gd->ram_size); in ft_board_setup()
20 if (gd->ram_size > mem_size[0]) { in ft_board_setup()
21 mem_start[1] = 0x80000000 + mem_size[0]; in ft_board_setup()
22 mem_size[1] = gd->ram_size - mem_size[0]; in ft_board_setup()
26 return fdt_fixup_memory_banks(blob, mem_start, mem_size, mem_regions); in ft_board_setup()
/u-boot/arch/arm/mach-nexell/
A Dcmd_boot_linux.c66 phys_size_t mem_size; in boot_start_lmb() local
71 mem_size = getenv_bootm_size(); in boot_start_lmb()
73 lmb_add(&images->lmb, (phys_addr_t)mem_start, mem_size); in boot_start_lmb()
/u-boot/arch/mips/mach-octeon/
A Dcvmx-bootmem.c1158 mem_size = OCTEON_MAX_PHY_MEM_SIZE; in cvmx_bootmem_phy_mem_list_init()
1183 if (mem_size <= OCTEON_DDR0_SIZE) { in cvmx_bootmem_phy_mem_list_init()
1192 mem_size -= OCTEON_DDR0_SIZE; in cvmx_bootmem_phy_mem_list_init()
1195 if (mem_size > OCTEON_DDR1_SIZE) { in cvmx_bootmem_phy_mem_list_init()
1198 mem_size - OCTEON_DDR1_SIZE, 0); in cvmx_bootmem_phy_mem_list_init()
1241 u64 mem_size; in cvmx_bootmem_phy_mem_list_init_multi() local
1300 if (mem_size <= OCTEON_DDR0_SIZE) { in cvmx_bootmem_phy_mem_list_init_multi()
1302 mem_size - low_reserved_bytes, in cvmx_bootmem_phy_mem_list_init_multi()
1311 mem_size -= OCTEON_DDR0_SIZE; in cvmx_bootmem_phy_mem_list_init_multi()
1314 if (mem_size > OCTEON_DDR1_SIZE) { in cvmx_bootmem_phy_mem_list_init_multi()
[all …]
/u-boot/drivers/bios_emulator/
A Dbiosemu.c102 M.mem_size = memSize; in BE_init()
269 M.x86.R_SS = SEG(M.mem_size - 2); in BE_callRealMode()
270 M.x86.R_SP = OFF(M.mem_size - 2) + 2; in BE_callRealMode()
312 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86()
313 M.x86.R_SP = OFF(M.mem_size - 1) - 1; in BE_int86()
356 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86x()
357 M.x86.R_SP = OFF(M.mem_size - 1) - 1; in BE_int86x()
/u-boot/include/
A Dpci_msc01.h13 unsigned long mem_size, unsigned long io_bus,
A Dpci_gt64120.h11 unsigned long mem_phys, unsigned long mem_size,
/u-boot/drivers/video/meson/
A Dmeson_vpu.c154 u64 mem_start, mem_size; in meson_vpu_setup_simplefb() local
180 mem_size = gd->bd->bi_dram[0].size - meson_fb.fb_size; in meson_vpu_setup_simplefb()
181 ret = fdt_fixup_memory_banks(fdt, &mem_start, &mem_size, 1); in meson_vpu_setup_simplefb()
/u-boot/drivers/pci/
A Dpci_msc01.c85 unsigned long mem_phys, unsigned long mem_size, in msc01_pci_init() argument
106 pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size, in msc01_pci_init()
A Dpci_gt64120.c137 unsigned long mem_phys, unsigned long mem_size, in gt64120_pci_init() argument
158 pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size, in gt64120_pci_init()
/u-boot/drivers/ddr/marvell/a38x/
A Dmv_ddr_training_db.h35 u32 mv_ddr_page_size_get(enum mv_ddr_dev_width bus_width, enum mv_ddr_die_capacity mem_size);
A Dmv_ddr_topology.c251 static unsigned int mem_size[] = { variable
286 mem_sz_per_cs = (unsigned long long)mem_size[iface_params->memory_size] * in mv_ddr_mem_sz_per_cs_get()
A Dddr3_training_db.c404 u32 mv_ddr_page_size_get(enum mv_ddr_dev_width bus_width, enum mv_ddr_die_capacity mem_size) in mv_ddr_page_size_get() argument
407 return page_tbl[mem_size].page_size_8bit; in mv_ddr_page_size_get()
409 return page_tbl[mem_size].page_size_16bit; in mv_ddr_page_size_get()
/u-boot/arch/x86/cpu/quark/
A Dmrc.c97 mrc_params->mem_size = 0; in mrc_adjust_params()
146 mrc_params->mem_size += mrc_params->channel_size[0] << 26; in mrc_adjust_params()
A Ddram.c146 gd->ram_size = mrc_params.mem_size; in dram_init()
A Dhte.c225 msg_port_write(HTE, 0x00020022, (mrc_params->mem_size >> 6) - 1); in hte_mem_init()
/u-boot/arch/mips/mach-octeon/include/mach/
A Dcvmx-bootmem.h473 s64 cvmx_bootmem_phy_mem_list_init(u64 mem_size, u32 low_reserved_bytes,
493 s64 cvmx_bootmem_phy_mem_list_init_multi(u8 nodemask, u32 mem_size[],
/u-boot/arch/powerpc/include/asm/
A Dfsl_pci.h179 pci_size_t mem_size; member
199 x.mem_size = CONFIG_SYS_PCI##num##_MEM_SIZE; \
212 x.mem_size = CONFIG_SYS_PCIE##num##_MEM_SIZE; \
/u-boot/board/xes/common/
A Dfsl_8xxx_pci.c40 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board()
/u-boot/arch/x86/include/asm/arch-quark/
A Dmrc.h152 uint32_t mem_size; member
/u-boot/arch/mips/lib/
A Dbootm.c247 u64 mem_size = gd->ram_size; in arch_fixup_fdt() local
249 return fdt_fixup_memory_banks(blob, &mem_start, &mem_size, 1); in arch_fixup_fdt()
/u-boot/drivers/remoteproc/
A Dti_k3_r5f_rproc.c529 ulong mem_size; in k3_r5f_da_to_va() local
540 mem_size = core->mem[i].size; in k3_r5f_da_to_va()
542 if (da >= bus_addr && (da + size) <= (bus_addr + mem_size)) { in k3_r5f_da_to_va()
548 if (da >= dev_addr && (da + size) <= (dev_addr + mem_size)) { in k3_r5f_da_to_va()
/u-boot/board/freescale/mpc8568mds/
A Dmpc8568mds.c318 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board()
/u-boot/board/raspberrypi/rpi/
A Drpi.c279 gd->ram_size = msg->get_arm_mem.body.resp.mem_size; in dram_init()
/u-boot/board/sbc8548/
A Dsbc8548.c271 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board()
/u-boot/common/
A Dbootm.c63 phys_size_t mem_size; in boot_start_lmb() local
66 mem_size = env_get_bootm_size(); in boot_start_lmb()
69 mem_size, NULL); in boot_start_lmb()

Completed in 30 milliseconds

12