Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c1124 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()
1176 oobread += thisooblen; in onenand_mlc_read_ops_nolock()
1177 oobbuf += thisooblen; in onenand_mlc_read_ops_nolock()
1287 thisooblen = oobsize - oobcolumn; in onenand_read_ops_nolock()
1288 thisooblen = min_t(int, thisooblen, ooblen - oobread); in onenand_read_ops_nolock()
1294 oobread += thisooblen; in onenand_read_ops_nolock()
1295 oobbuf += thisooblen; in onenand_read_ops_nolock()
1866 oobwritten += thisooblen; in onenand_write_ops_nolock()
[all …]
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c857 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()
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
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()
[all …]