Lines Matching refs:oobbuf
1122 u_char *oobbuf = ops->oobbuf; in onenand_mlc_read_ops_nolock() local
1168 if (oobbuf) { 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()
1177 oobbuf += thisooblen; in onenand_mlc_read_ops_nolock()
1223 u_char *oobbuf = ops->oobbuf; in onenand_read_ops_nolock() local
1286 if (oobbuf) { 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()
1295 oobbuf += thisooblen; in onenand_read_ops_nolock()
1352 u_char *buf = ops->oobbuf; in onenand_read_oob_nolock()
1545 u_char *buf = ops->oobbuf; in onenand_bbt_read_oob()
1807 const u_char *oob = ops->oobbuf; in onenand_write_ops_nolock()
1808 u_char *oobbuf; in onenand_write_ops_nolock() local
1856 oobbuf = this->oob_buf; in onenand_write_ops_nolock()
1860 memset(oobbuf, 0xff, mtd->oobsize); 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()
1870 oobbuf = (u_char *) ffchars; in onenand_write_ops_nolock()
1872 this->write_bufferram(mtd, ONENAND_SPARERAM, oobbuf, 0, mtd->oobsize); in onenand_write_ops_nolock()
1984 u_char *oobbuf; in onenand_write_oob_nolock() local
1986 const u_char *buf = ops->oobbuf; in onenand_write_oob_nolock()
2017 oobbuf = this->oob_buf; in onenand_write_oob_nolock()
2031 memset(oobbuf, 0xff, mtd->oobsize); in onenand_write_oob_nolock()
2033 onenand_fill_auto_oob(mtd, oobbuf, buf, column, thislen); in onenand_write_oob_nolock()
2035 memcpy(oobbuf + column, buf, thislen); in onenand_write_oob_nolock()
2036 this->write_bufferram(mtd, ONENAND_SPARERAM, oobbuf, 0, mtd->oobsize); in onenand_write_oob_nolock()
2059 ret = onenand_verify_oob(mtd, oobbuf, to); in onenand_write_oob_nolock()
2451 .oobbuf = buf, in onenand_default_block_markbad()
2782 u_char *oobbuf; in onenand_otp_write_oob_nolock() local
2784 const u_char *buf = ops->oobbuf; in onenand_otp_write_oob_nolock()
2796 oobbuf = this->oob_buf; in onenand_otp_write_oob_nolock()
2832 memcpy(oobbuf + column, buf, thislen); in onenand_otp_write_oob_nolock()
2841 oobbuf, 0, mtd->oobsize); in onenand_otp_write_oob_nolock()
2915 .oobbuf = NULL, in do_otp_read()
2967 ops.oobbuf = NULL; in do_otp_write()
3007 ops.oobbuf = NULL; in do_otp_lock()
3017 ops.oobbuf = buf; in do_otp_lock()
3526 .oobbuf = this->oob_buf, in flexonenand_check_blocks_erased()