| /u-boot/board/xilinx/microblaze-generic/ |
| A D | microblaze-generic.c | 41 ulong max_size; in board_late_init() local 58 max_size = gd->start_addr_sp - CONFIG_STACK_SIZE; in board_late_init() 59 max_size = round_down(max_size, SZ_16M); in board_late_init() 61 status |= env_set_hex("scriptaddr", max_size + SZ_2M); in board_late_init() 63 status |= env_set_hex("pxefile_addr_r", max_size + SZ_1M); in board_late_init()
|
| /u-boot/net/ |
| A D | pcap.c | 18 static unsigned int max_size; variable 62 max_size = size; in pcap_init() 110 if ((pos + len + sizeof(header)) >= max_size) { in pcap_post() 144 (unsigned long)buf, max_size); in pcap_print_status()
|
| A D | tftp.c | 731 phys_size_t max_size; in tftp_init_load_addr() local 735 max_size = lmb_get_free_size(&lmb, image_load_addr); in tftp_init_load_addr() 736 if (!max_size) in tftp_init_load_addr() 739 tftp_load_size = max_size; in tftp_init_load_addr()
|
| /u-boot/lib/efi_selftest/ |
| A D | efi_selftest_variables_runtime.c | 51 u64 max_storage, rem_storage, max_size; in execute() local 55 &max_size); in execute()
|
| A D | efi_selftest_variables.c | 54 u64 max_storage, rem_storage, max_size; in execute() local 58 &max_size); in execute() 61 } else if (!max_storage || !rem_storage || !max_size) { in execute()
|
| /u-boot/drivers/mtd/ubispl/ |
| A D | ubi-wrapper.h | 102 int max_size; member
|
| A D | ubispl.c | 527 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap() 528 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap() 840 ubi->fm_pool.max_size = ubi->fm->max_pool_size; in ubi_scan_fastmap() 841 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; in ubi_scan_fastmap() 844 ubi_dbg("fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap() 845 ubi_dbg("fastmap WL pool size: %d", ubi->fm_wl_pool.max_size); in ubi_scan_fastmap()
|
| /u-boot/arch/arm/mach-uniphier/ |
| A D | dram_init.c | 228 unsigned long max_size; in dram_init() local 250 max_size = (1ULL << 32) - dram_map[i].base; in dram_init() 252 gd->ram_size = min(dram_map[i].size, max_size); in dram_init()
|
| /u-boot/include/ |
| A D | cli.h | 40 int cli_simple_process_macros(const char *input, char *output, int max_size);
|
| A D | tpm-common.h | 141 int (*recv)(struct udevice *dev, u8 *recvbuf, size_t max_size);
|
| /u-boot/drivers/pci/ |
| A D | pcie_dw_mvebu.c | 445 u64 max_size; in pcie_dw_set_host_bars() local 451 max_size = 1ULL << (5 + (reg + (1 << 4))); in pcie_dw_set_host_bars() 453 if (size > max_size) { in pcie_dw_set_host_bars() 454 size = max_size; in pcie_dw_set_host_bars()
|
| /u-boot/common/ |
| A D | cli_simple.c | 63 int cli_simple_process_macros(const char *input, char *output, int max_size) in cli_simple_process_macros() argument 68 int outputcnt = max_size; in cli_simple_process_macros()
|
| A D | usb_storage.c | 369 int max_size; in us_one_transfer() local 377 max_size = usb_maxpacket(us->pusb_dev, pipe) * 16; in us_one_transfer() 383 this_xfer = length > max_size ? max_size : length; in us_one_transfer()
|
| /u-boot/arch/x86/lib/ |
| A D | zimage.c | 337 int max_size = 0xff; in setup_zimage() local 342 max_size = hdr->cmdline_size; in setup_zimage() 358 ret = bootm_process_cmdline(cmd_line, max_size, BOOTM_CL_ALL); in setup_zimage() 361 max_size, bootproto, ret); in setup_zimage()
|
| /u-boot/drivers/mtd/ubi/ |
| A D | build.c | 960 ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, in ubi_attach_mtd_dev() 962 ubi->fm_pool.max_size = max(ubi->fm_pool.max_size, in ubi_attach_mtd_dev() 965 ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2; in ubi_attach_mtd_dev() 977 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev() 979 ubi->fm_wl_pool.max_size); in ubi_attach_mtd_dev()
|
| A D | fastmap.c | 670 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap() 671 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap() 1074 ubi->fm_pool.max_size = ubi->fm->max_pool_size; in ubi_scan_fastmap() 1075 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; in ubi_scan_fastmap() 1077 ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap() 1079 ubi->fm_wl_pool.max_size); in ubi_scan_fastmap() 1175 fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size); in ubi_write_fastmap() 1186 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
|
| A D | fastmap-wl.c | 134 if (pool->size < pool->max_size) { in ubi_refill_pools() 147 if (wl_pool->size < wl_pool->max_size) { in ubi_refill_pools()
|
| A D | ubi-media.h | 459 __be16 max_size; member
|
| /u-boot/test/py/tests/ |
| A D | test_vboot.py | 276 max_size = int(bcfg.get('config_fit_signature_max_size', 0x10000000), 0) 277 existing_size = replace_fit_totalsize(max_size + 1)
|
| /u-boot/drivers/video/ |
| A D | ihs_video_out.c | 147 uint max_size = priv->base_width * priv->base_height; in ihs_video_out_set_mem() local 149 if (offset + k >= max_size) { in ihs_video_out_set_mem()
|
| /u-boot/tools/binman/etype/ |
| A D | section.py | 306 max_size = self.size if self.uncomp_size is None else self.uncomp_size 314 max_size): 320 self._skip_at_start, max_size, max_size))
|
| /u-boot/tools/ |
| A D | mtk_image.h | 115 uint32_t max_size; member
|
| /u-boot/board/solidrun/mx6cuboxi/ |
| A D | mx6cuboxi.c | 104 u32 max_size = imx_ddr_size(); in dram_init() local 107 (u32)max_size); in dram_init()
|
| /u-boot/arch/arm/include/asm/arch-imx8/sci/ |
| A D | sci.h | 128 sc_faddr_t export_addr, u16 max_size);
|
| /u-boot/drivers/mtd/ |
| A D | cfi_flash.c | 2088 unsigned long max_size; in flash_get_size() local 2176 max_size = cfi_flash_bank_size(banknum); in flash_get_size() 2177 if (max_size && info->size > max_size) { in flash_get_size() 2179 info->size = max_size; in flash_get_size()
|