Lines Matching refs:readlen
2776 uint32_t readlen, uint8_t *bufpoi, int page) in nand_read_subpage() argument
2790 end_step = (data_offs + readlen - 1) / chip->ecc.size; in nand_read_subpage()
3120 uint32_t readlen = ops->len; in nand_do_read_ops() local
3145 bytes = min(mtd->writesize - col, readlen); in nand_do_read_ops()
3243 readlen -= bytes; in nand_do_read_ops()
3253 if (!readlen) in nand_do_read_ops()
3271 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops()
3453 int readlen = ops->ooblen; in nand_do_read_oob() local
3459 __func__, (unsigned long long)from, readlen); in nand_do_read_oob()
3481 len = min(len, readlen); in nand_do_read_oob()
3488 readlen -= len; in nand_do_read_oob()
3489 if (!readlen) in nand_do_read_oob()
3505 ops->oobretlen = ops->ooblen - readlen; in nand_do_read_oob()