Lines Matching refs:nsteps
4099 int nsteps, ecc_bytes; in nand_check_ecc_caps() local
4108 nsteps = mtd->writesize / preset_step; in nand_check_ecc_caps()
4125 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps()
4161 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local
4194 nsteps = mtd->writesize / step_size; in nand_match_ecc_req()
4199 ecc_bytes_total = ecc_bytes * nsteps; in nand_match_ecc_req()
4202 strength * nsteps < req_corr) in nand_match_ecc_req()
4243 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
4266 nsteps = mtd->writesize / step_size; in nand_maximize_ecc()
4272 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc()
4275 corr = strength * nsteps; in nand_maximize_ecc()