/u-boot/board/imgtec/boston/ |
A D | dt.c | 13 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 D | cmd_boot_linux.c | 66 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 D | cvmx-bootmem.c | 1158 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 D | biosemu.c | 102 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 D | pci_msc01.h | 13 unsigned long mem_size, unsigned long io_bus,
|
A D | pci_gt64120.h | 11 unsigned long mem_phys, unsigned long mem_size,
|
/u-boot/drivers/video/meson/ |
A D | meson_vpu.c | 154 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 D | pci_msc01.c | 85 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 D | pci_gt64120.c | 137 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 D | mv_ddr_training_db.h | 35 u32 mv_ddr_page_size_get(enum mv_ddr_dev_width bus_width, enum mv_ddr_die_capacity mem_size);
|
A D | mv_ddr_topology.c | 251 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 D | ddr3_training_db.c | 404 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 D | mrc.c | 97 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 D | dram.c | 146 gd->ram_size = mrc_params.mem_size; in dram_init()
|
A D | hte.c | 225 msg_port_write(HTE, 0x00020022, (mrc_params->mem_size >> 6) - 1); in hte_mem_init()
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | cvmx-bootmem.h | 473 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 D | fsl_pci.h | 179 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 D | fsl_8xxx_pci.c | 40 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board()
|
/u-boot/arch/x86/include/asm/arch-quark/ |
A D | mrc.h | 152 uint32_t mem_size; member
|
/u-boot/arch/mips/lib/ |
A D | bootm.c | 247 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 D | ti_k3_r5f_rproc.c | 529 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 D | mpc8568mds.c | 318 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board()
|
/u-boot/board/raspberrypi/rpi/ |
A D | rpi.c | 279 gd->ram_size = msg->get_arm_mem.body.resp.mem_size; in dram_init()
|
/u-boot/board/sbc8548/ |
A D | sbc8548.c | 271 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board()
|
/u-boot/common/ |
A D | bootm.c | 63 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()
|