Lines Matching refs:ecc_stats
479 mtd->ecc_stats.badblocks++; in nand_block_markbad_lowlevel()
1884 mtd->ecc_stats.failed++; in nand_read_page_swecc()
1886 mtd->ecc_stats.corrected += stat; in nand_read_page_swecc()
1996 mtd->ecc_stats.failed++; in nand_read_subpage()
1998 mtd->ecc_stats.corrected += stat; in nand_read_subpage()
2062 mtd->ecc_stats.failed++; in nand_read_page_hwecc()
2064 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc()
2132 mtd->ecc_stats.failed++; in nand_read_page_hwecc_oob_first()
2134 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc_oob_first()
2211 mtd->ecc_stats.failed++; in nand_read_page_syndrome()
2213 mtd->ecc_stats.corrected += stat; in nand_read_page_syndrome()
2338 unsigned int ecc_failures = mtd->ecc_stats.failed; in nand_do_read_ops()
2395 !(mtd->ecc_stats.failed - ecc_failures) && in nand_do_read_ops()
2424 if (mtd->ecc_stats.failed - ecc_failures) { in nand_do_read_ops()
2433 mtd->ecc_stats.failed = ecc_failures; in nand_do_read_ops()
2666 stats = mtd->ecc_stats; in nand_do_read_oob()
2736 if (mtd->ecc_stats.failed - stats.failed) in nand_do_read_oob()
2739 return mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0; in nand_do_read_oob()