Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 21 of 21) sorted by relevance

/u-boot/cmd/
A Dlegacy-mtd-utils.c11 loff_t *maxsize, int devtype) in get_part() argument
34 *maxsize = part->size; in get_part()
45 loff_t *maxsize, int devtype, uint64_t chipsize) in mtd_arg_off() argument
48 return get_part(arg, idx, off, size, maxsize, devtype); in mtd_arg_off()
55 *maxsize = chipsize - *off; in mtd_arg_off()
56 *size = *maxsize; in mtd_arg_off()
61 loff_t *size, loff_t *maxsize, int devtype, in mtd_arg_off_size() argument
69 *maxsize = *size; in mtd_arg_off_size()
73 ret = mtd_arg_off(argv[0], idx, off, size, maxsize, devtype, in mtd_arg_off_size()
86 if (*size > *maxsize) { in mtd_arg_off_size()
A Dlegacy-mtd-utils.h7 loff_t *maxsize, int devtype, uint64_t chipsize);
9 loff_t *size, loff_t *maxsize, int devtype,
A Dnand.c214 loff_t maxsize; in do_nand_env_oob() local
223 if (mtd_arg_off(argv[2], &idx, &addr, &maxsize, &maxsize, in do_nand_env_oob()
384 loff_t off, size, maxsize; in do_nand() local
507 &maxsize, MTD_DEV_TYPE_NAND, in do_nand()
575 if (mtd_arg_off(argv[3], &dev, &off, &size, &maxsize, in do_nand()
598 &size, &maxsize, in do_nand()
618 NULL, maxsize, in do_nand()
622 NULL, maxsize, in do_nand()
632 maxsize, (u_char *)addr, in do_nand()
771 &maxsize, MTD_DEV_TYPE_NAND, in do_nand()
A Dsf.c270 loff_t offset, len, maxsize; in do_spi_flash_read_write() local
280 &maxsize, MTD_DEV_TYPE_NOR, flash->size)) in do_spi_flash_read_write()
325 loff_t offset, len, maxsize; in do_spi_flash_erase() local
331 if (mtd_arg_off(argv[1], &dev, &offset, &len, &maxsize, in do_spi_flash_erase()
/u-boot/common/
A Dmemsize.c28 long get_ram_size(long *base, long maxsize) in get_ram_size() argument
38 for (cnt = (maxsize / sizeof(long)) >> 1; cnt > 0; cnt >>= 1) { in get_ram_size()
57 for (cnt = 1; cnt < maxsize / sizeof(long); cnt <<= 1) { in get_ram_size()
65 for (cnt = 1; cnt < maxsize / sizeof(long); cnt <<= 1) { in get_ram_size()
76 cnt < maxsize / sizeof(long); in get_ram_size()
92 return (maxsize); in get_ram_size()
/u-boot/arch/arm/mach-imx/
A Dcmd_nandbcb.c141 loff_t maxsize; member
218 boot_cfg->maxsize = maxsize; in nandbcb_get_size()
233 loff_t maxsize; in nandbcb_set_boot_config() local
268 maxsize = boot_cfg->maxsize; in nandbcb_set_boot_config()
270 maxsize = ((u32)(maxsize + mtd->writesize - 1)) / (u32)mtd->writesize in nandbcb_set_boot_config()
306 size_t maxsize = boot_cfg->maxsize; in nandbcb_check_space() local
762 size_t maxsize = boot_cfg->maxsize; in check_skip_length() local
827 maxsize = boot_cfg->maxsize; in nandbcb_write_bs_skip_bad()
968 maxsize = boot_cfg->maxsize; in nandbcb_init()
1064 size_t maxsize; in do_nandbcb_bcbonly() local
[all …]
/u-boot/drivers/rng/
A Dmsm_rng.c45 size_t maxsize; in msm_rng_read() local
49 maxsize = min_t(size_t, MAX_HW_FIFO_SIZE, len); in msm_rng_read()
65 if ((maxsize - currsize) < WORD_SZ) in msm_rng_read()
67 } while (currsize < maxsize); in msm_rng_read()
/u-boot/fs/sandbox/
A Dsandboxfs.c22 loff_t maxsize, loff_t *actread) in sandbox_fs_read_at() argument
35 if (!maxsize) { in sandbox_fs_read_at()
42 maxsize = size; in sandbox_fs_read_at()
45 size = os_read(fd, buffer, maxsize); in sandbox_fs_read_at()
/u-boot/include/
A Dsandboxfs.h27 loff_t maxsize, loff_t *actread);
29 loff_t maxsize, loff_t *actwrite);
A Dmm_communication.h230 efi_uintn_t maxsize; member
A Dfat.h204 loff_t maxsize, loff_t *actread);
205 int file_fat_read(const char *filename, void *buffer, int maxsize);
A Dcbfs.h228 unsigned long maxsize);
/u-boot/fs/cbfs/
A Dcbfs.c453 unsigned long maxsize) in file_cbfs_read() argument
458 if (maxsize && size > maxsize) in file_cbfs_read()
459 size = maxsize; in file_cbfs_read()
/u-boot/board/solidrun/mx6cuboxi/
A Dmx6cuboxi.c65 static u32 get_ram_size_stride_test(u32 *base, u32 maxsize) in get_ram_size_stride_test() argument
74 for (cnt = 0; cnt < maxsize; cnt += MEM_STRIDE) { in get_ram_size_stride_test()
83 for (size = MEM_STRIDE; size < maxsize; size += MEM_STRIDE) { in get_ram_size_stride_test()
92 for (cnt = (maxsize - MEM_STRIDE); i > 0; cnt -= MEM_STRIDE) { in get_ram_size_stride_test()
/u-boot/fs/fat/
A Dfat.c326 __u8 *buffer, loff_t maxsize, loff_t *gotsize) in get_contents() argument
342 if (maxsize > 0 && filesize > pos + maxsize) in get_contents()
343 filesize = pos + maxsize; in get_contents()
1258 loff_t maxsize, loff_t *actread) in file_fat_read_at() argument
1280 ret = get_contents(&fsdata, dentptr, pos, buffer, maxsize, actread); in file_fat_read_at()
1289 int file_fat_read(const char *filename, void *buffer, int maxsize) in file_fat_read() argument
1294 ret = file_fat_read_at(filename, 0, buffer, maxsize, &actread); in file_fat_read()
A Dfat_write.c925 loff_t maxsize, loff_t *gotsize) in set_contents() argument
934 filesize = pos + maxsize; in set_contents()
1435 loff_t maxsize, loff_t *actwrite) in file_fat_write() argument
1437 return file_fat_write_at(filename, offset, buffer, maxsize, actwrite); in file_fat_write()
/u-boot/drivers/ddr/marvell/a38x/
A Dddr3_training_centralization.c9 #define VALIDATE_WIN_LENGTH(e1, e2, maxsize) \ argument
11 ((e2) + 1 < (e1) + (u8)maxsize))
12 #define IS_WINDOW_OUT_BOUNDARY(e1, e2, maxsize) \ argument
14 ((e1) != (maxsize - 1) && (e2) == (maxsize - 1)))
/u-boot/lib/efi_loader/
A Defi_net.c661 int maxsize = sizeof(*dhcp_ack); in efi_net_set_dhcp_ack() local
664 dhcp_ack = malloc(maxsize); in efi_net_set_dhcp_ack()
666 memcpy(dhcp_ack, pkt, min(len, maxsize)); in efi_net_set_dhcp_ack()
A Defi_variable_tee.c586 var_property.maxsize = var_acc->data_size; in efi_set_variable_int()
/u-boot/tools/
A Dgenboardscfg.py240 q = multiprocessing.Queue(maxsize=-1)
/u-boot/drivers/usb/host/
A Dohci-hcd.c1523 int maxsize = usb_maxpacket(dev, pipe); in submit_common_msg() local
1539 if (!maxsize) { in submit_common_msg()
1739 int maxsize = usb_maxpacket(dev, pipe); in _ohci_submit_control_msg() local
1748 if (!maxsize) { in _ohci_submit_control_msg()

Completed in 31 milliseconds