Lines Matching refs:oob
447 uint8_t *oob = chip->oob_poi; local
461 chip->read_buf(mtd, oob, chip->ecc.prepad);
462 oob += chip->ecc.prepad;
465 chip->read_buf(mtd, oob, eccbytes);
466 oob += eccbytes;
469 chip->read_buf(mtd, oob, chip->ecc.postpad);
470 oob += chip->ecc.postpad;
474 size = mtd->oobsize - (oob - chip->oob_poi);
476 chip->read_buf(mtd, oob, size);
494 uint8_t *oob = chip->oob_poi; local
497 page, buf, oob);
510 chip->read_buf(mtd, oob, chip->ecc.prepad);
511 oob += chip->ecc.prepad;
514 stat = chip->ecc.correct(mtd, p, oob, NULL);
520 oob += eccbytes;
523 chip->read_buf(mtd, oob, chip->ecc.postpad);
524 oob += chip->ecc.postpad;
529 n = mtd->oobsize - (oob - chip->oob_poi);
531 chip->read_buf(mtd, oob, n);
537 oob = chip->oob_poi + chip->ecc.prepad;
542 chip->read_buf(mtd, oob, eccbytes);
543 oob += eccbytes + chip->ecc.postpad;
584 uint8_t *oob = chip->oob_poi; local
596 chip->write_buf(mtd, oob, chip->ecc.prepad);
597 oob += chip->ecc.prepad;
601 oob += eccbytes;
604 chip->write_buf(mtd, oob, chip->ecc.postpad);
605 oob += chip->ecc.postpad;
609 size = mtd->oobsize - (oob - chip->oob_poi);
611 chip->write_buf(mtd, oob, size);
626 uint8_t *oob = chip->oob_poi; local
640 chip->write_buf(mtd, oob, chip->ecc.prepad);
641 oob += chip->ecc.prepad;
644 chip->write_buf(mtd, oob, eccbytes);
645 oob += eccbytes;
648 chip->write_buf(mtd, oob, chip->ecc.postpad);
649 oob += chip->ecc.postpad;
654 i = mtd->oobsize - (oob - chip->oob_poi);
656 chip->write_buf(mtd, oob, i);