Lines Matching refs:autoecc
1212 * @autoecc: if 0, all 16 bytes from OOB are taken, regardless of HW Hamming or
1219 * BCH generator if autoecc is not null.
1224 const u_char *oob, int autoecc)
1246 if (oob && autoecc) {
1263 if (oob && !autoecc)
1284 * doc_guess_autoecc - Guess autoecc mode from mbd_oob_ops
1291 int autoecc;
1296 autoecc = 1;
1299 autoecc = 0;
1302 autoecc = -EINVAL;
1304 return autoecc;
1339 int ooblen = ops->ooblen, autoecc;
1343 autoecc = doc_guess_autoecc(ops);
1344 if (autoecc < 0)
1345 return autoecc;
1348 docg3->oob_autoecc = autoecc;
1378 int ret, autoecc, oobdelta;
1424 autoecc = doc_guess_autoecc(ops);
1425 if (autoecc < 0)
1426 return autoecc;
1437 ret = doc_write_page(docg3, ofs, buf, oob, autoecc);