Lines Matching defs:oobavail
5306 * @oobavail: OOB size that the ECC engine can use
5314 const struct nand_ecc_caps *caps, int oobavail)
5338 if (ecc_bytes * nsteps > oobavail) {
5360 * @oobavail: OOB size that the ECC engine can use
5368 const struct nand_ecc_caps *caps, int oobavail)
5413 if (ecc_bytes_total > oobavail ||
5444 * @oobavail: OOB size that the ECC engine can use
5451 const struct nand_ecc_caps *caps, int oobavail)
5481 if (ecc_bytes * nsteps > oobavail)
5514 * @oobavail: OOB size that the ECC engine can use
5529 const struct nand_ecc_caps *caps, int oobavail)
5534 if (WARN_ON(oobavail < 0 || oobavail > mtd->oobsize))
5538 return nand_check_ecc_caps(chip, caps, oobavail);
5541 return nand_maximize_ecc(chip, caps, oobavail);
5543 if (!nand_match_ecc_req(chip, caps, oobavail))
5546 return nand_maximize_ecc(chip, caps, oobavail);
5779 mtd->oobavail = ret;