Searched refs:toread (Results 1 - 7 of 7) sorted by path

/u-boot/cmd/
H A Dclone.c79 unsigned long toread = BUFSIZE / srcbz; local
84 ret = blk_dread(srcdesc, srcblk, toread, buf + offset);
91 if (ret < toread) {
92 toread -= ret;
/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.c395 int i, toread; local
402 toread = min_t(int, length, chip->ecc.prepad);
403 if (toread) {
404 chip->read_buf(mtd, bufpoi, toread);
405 bufpoi += toread;
406 length -= toread;
412 toread = min_t(int, length, chip->ecc.postpad);
413 if (toread) {
414 chip->read_buf(mtd, bufpoi, toread);
415 bufpoi += toread;
[all...]
H A Dnand_base.c2392 int toread = min(oobreadlen, max_oobsize); local
2394 if (toread) {
2396 oob, ops, toread);
2397 oobreadlen -= toread;
2501 int i, toread, sndrnd = 0, pos, ret; local
2524 toread = min_t(int, length, chunk);
2526 ret = nand_read_data_op(chip, bufpoi, toread, false);
2530 bufpoi += toread;
2531 length -= toread;
/u-boot/drivers/spi/
H A Dexynos_spi.c107 int toread; local
136 toread = in_bytes;
179 toread -= step;
182 } else if (!toread) {
191 toread = in_bytes;
193 spi_request_bytes(regs, toread, step);
H A Drk_spi.c438 int toread, towrite; local
476 toread = todo;
479 while (toread || towrite) {
486 if (toread && !(status & SR_RF_EMPT)) {
491 toread--;
/u-boot/fs/jffs2/
H A Djffs2_1pass.c182 size_t toread; local
208 toread = NAND_CACHE_SIZE;
209 if( nand_cache_off + toread > mtd->size )
210 toread = mtd->size - nand_cache_off;
212 retlen = toread;
215 retlen != toread) {
217 nand_cache_off, toread);
294 size_t toread; local
316 toread = ONENAND_CACHE_SIZE;
317 if( onenand_cache_off + toread > onenand_mt
[all...]
/u-boot/fs/zfs/
H A Dzfs.c775 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); local
780 if (memcmp(la->la_array, buf + bseen, toread) != 0)
783 bseen += toread;
797 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); local
803 memcpy(buf + bseen, la->la_array, toread);
805 bseen += toread;

Completed in 107 milliseconds