Lines Matching refs:thisooblen
1124 int oobread = 0, oobcolumn, thisooblen, oobsize; in onenand_mlc_read_ops_nolock() local
1169 thisooblen = oobsize - oobcolumn; in onenand_mlc_read_ops_nolock()
1170 thisooblen = min_t(int, thisooblen, ooblen - oobread); in onenand_mlc_read_ops_nolock()
1173 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_mlc_read_ops_nolock()
1175 this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_mlc_read_ops_nolock()
1176 oobread += thisooblen; in onenand_mlc_read_ops_nolock()
1177 oobbuf += thisooblen; in onenand_mlc_read_ops_nolock()
1225 int oobread = 0, oobcolumn, thisooblen, oobsize; in onenand_read_ops_nolock() local
1287 thisooblen = oobsize - oobcolumn; in onenand_read_ops_nolock()
1288 thisooblen = min_t(int, thisooblen, ooblen - oobread); in onenand_read_ops_nolock()
1291 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
1293 this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
1294 oobread += thisooblen; in onenand_read_ops_nolock()
1295 oobbuf += thisooblen; in onenand_read_ops_nolock()
1803 int oobwritten = 0, oobcolumn, thisooblen, oobsize; in onenand_write_ops_nolock() local
1839 thisooblen = min_t(int, oobsize - oobcolumn, ooblen - oobwritten); in onenand_write_ops_nolock()
1862 onenand_fill_auto_oob(mtd, oobbuf, oob, oobcolumn, thisooblen); in onenand_write_ops_nolock()
1864 memcpy(oobbuf + oobcolumn, oob, thisooblen); in onenand_write_ops_nolock()
1866 oobwritten += thisooblen; in onenand_write_ops_nolock()
1867 oob += thisooblen; in onenand_write_ops_nolock()