Lines Matching refs:thisooblen
857 int oobread = 0, oobcolumn, thisooblen, oobsize; in onenand_read_ops_nolock() local
928 thisooblen = oobsize - oobcolumn; in onenand_read_ops_nolock()
929 thisooblen = min_t(int, thisooblen, ooblen - oobread); in onenand_read_ops_nolock()
932 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
934 this->read_bufferram(mtd, 0, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
935 oobread += thisooblen; in onenand_read_ops_nolock()
936 oobbuf += thisooblen; in onenand_read_ops_nolock()
1415 int oobwritten = 0, oobcolumn, thisooblen, oobsize; in onenand_write_ops_nolock() local
1450 thisooblen = min_t(int, oobsize - oobcolumn, ooblen - oobwritten); in onenand_write_ops_nolock()
1471 onenand_fill_auto_oob(mtd, oobbuf, oob, oobcolumn, thisooblen); in onenand_write_ops_nolock()
1473 memcpy(oobbuf + oobcolumn, oob, thisooblen); in onenand_write_ops_nolock()
1475 oobwritten += thisooblen; in onenand_write_ops_nolock()
1476 oob += thisooblen; in onenand_write_ops_nolock()