Lines Matching refs:oob_buf
1056 this->read_bufferram(mtd, ONENAND_SPARERAM, this->oob_buf, 0, in onenand_transfer_auto_oob()
1058 return mtd_ooblayout_get_databytes(mtd, buf, this->oob_buf, in onenand_transfer_auto_oob()
1604 u_char *oob_buf = this->oob_buf; in onenand_verify_oob() local
1615 this->read_bufferram(mtd, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_verify_oob()
1617 if (buf[i] != 0xFF && buf[i] != oob_buf[i]) in onenand_verify_oob()
1771 static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, in onenand_fill_auto_oob() argument
1774 return mtd_ooblayout_set_databytes(mtd, buf, oob_buf, column, thislen); in onenand_fill_auto_oob()
1844 oobbuf = this->oob_buf; in onenand_write_ops_nolock()
2008 oobbuf = this->oob_buf; in onenand_write_oob_nolock()
2789 oobbuf = this->oob_buf; in onenand_otp_write_oob_nolock()
3192 u_char *buf = FLEXONENAND(this) ? this->page_buf : this->oob_buf; in onenand_lock_user_prot_reg()
3518 .oobbuf = this->oob_buf, in flexonenand_check_blocks_erased()
3538 if (this->oob_buf[i] != 0xff) in flexonenand_check_blocks_erased()
3873 if (!this->oob_buf) { in onenand_scan()
3874 this->oob_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in onenand_scan()
3875 if (!this->oob_buf) { in onenand_scan()
4011 kfree(this->oob_buf); in onenand_release()