Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/raw/
Dnand_util.c709 size_t left_to_read = *length; in nand_read_skip_bad() local
750 while (left_to_read > 0) { in nand_read_skip_bad()
763 if (left_to_read < (mtd->erasesize - block_offset)) in nand_read_skip_bad()
764 read_length = left_to_read; in nand_read_skip_bad()
772 *length -= left_to_read; in nand_read_skip_bad()
776 left_to_read -= read_length; in nand_read_skip_bad()