Lines Matching refs:ecc_stats
472 mtd->ecc_stats.badblocks++; in nand_block_markbad_lowlevel()
1307 mtd->ecc_stats.failed++; in nand_read_page_swecc()
1309 mtd->ecc_stats.corrected += stat; in nand_read_page_swecc()
1410 mtd->ecc_stats.failed++; in nand_read_subpage()
1412 mtd->ecc_stats.corrected += stat; in nand_read_subpage()
1468 mtd->ecc_stats.failed++; in nand_read_page_hwecc()
1470 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc()
1529 mtd->ecc_stats.failed++; in nand_read_page_hwecc_oob_first()
1531 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc_oob_first()
1593 mtd->ecc_stats.failed++; in nand_read_page_syndrome()
1595 mtd->ecc_stats.corrected += stat; in nand_read_page_syndrome()
1717 unsigned int ecc_failures = mtd->ecc_stats.failed; in nand_do_read_ops()
1771 !(mtd->ecc_stats.failed - ecc_failures) && in nand_do_read_ops()
1800 if (mtd->ecc_stats.failed - ecc_failures) { in nand_do_read_ops()
1809 mtd->ecc_stats.failed = ecc_failures; in nand_do_read_ops()
2048 stats = mtd->ecc_stats; in nand_do_read_oob()
2118 if (mtd->ecc_stats.failed - stats.failed) in nand_do_read_oob()
2121 return mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0; in nand_do_read_oob()