Searched refs:thisooblen (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 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() [all …]
|
/openbmc/u-boot/drivers/mtd/onenand/ |
H A D | onenand_base.c | 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() [all …]
|