| /rk3399_rockchip-uboot/common/ |
| H A D | memsize.c | 27 long get_ram_size(long *base, long maxsize) in get_ram_size() argument 36 for (cnt = (maxsize / sizeof(long)) >> 1; cnt > 0; cnt >>= 1) { in get_ram_size() 55 for (cnt = 1; cnt < maxsize / sizeof(long); cnt <<= 1) { in get_ram_size() 63 for (cnt = 1; cnt < maxsize / sizeof(long); cnt <<= 1) { in get_ram_size() 74 cnt < maxsize / sizeof(long); in get_ram_size() 83 return (maxsize); in get_ram_size()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtd_uboot.c | 382 loff_t *maxsize, int devtype) in get_part() argument 405 *maxsize = part->size; in get_part() 416 loff_t *maxsize, int devtype, uint64_t chipsize) in mtd_arg_off() argument 419 return get_part(arg, idx, off, size, maxsize, devtype); in mtd_arg_off() 426 *maxsize = chipsize - *off; in mtd_arg_off() 427 *size = *maxsize; in mtd_arg_off() 432 loff_t *size, loff_t *maxsize, int devtype, in mtd_arg_off_size() argument 440 *maxsize = *size; in mtd_arg_off_size() 444 ret = mtd_arg_off(argv[0], idx, off, size, maxsize, devtype, in mtd_arg_off_size() 457 if (*size > *maxsize) { in mtd_arg_off_size()
|
| /rk3399_rockchip-uboot/fs/sandbox/ |
| H A D | sandboxfs.c | 21 loff_t maxsize, loff_t *actread) in sandbox_fs_read_at() argument 34 if (!maxsize) { in sandbox_fs_read_at() 41 maxsize = size; in sandbox_fs_read_at() 44 size = os_read(fd, buffer, maxsize); in sandbox_fs_read_at()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | sandboxfs.h | 24 loff_t maxsize, loff_t *actread); 26 loff_t maxsize, loff_t *actwrite);
|
| H A D | fat.h | 194 loff_t maxsize, loff_t *actread); 195 int file_fat_read(const char *filename, void *buffer, int maxsize);
|
| H A D | cbfs.h | 166 unsigned long maxsize);
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | nand.c | 209 loff_t maxsize; in do_nand_env_oob() local 218 if (mtd_arg_off(argv[2], &idx, &addr, &maxsize, &maxsize, in do_nand_env_oob() 396 loff_t off, size, maxsize; in do_nand() local 519 &maxsize, MTD_DEV_TYPE_NAND, in do_nand() 587 if (mtd_arg_off(argv[3], &dev, &off, &size, &maxsize, in do_nand() 618 &size, &maxsize, in do_nand() 638 NULL, maxsize, in do_nand() 642 NULL, maxsize, in do_nand() 652 maxsize, (u_char *)addr, in do_nand() 791 &maxsize, MTD_DEV_TYPE_NAND, in do_nand()
|
| H A D | sf.c | 268 loff_t offset, len, maxsize; in do_spi_flash_read_write() local 278 &maxsize, MTD_DEV_TYPE_NOR, flash->size)) in do_spi_flash_read_write() 323 loff_t offset, len, maxsize; in do_spi_flash_erase() local 329 if (mtd_arg_off(argv[1], &dev, &offset, &len, &maxsize, in do_spi_flash_erase()
|
| /rk3399_rockchip-uboot/fs/cbfs/ |
| H A D | cbfs.c | 312 unsigned long maxsize) in file_cbfs_read() argument 317 if (maxsize && size > maxsize) in file_cbfs_read() 318 size = maxsize; in file_cbfs_read()
|
| /rk3399_rockchip-uboot/lib/efi_loader/ |
| H A D | efi_net.c | 204 int maxsize = sizeof(*dhcp_ack); in efi_net_set_dhcp_ack() local 207 dhcp_ack = malloc(maxsize); in efi_net_set_dhcp_ack() 209 memcpy(dhcp_ack, pkt, min(len, maxsize)); in efi_net_set_dhcp_ack()
|
| /rk3399_rockchip-uboot/fs/fat/ |
| H A D | fat.c | 319 __u8 *buffer, loff_t maxsize, loff_t *gotsize) in get_contents() argument 335 if (maxsize > 0 && filesize > pos + maxsize) in get_contents() 336 filesize = pos + maxsize; in get_contents() 1091 loff_t maxsize, loff_t *actread) in file_fat_read_at() argument 1109 ret = get_contents(&fsdata, itr->dent, pos, buffer, maxsize, actread); in file_fat_read_at() 1118 int file_fat_read(const char *filename, void *buffer, int maxsize) in file_fat_read() argument 1123 ret = file_fat_read_at(filename, 0, buffer, maxsize, &actread); in file_fat_read()
|
| H A D | fat_write.c | 637 loff_t maxsize, loff_t *gotsize) in set_contents() argument 648 if (maxsize > 0 && filesize > maxsize) in set_contents() 649 filesize = maxsize; in set_contents() 1079 loff_t maxsize, loff_t *actwrite) in file_fat_write() argument 1087 return do_fat_write(filename, buffer, maxsize, actwrite); in file_fat_write()
|
| /rk3399_rockchip-uboot/drivers/ddr/marvell/a38x/ |
| H A D | ddr3_training_centralization.c | 15 #define VALIDATE_WIN_LENGTH(e1, e2, maxsize) \ argument 17 ((e2) + 1 < (e1) + (u8)maxsize)) 18 #define IS_WINDOW_OUT_BOUNDARY(e1, e2, maxsize) \ argument 20 ((e1) != (maxsize - 1) && (e2) == (maxsize - 1)))
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | mtd.h | 597 loff_t *maxsize, int devtype, uint64_t chipsize); 599 loff_t *size, loff_t *maxsize, int devtype,
|
| /rk3399_rockchip-uboot/arch/mips/mach-au1x00/ |
| H A D | au1x00_usb_ohci.c | 1105 int maxsize = usb_maxpacket(dev, pipe); in submit_common_msg() local 1120 if (!maxsize) { in submit_common_msg() 1209 int maxsize = usb_maxpacket(dev, pipe); in submit_control_msg() local 1218 if (!maxsize) { in submit_control_msg()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | genboardscfg.py | 248 q = multiprocessing.Queue(maxsize=-1)
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ohci-hcd.c | 1522 int maxsize = usb_maxpacket(dev, pipe); in submit_common_msg() local 1538 if (!maxsize) { in submit_common_msg() 1738 int maxsize = usb_maxpacket(dev, pipe); in _ohci_submit_control_msg() local 1747 if (!maxsize) { in _ohci_submit_control_msg()
|