Lines Matching refs:oob_buf
772 uint8_t *oob_buf = this->oob_buf; in onenand_transfer_auto_oob() local
783 this->read_bufferram(mtd, 0, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_transfer_auto_oob()
792 memcpy(buf, oob_buf + st, n); in onenand_transfer_auto_oob()
1289 u_char *oob_buf = this->oob_buf; in onenand_verify_oob() local
1301 this->read_bufferram(mtd, 0, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_verify_oob()
1303 if (buf[i] != 0xFF && buf[i] != oob_buf[i]) in onenand_verify_oob()
1367 static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, in onenand_fill_auto_oob() argument
1394 memcpy(oob_buf + st, buf, n); in onenand_fill_auto_oob()
1465 oobbuf = this->oob_buf; in onenand_write_ops_nolock()
1578 oobbuf = this->oob_buf; in onenand_write_oob_nolock()
2402 .oobbuf = this->oob_buf, in flexonenand_check_blocks_erased()
2422 if (this->oob_buf[i] != 0xff) in flexonenand_check_blocks_erased()
2729 if (!this->oob_buf) { in onenand_scan()
2730 this->oob_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in onenand_scan()
2731 if (!this->oob_buf) { in onenand_scan()