Lines Matching refs:oobbuf
870 u8 *oobbuf = ops->oobbuf; in doc_read_oob() local
881 if (oobbuf) in doc_read_oob()
886 if (oobbuf && ops->mode == MTD_OPS_PLACE_OOB) in doc_read_oob()
887 oobbuf += ops->ooboffs; in doc_read_oob()
890 from, ops->mode, buf, len, oobbuf, ooblen); in doc_read_oob()
920 ret = doc_read_page_getbytes(docg3, nboob, oobbuf, 0, 0); in doc_read_oob()
930 doc_dbg("OOB - INFO: %*phC\n", 7, oobbuf); in doc_read_oob()
931 doc_dbg("OOB - HAMMING: %02x\n", oobbuf[7]); in doc_read_oob()
932 doc_dbg("OOB - BCH_ECC: %*phC\n", 7, oobbuf + 8); in doc_read_oob()
933 doc_dbg("OOB - UNUSED: %02x\n", oobbuf[15]); in doc_read_oob()
963 oobbuf += nboob; in doc_read_oob()
1358 doc_fill_autooob(docg3->oob_write_buf, ops->oobbuf); in doc_backup_oob()
1361 memcpy(docg3->oob_write_buf, ops->oobbuf, DOC_LAYOUT_OOB_SIZE); in doc_backup_oob()
1387 u8 *oobbuf = ops->oobbuf; in doc_write_oob() local
1396 if (oobbuf) in doc_write_oob()
1401 if (oobbuf && ops->mode == MTD_OPS_PLACE_OOB) in doc_write_oob()
1402 oobbuf += ops->ooboffs; in doc_write_oob()
1405 ofs, ops->mode, buf, len, oobbuf, ooblen); in doc_write_oob()
1442 doc_fill_autooob(oob, oobbuf); in doc_write_oob()
1444 memcpy(oob, oobbuf, DOC_LAYOUT_OOB_SIZE); in doc_write_oob()
1451 oobbuf += oobdelta; in doc_write_oob()