Lines Matching refs:ecc_stats
608 mtd->ecc_stats.badblocks++; in nand_block_markbad_lowlevel()
2724 mtd->ecc_stats.failed++; in nand_read_page_swecc()
2726 mtd->ecc_stats.corrected += stat; in nand_read_page_swecc()
2835 mtd->ecc_stats.failed++; in nand_read_subpage()
2837 mtd->ecc_stats.corrected += stat; in nand_read_subpage()
2905 mtd->ecc_stats.failed++; in nand_read_page_hwecc()
2907 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc()
2975 mtd->ecc_stats.failed++; in nand_read_page_hwecc_oob_first()
2977 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc_oob_first()
3058 mtd->ecc_stats.failed++; in nand_read_page_syndrome()
3060 mtd->ecc_stats.corrected += stat; in nand_read_page_syndrome()
3178 unsigned int ecc_failures = mtd->ecc_stats.failed; in nand_do_read_ops()
3226 !(mtd->ecc_stats.failed - ecc_failures) && in nand_do_read_ops()
3249 if (mtd->ecc_stats.failed - ecc_failures) { in nand_do_read_ops()
3258 mtd->ecc_stats.failed = ecc_failures; in nand_do_read_ops()
3493 stats = mtd->ecc_stats; in nand_do_read_oob()
3542 if (mtd->ecc_stats.failed - stats.failed) in nand_do_read_oob()