Lines Matching refs:ecc_stats
588 mtd->ecc_stats.failed++; in onenand_wait()
593 mtd->ecc_stats.corrected++; in onenand_wait()
1103 mtd->ecc_stats.failed--; in onenand_recover_lsb()
1148 stats = mtd->ecc_stats; in onenand_mlc_read_ops_nolock()
1205 if (mtd->ecc_stats.failed - stats.failed) in onenand_mlc_read_ops_nolock()
1209 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0; in onenand_mlc_read_ops_nolock()
1249 stats = mtd->ecc_stats; in onenand_read_ops_nolock()
1334 if (mtd->ecc_stats.failed - stats.failed) in onenand_read_ops_nolock()
1338 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0; in onenand_read_ops_nolock()
1381 stats = mtd->ecc_stats; in onenand_read_oob_nolock()
1430 if (mtd->ecc_stats.failed - stats.failed) in onenand_read_oob_nolock()