Searched refs:toread (Results 1 – 6 of 6) sorted by relevance
/u-boot/cmd/ |
A D | clone.c | 79 unsigned long toread = BUFSIZE / srcbz; in do_clone() local 84 ret = blk_dread(srcdesc, srcblk, toread, buf + offset); in do_clone() 91 if (ret < toread) { in do_clone() 92 toread -= ret; in do_clone()
|
/u-boot/drivers/spi/ |
A D | exynos_spi.c | 107 int toread; in spi_rx_tx() local 136 toread = in_bytes; in spi_rx_tx() 179 toread -= step; in spi_rx_tx() 182 } else if (!toread) { in spi_rx_tx() 191 toread = in_bytes; in spi_rx_tx() 193 spi_request_bytes(regs, toread, step); in spi_rx_tx()
|
A D | rk_spi.c | 438 int toread, towrite; in rockchip_spi_xfer() local 467 toread = todo; in rockchip_spi_xfer() 469 while (toread || towrite) { in rockchip_spi_xfer() 476 if (toread && !(status & SR_RF_EMPT)) { in rockchip_spi_xfer() 481 toread--; in rockchip_spi_xfer()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | mxc_nand.c | 394 int i, toread; local 402 if (toread) { 403 chip->read_buf(mtd, bufpoi, toread); 404 bufpoi += toread; 405 length -= toread; 412 if (toread) { 413 chip->read_buf(mtd, bufpoi, toread); 414 bufpoi += toread; 415 length -= toread; 427 toread = min_t(int, length, chip->ecc.bytes); [all …]
|
A D | nand_base.c | 2407 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local 2409 if (toread) { in nand_do_read_ops() 2411 oob, ops, toread); in nand_do_read_ops() 2412 oobreadlen -= toread; in nand_do_read_ops() 2516 int i, toread, sndrnd = 0, pos, ret; in nand_read_oob_syndrome() local 2539 toread = min_t(int, length, chunk); in nand_read_oob_syndrome() 2541 ret = nand_read_data_op(chip, bufpoi, toread, false); in nand_read_oob_syndrome() 2545 bufpoi += toread; in nand_read_oob_syndrome() 2546 length -= toread; in nand_read_oob_syndrome()
|
/u-boot/fs/zfs/ |
A D | zfs.c | 775 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_equal() local 780 if (memcmp(la->la_array, buf + bseen, toread) != 0) in zap_leaf_array_equal() 783 bseen += toread; in zap_leaf_array_equal() 797 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_get() local 803 memcpy(buf + bseen, la->la_array, toread); in zap_leaf_array_get() 805 bseen += toread; in zap_leaf_array_get()
|
Completed in 21 milliseconds