Lines Matching defs:oobavail
5970 * @oobavail: OOB size that the ECC engine can use
5978 const struct nand_ecc_caps *caps, int oobavail)
6002 if (ecc_bytes * nsteps > oobavail) {
6024 * @oobavail: OOB size that the ECC engine can use
6032 const struct nand_ecc_caps *caps, int oobavail)
6077 if (ecc_bytes_total > oobavail ||
6108 * @oobavail: OOB size that the ECC engine can use
6115 const struct nand_ecc_caps *caps, int oobavail)
6145 if (ecc_bytes * nsteps > oobavail)
6178 * @oobavail: OOB size that the ECC engine can use
6193 const struct nand_ecc_caps *caps, int oobavail)
6198 if (WARN_ON(oobavail < 0 || oobavail > mtd->oobsize))
6202 return nand_check_ecc_caps(chip, caps, oobavail);
6205 return nand_maximize_ecc(chip, caps, oobavail);
6207 if (!nand_match_ecc_req(chip, caps, oobavail))
6210 return nand_maximize_ecc(chip, caps, oobavail);
6448 mtd->oobavail = ret;