| /rk3399_rockchip-uboot/arch/arm/mach-exynos/ |
| H A D | spl_boot.c | 65 static void spi_rx_tx(struct exynos_spi *regs, int todo, in spi_rx_tx() argument 72 out_bytes = todo; in spi_rx_tx() 73 in_bytes = todo; in spi_rx_tx() 76 writel(((todo * 8) / 32) | SPI_PACKET_CNT_EN, ®s->pkt_cnt); in spi_rx_tx() 109 int upto, todo; in exynos_spi_copy() local 153 for (upto = 0, i = 0; upto < uboot_size; upto += todo, i++) { in exynos_spi_copy() 154 todo = min(uboot_size - upto, (unsigned int)(1 << 15)); in exynos_spi_copy() 155 spi_rx_tx(regs, todo, (void *)(uboot_addr), in exynos_spi_copy()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | exynos_spi.c | 96 static int spi_rx_tx(struct exynos_spi_priv *priv, int todo, in spi_rx_tx() argument 109 out_bytes = in_bytes = todo; in spi_rx_tx() 119 if (!((todo | (uintptr_t)rxp | (uintptr_t)txp) & 3) && in spi_rx_tx() 127 spi_request_bytes(regs, todo, step); in spi_rx_tx() 327 int upto, todo; in exynos_spi_xfer() local 347 for (upto = 0; !ret && upto < bytelen; upto += todo) { in exynos_spi_xfer() 348 todo = min(bytelen - upto, (1 << 16) - 4); in exynos_spi_xfer() 349 ret = spi_rx_tx(priv, todo, &din, &dout, flags); in exynos_spi_xfer()
|
| H A D | rk_spi.c | 435 int todo = min(len, 0xffff); in rockchip_spi_xfer() local 438 writel(todo - 1, ®s->ctrlr1); in rockchip_spi_xfer() 441 toread = todo; in rockchip_spi_xfer() 442 towrite = todo; in rockchip_spi_xfer() 462 len -= todo; in rockchip_spi_xfer()
|
| /rk3399_rockchip-uboot/tools/gdb/ |
| H A D | remote.c | 493 int todo; local 503 todo = min (len, max_buf_size); 508 todo = min (len, max_buf_size / 2); /* num bytes that will fit */ 515 p += hexnumstr ((char *)p, (ULONGEST) todo); 526 (i < todo) && (i + escaped) < (max_buf_size - 2); 545 if (i < todo) 560 for (i = 0; i < todo; i++)
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | image.py | 145 todo = self._entries.values() 148 for entry in todo: 151 todo = next_todo 152 if not todo:
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | rkspi.c | 251 int todo = min(len, 0xffff); in rockchip_spi_xfer() local 254 writel(todo - 1, ®s->ctrlr1); in rockchip_spi_xfer() 257 toread = todo; in rockchip_spi_xfer() 258 towrite = todo; in rockchip_spi_xfer() 278 len -= todo; in rockchip_spi_xfer()
|
| /rk3399_rockchip-uboot/drivers/usb/emul/ |
| H A D | usb-emul-uclass.c | 86 int upto, todo; in usb_emul_get_descriptor() local 100 for (upto = 0; *ptr && upto < length; ptr++, upto += todo) { in usb_emul_get_descriptor() 101 todo = min(length - upto, (int)(*ptr)->bLength); in usb_emul_get_descriptor() 103 memcpy(buffer + upto, *ptr, todo); in usb_emul_get_descriptor()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | rkcommon.c | 606 int todo = sizeof(zeros); in pad_file() local 608 if (todo > pad) in pad_file() 609 todo = pad; in pad_file() 610 if (write(ifd, (char *)&zeros, todo) != todo) { in pad_file() 616 pad -= todo; in pad_file()
|
| H A D | mkimage.c | 726 int todo = sizeof(zeros); in copy_file() local 728 if (todo > pad) in copy_file() 729 todo = pad; in copy_file() 730 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file() 736 pad -= todo; in copy_file()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | sf.c | 217 size_t todo; /* number of bytes to do in this pass */ in spi_flash_update() local 230 for (; buf < end && !err_oper; buf += todo, offset += todo) { in spi_flash_update() 231 todo = min_t(size_t, end - buf, flash->sector_size); in spi_flash_update() 239 err_oper = spi_flash_update_block(flash, offset, todo, in spi_flash_update()
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | sandbox.c | 304 int todo; in sandbox_erase_part() local 308 todo = min(size, (int)sizeof(sandbox_sf_0xff)); in sandbox_erase_part() 309 ret = os_write(sbsf->fd, sandbox_sf_0xff, todo); in sandbox_erase_part() 310 if (ret != todo) in sandbox_erase_part() 312 size -= todo; in sandbox_erase_part()
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | cros_ec.c | 833 uint32_t todo; in cros_ec_flash_write() local 836 todo = min(end - off, burst); in cros_ec_flash_write() 838 cros_ec_data_is_erased((uint32_t *)data, todo)) in cros_ec_flash_write() 841 ret = cros_ec_flash_write_block(dev, data, off, todo); in cros_ec_flash_write()
|
| /rk3399_rockchip-uboot/tools/patman/ |
| H A D | gitutil.py | 508 todo = LookupEmail(item, alias, raise_on_error, level + 1) 509 for new_item in todo:
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | builder.py | 346 todo = self.count - self.upto 348 self._build_period * todo * 1000000)
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ether.c | 130 unsigned long todo; member
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.x86 | 12 including supported boards, build instructions, todo list, etc.
|