Home
last modified time | relevance | path

Searched refs:todo (Results 1 – 20 of 20) sorted by relevance

/u-boot/cmd/
A Dio.c31 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 Dsf.c219 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 Dspl_boot.c68 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, &regs->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 Dexynos_spi.c99 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 Drk_spi.c461 int todo = min(len, ROCKCHIP_SPI_MAX_TRANLEN); in rockchip_spi_xfer() local
464 writel(todo - 1, &regs->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 Dremote.c492 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 Dsection.py114 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 Drkcommon.c456 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 Dimx8mimage.c300 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 Dmkimage.c766 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 Dimx8image.c421 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 Dusb-emul-uclass.c84 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 Dsandbox.c301 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 Dgitutil.py594 todo = LookupEmail(item, alias, raise_on_error, level + 1)
595 for new_item in todo:
/u-boot/tools/binman/
A Dcbfs_util.py498 todo = align_int_down(offset - upto, self._align)
499 if todo:
500 cbf = CbfsFile.empty(todo, self._erase_byte)
/u-boot/drivers/misc/
A Dcros_ec.c978 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 Dbuilder.py395 todo = self.count - self.upto
397 self._build_period * todo * 1000000)
/u-boot/
A D.azure-pipelines.yml76 - job: todo
/u-boot/drivers/usb/gadget/
A Dether.c126 unsigned long todo; member
/u-boot/doc/arch/
A Dx86.rst9 including supported boards, build instructions, todo list, etc.

Completed in 99 milliseconds