/u-boot/cmd/ |
A D | io.c | 31 int size, todo; in do_io_iod() local 68 for (; bytes > 0; addr += todo) { in do_io_iod() 72 todo = min(bytes, (ulong)DISP_LINE_LEN); in do_io_iod() 73 for (i = 0; i < todo; i += size, ptr += size) { in do_io_iod() 81 print_buffer(addr, buf, size, todo / size, in do_io_iod() 83 bytes -= todo; in do_io_iod()
|
A D | sf.c | 219 size_t todo; /* number of bytes to do in this pass */ in spi_flash_update() local 232 for (; buf < end && !err_oper; buf += todo, offset += todo) { in spi_flash_update() 233 todo = min_t(size_t, end - buf, flash->sector_size); in spi_flash_update() 241 err_oper = spi_flash_update_block(flash, offset, todo, in spi_flash_update()
|
/u-boot/arch/arm/mach-exynos/ |
A D | spl_boot.c | 68 static void spi_rx_tx(struct exynos_spi *regs, int todo, in spi_rx_tx() argument 75 out_bytes = todo; in spi_rx_tx() 76 in_bytes = todo; in spi_rx_tx() 79 writel(((todo * 8) / 32) | SPI_PACKET_CNT_EN, ®s->pkt_cnt); in spi_rx_tx() 112 int upto, todo; in exynos_spi_copy() local 156 for (upto = 0, i = 0; upto < uboot_size; upto += todo, i++) { in exynos_spi_copy() 157 todo = min(uboot_size - upto, (unsigned int)(1 << 15)); in exynos_spi_copy() 158 spi_rx_tx(regs, todo, (void *)(uboot_addr), in exynos_spi_copy()
|
/u-boot/drivers/spi/ |
A D | exynos_spi.c | 99 static int spi_rx_tx(struct exynos_spi_priv *priv, int todo, in spi_rx_tx() argument 112 out_bytes = in_bytes = todo; in spi_rx_tx() 122 if (!((todo | (uintptr_t)rxp | (uintptr_t)txp) & 3) && in spi_rx_tx() 130 spi_request_bytes(regs, todo, step); in spi_rx_tx() 330 int upto, todo; in exynos_spi_xfer() local 350 for (upto = 0; !ret && upto < bytelen; upto += todo) { in exynos_spi_xfer() 351 todo = min(bytelen - upto, (1 << 16) - 4); in exynos_spi_xfer() 352 ret = spi_rx_tx(priv, todo, &din, &dout, flags); in exynos_spi_xfer()
|
A D | rk_spi.c | 461 int todo = min(len, ROCKCHIP_SPI_MAX_TRANLEN); in rockchip_spi_xfer() local 464 writel(todo - 1, ®s->ctrlr1); in rockchip_spi_xfer() 467 toread = todo; in rockchip_spi_xfer() 468 towrite = todo; in rockchip_spi_xfer() 496 len -= todo; in rockchip_spi_xfer()
|
/u-boot/tools/gdb/ |
A D | remote.c | 492 int todo; local 502 todo = min (len, max_buf_size); 507 todo = min (len, max_buf_size / 2); /* num bytes that will fit */ 514 p += hexnumstr ((char *)p, (ULONGEST) todo); 525 (i < todo) && (i + escaped) < (max_buf_size - 2); 544 if (i < todo) 559 for (i = 0; i < todo; i++)
|
/u-boot/tools/binman/etype/ |
A D | section.py | 114 todo = self._entries.values() 117 for entry in todo: 120 todo = next_todo 121 if not todo: 123 if todo: 125 todo) 514 for entry in todo: 517 todo = next_todo 518 if not todo: 520 if todo: [all …]
|
/u-boot/tools/ |
A D | rkcommon.c | 456 int todo = sizeof(zeros); in pad_file() local 458 if (todo > pad) in pad_file() 459 todo = pad; in pad_file() 460 if (write(ifd, (char *)&zeros, todo) != todo) { in pad_file() 466 pad -= todo; in pad_file()
|
A D | imx8mimage.c | 300 int todo = sizeof(zeros); in copy_file() local 302 if (todo > pad) in copy_file() 303 todo = pad; in copy_file() 304 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file() 309 pad -= todo; in copy_file()
|
A D | mkimage.c | 766 int todo = sizeof(zeros); in copy_file() local 768 if (todo > pad) in copy_file() 769 todo = pad; in copy_file() 770 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file() 776 pad -= todo; in copy_file()
|
A D | imx8image.c | 421 int todo = sizeof(zeros); in copy_file() local 423 if (todo > pad) in copy_file() 424 todo = pad; in copy_file() 425 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file() 430 pad -= todo; in copy_file()
|
/u-boot/drivers/usb/emul/ |
A D | usb-emul-uclass.c | 84 int upto, todo; in usb_emul_get_descriptor() local 98 for (upto = 0; *ptr && upto < length; ptr++, upto += todo) { in usb_emul_get_descriptor() 99 todo = min(length - upto, (int)(*ptr)->bLength); in usb_emul_get_descriptor() 101 memcpy(buffer + upto, *ptr, todo); in usb_emul_get_descriptor()
|
/u-boot/drivers/mtd/spi/ |
A D | sandbox.c | 301 int todo; in sandbox_erase_part() local 305 todo = min(size, (int)sizeof(sandbox_sf_0xff)); in sandbox_erase_part() 306 ret = os_write(sbsf->fd, sandbox_sf_0xff, todo); in sandbox_erase_part() 307 if (ret != todo) in sandbox_erase_part() 309 size -= todo; in sandbox_erase_part()
|
/u-boot/tools/patman/ |
A D | gitutil.py | 594 todo = LookupEmail(item, alias, raise_on_error, level + 1) 595 for new_item in todo:
|
/u-boot/tools/binman/ |
A D | cbfs_util.py | 498 todo = align_int_down(offset - upto, self._align) 499 if todo: 500 cbf = CbfsFile.empty(todo, self._erase_byte)
|
/u-boot/drivers/misc/ |
A D | cros_ec.c | 978 uint32_t todo; in cros_ec_flash_write() local 981 todo = min(end - off, burst); in cros_ec_flash_write() 983 cros_ec_data_is_erased((uint32_t *)data, todo)) in cros_ec_flash_write() 986 ret = cros_ec_flash_write_block(dev, data, off, todo); in cros_ec_flash_write()
|
/u-boot/tools/buildman/ |
A D | builder.py | 395 todo = self.count - self.upto 397 self._build_period * todo * 1000000)
|
/u-boot/ |
A D | .azure-pipelines.yml | 76 - job: todo
|
/u-boot/drivers/usb/gadget/ |
A D | ether.c | 126 unsigned long todo; member
|
/u-boot/doc/arch/ |
A D | x86.rst | 9 including supported boards, build instructions, todo list, etc.
|