Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 25 of 67) sorted by relevance

123

/u-boot/arch/arm/mach-stm32mp/
A Ddram_init.c43 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
49 if (!total_size) in board_get_usable_ram_top()
57 size = ALIGN(SZ_8M + CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE), in board_get_usable_ram_top()
/u-boot/arch/x86/cpu/slimbootloader/
A Dsdram.c51 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
78 if (addr_end < total_size) in board_get_usable_ram_top()
82 addr_end = rounddown(addr_end - total_size, SZ_4K); in board_get_usable_ram_top()
84 ram_top = (ulong)addr_end + total_size; in board_get_usable_ram_top()
/u-boot/arch/arm/include/asm/arch-tegra/
A Dcboot.h19 ulong cboot_get_usable_ram_top(ulong total_size);
37 static inline ulong cboot_get_usable_ram_top(ulong total_size) in cboot_get_usable_ram_top() argument
/u-boot/lib/efi_loader/
A Defi_dt_fixup.c147 size_t total_size; in efi_dt_fixup() local
166 total_size = fdt_totalsize(dtb); in efi_dt_fixup()
167 if (required_size < total_size) in efi_dt_fixup()
168 required_size = total_size; in efi_dt_fixup()
A Defi_firmware.c130 size_t total_size; in efi_fill_image_desc_array() local
134 total_size = sizeof(*image_info) * num_image_type_guids; in efi_fill_image_desc_array()
136 if (*image_info_size < total_size) { in efi_fill_image_desc_array()
137 *image_info_size = total_size; in efi_fill_image_desc_array()
141 *image_info_size = total_size; in efi_fill_image_desc_array()
/u-boot/arch/arm/mach-omap2/
A Dhwinit-common.c287 size, total_size = 0, trap_size = 0, trap_start = 0; in omap_sdram_size() local
316 total_size = (sdram_end - sdram_start) - (trap_size); in omap_sdram_size()
318 total_size = sdram_end - sdram_start; in omap_sdram_size()
320 return total_size; in omap_sdram_size()
/u-boot/test/dm/
A Ddevres.c159 ut_asserteq(TEST_DEVRES_SIZE, stats.total_size); in dm_test_devres_phase()
165 ut_asserteq(TEST_DEVRES_SIZE + TEST_DEVRES_SIZE3, stats.total_size); in dm_test_devres_phase()
173 stats.total_size); in dm_test_devres_phase()
179 ut_asserteq(TEST_DEVRES_SIZE, stats.total_size); in dm_test_devres_phase()
/u-boot/drivers/mtd/
A Dstm32_flash.c36 unsigned long total_size = 0; in flash_init() local
49 total_size += flash_info[i].size; in flash_init()
52 return total_size; in flash_init()
A Djedec_flash.c411 int total_size; in fill_info() local
451 total_size = 0; in fill_info()
456 total_size += erase_region_size * erase_region_count; in fill_info()
470 info->size = total_size * size_ratio; in fill_info()
/u-boot/arch/x86/cpu/coreboot/
A Dsdram.c30 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
49 if (end - start < total_size) in board_get_usable_ram_top()
/u-boot/lib/libavb/
A Davb_cmdline.c277 size_t n, total_size = 0; in avb_append_options() local
282 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_append_options()
287 slot_data, "androidboot.vbmeta.size", total_size) || in avb_append_options()
300 size_t n, total_size = 0; in avb_append_options() local
305 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_append_options()
310 slot_data, "androidboot.vbmeta.size", total_size) || in avb_append_options()
/u-boot/arch/riscv/cpu/fu540/
A Ddram.c24 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/arch/riscv/cpu/generic/
A Ddram.c24 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/arch/riscv/cpu/fu740/
A Ddram.c23 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/arch/riscv/cpu/jh7110/
A Ddram.c24 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/drivers/spi/
A Dmt7621_spi.c225 int total_size = bitlen >> 3; in mt7621_spi_xfer() local
229 total_size, flags); in mt7621_spi_xfer()
250 ret = mt7621_spi_read(rs, din, total_size); in mt7621_spi_xfer()
252 ret = mt7621_spi_write(rs, dout, total_size); in mt7621_spi_xfer()
A Dmt7620_spi.c195 int total_size = bitlen >> 3; in mt7620_spi_xfer() local
217 ret = mt7620_spi_read(ms, cs, din, total_size); in mt7620_spi_xfer()
219 ret = mt7620_spi_write(ms, cs, dout, total_size); in mt7620_spi_xfer()
/u-boot/arch/x86/cpu/efi/
A Dpayload.c30 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
162 gd->start_addr_sp -= hdr->total_size; in reserve_arch()
163 memcpy((void *)gd->start_addr_sp, hdr, hdr->total_size); in reserve_arch()
165 gd->arch.table, gd->start_addr_sp, hdr->total_size); in reserve_arch()
A Dsdram.c14 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/board/imgtec/boston/
A Dddr.c26 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/arch/x86/include/asm/
A Dmrc_common.h50 phys_size_t mrc_common_board_get_usable_ram_top(phys_size_t total_size);
/u-boot/arch/x86/lib/fsp1/
A Dfsp_dram.c37 phys_size_t board_get_usable_ram_top(phys_size_t total_size) in board_get_usable_ram_top() argument
/u-boot/tools/
A Dmtk_image.c298 uint32_t gfh_offset, total_size, devh_size; in mtk_image_verify_gen_header() local
346 total_size = le32_to_cpu(bh->total_size); in mtk_image_verify_gen_header()
348 if (total_size - gfh_offset > img_size - devh_size) in mtk_image_verify_gen_header()
571 gfh->file_info.total_size = cpu_to_le32(file_size - dev_hdr_size); in put_ghf_header()
645 hdr->brlyt.total_size = cpu_to_le32(hdr_offset + filesize); in mtk_image_set_gen_header()
647 hdr->brlyt.total_size_2 = hdr->brlyt.total_size; in mtk_image_set_gen_header()
676 brlyt->total_size = cpu_to_le32(payload_pages); in mtk_image_set_nand_header()
678 brlyt->total_size_2 = brlyt->total_size; in mtk_image_set_nand_header()
A Dmtk_image.h34 uint32_t total_size; member
89 uint32_t total_size; member
/u-boot/include/
A Ddt_table.h21 u32 total_size; /* includes dt_table_header + all dt_table_entry member

Completed in 49 milliseconds

123