Lines Matching refs:oobavail
5913 const struct nand_ecc_caps *caps, int oobavail) in nand_check_ecc_caps() argument
5937 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps()
5967 const struct nand_ecc_caps *caps, int oobavail) in nand_match_ecc_req() argument
6012 if (ecc_bytes_total > oobavail || in nand_match_ecc_req()
6050 const struct nand_ecc_caps *caps, int oobavail) in nand_maximize_ecc() argument
6080 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc()
6128 const struct nand_ecc_caps *caps, int oobavail) in nand_ecc_choose_conf() argument
6133 if (WARN_ON(oobavail < 0 || oobavail > mtd->oobsize)) in nand_ecc_choose_conf()
6137 return nand_check_ecc_caps(chip, caps, oobavail); in nand_ecc_choose_conf()
6140 return nand_maximize_ecc(chip, caps, oobavail); in nand_ecc_choose_conf()
6142 if (!nand_match_ecc_req(chip, caps, oobavail)) in nand_ecc_choose_conf()
6145 return nand_maximize_ecc(chip, caps, oobavail); in nand_ecc_choose_conf()
6383 mtd->oobavail = ret; in nand_scan_tail()