Lines Matching refs:autoecc
1220 * @autoecc: if 0, all 16 bytes from OOB are taken, regardless of HW Hamming or
1227 * BCH generator if autoecc is not null.
1232 const u_char *oob, int autoecc)
1254 if (oob && autoecc) {
1271 if (oob && !autoecc)
1292 * doc_guess_autoecc - Guess autoecc mode from mbd_oob_ops
1299 int autoecc;
1304 autoecc = 1;
1307 autoecc = 0;
1310 autoecc = -EINVAL;
1312 return autoecc;
1347 int ooblen = ops->ooblen, autoecc;
1351 autoecc = doc_guess_autoecc(ops);
1352 if (autoecc < 0)
1353 return autoecc;
1356 docg3->oob_autoecc = autoecc;
1386 int ret, autoecc, oobdelta;
1432 autoecc = doc_guess_autoecc(ops);
1433 if (autoecc < 0)
1434 return autoecc;
1445 ret = doc_write_page(docg3, ofs, buf, oob, autoecc);