/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_toshiba.c | 65 mtd->ecc_stats.failed++; in toshiba_nand_benand_eccstatus() 67 mtd->ecc_stats.corrected += bitflips; in toshiba_nand_benand_eccstatus() 85 mtd->ecc_stats.failed++; in toshiba_nand_benand_eccstatus() 89 mtd->ecc_stats.corrected += max_bitflips; in toshiba_nand_benand_eccstatus()
|
D | nand_micron.c | 200 mtd->ecc_stats.failed++; in micron_nand_on_die_ecc_status_4() 269 mtd->ecc_stats.corrected += nbitflips; in micron_nand_on_die_ecc_status_4() 285 mtd->ecc_stats.failed++; in micron_nand_on_die_ecc_status_8() 288 mtd->ecc_stats.corrected += 3; in micron_nand_on_die_ecc_status_8() 291 mtd->ecc_stats.corrected += 6; in micron_nand_on_die_ecc_status_8() 295 mtd->ecc_stats.corrected += 8; in micron_nand_on_die_ecc_status_8()
|
D | denali.c | 412 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_check_erased_page() local 425 ecc_stats->failed++; in denali_check_erased_page() 427 ecc_stats->corrected += stat; in denali_check_erased_page() 442 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_hw_ecc_fixup() local 468 ecc_stats->corrected += max_bitflips; in denali_hw_ecc_fixup() 477 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_sw_ecc_fixup() local 527 ecc_stats->corrected += flips_in_byte; in denali_sw_ecc_fixup()
|
D | mxc_nand.c | 733 uint16_t ecc_stats; in mxc_nand_read_page_v1() local 743 ecc_stats = get_ecc_status_v1(host); in mxc_nand_read_page_v1() 745 ecc_stats >>= 2; in mxc_nand_read_page_v1() 748 switch (ecc_stats & 0x3) { in mxc_nand_read_page_v1() 753 mtd->ecc_stats.corrected++; in mxc_nand_read_page_v1() 757 mtd->ecc_stats.failed++; in mxc_nand_read_page_v1() 807 mtd->ecc_stats.failed++; in mxc_nand_read_page_v2_v3() 809 mtd->ecc_stats.corrected += err; in mxc_nand_read_page_v2_v3()
|
D | nand_base.c | 550 mtd->ecc_stats.badblocks++; in nand_block_markbad_lowlevel() 2758 mtd->ecc_stats.failed++; in nand_read_page_swecc() 2760 mtd->ecc_stats.corrected += stat; in nand_read_page_swecc() 2869 mtd->ecc_stats.failed++; in nand_read_subpage() 2871 mtd->ecc_stats.corrected += stat; in nand_read_subpage() 2940 mtd->ecc_stats.failed++; in nand_read_page_hwecc() 2942 mtd->ecc_stats.corrected += stat; in nand_read_page_hwecc() 3023 mtd->ecc_stats.failed++; in nand_read_page_syndrome() 3025 mtd->ecc_stats.corrected += stat; in nand_read_page_syndrome() 3143 struct mtd_ecc_stats ecc_stats = mtd->ecc_stats; in nand_do_read_ops() local [all …]
|
D | tango_nand.c | 211 mtd->ecc_stats.failed++; in check_erased_page() 213 mtd->ecc_stats.corrected += res; in check_erased_page() 239 mtd->ecc_stats.corrected += in decode_error_report()
|
D | fsl_ifc_nand.c | 240 mtd->ecc_stats.corrected += errors; in fsl_ifc_run_command() 655 mtd->ecc_stats.failed++; in check_erased_page() 657 mtd->ecc_stats.corrected += res; in check_erased_page() 687 mtd->ecc_stats.failed++; in fsl_ifc_read_page()
|
D | meson_nand.c | 455 mtd->ecc_stats.corrected += ECC_ERR_CNT(*info); in meson_nfc_ecc_correct() 462 mtd->ecc_stats.corrected += ECC_ZERO_CNT(*info); in meson_nfc_ecc_correct() 792 mtd->ecc_stats.failed++; in meson_nfc_read_page_hwecc() 810 mtd->ecc_stats.failed++; in meson_nfc_read_page_hwecc() 812 mtd->ecc_stats.corrected += ret; in meson_nfc_read_page_hwecc()
|
D | tegra_nand.c | 708 mtd->ecc_stats.failed += hweight8(fail_sec_flag); in tegra_nand_read_page_hwecc() 733 mtd->ecc_stats.failed++; in tegra_nand_read_page_hwecc() 735 mtd->ecc_stats.corrected += ret; in tegra_nand_read_page_hwecc() 756 mtd->ecc_stats.corrected += max_corr_cnt * hweight8(corr_sec_flag); in tegra_nand_read_page_hwecc()
|
D | arasan-nand-controller.c | 413 mtd->ecc_stats.corrected += bf; in anfc_read_page_hw_ecc() 423 mtd->ecc_stats.corrected += bf; in anfc_read_page_hw_ecc() 427 mtd->ecc_stats.failed++; in anfc_read_page_hw_ecc()
|
D | davinci_nand.c | 432 mtd->ecc_stats.failed++; in nand_davinci_read_page_hwecc_oob_first() 434 mtd->ecc_stats.corrected += stat; in nand_davinci_read_page_hwecc_oob_first()
|
D | lpc32xx_mlc.c | 468 mtd->ecc_stats.failed++; in lpc32xx_read_page() 471 mtd->ecc_stats.corrected += ((mlc_isr >> 4) & 0x3) + 1; in lpc32xx_read_page()
|
D | hisi504_nand.c | 531 mtd->ecc_stats.failed++; in hisi_nand_read_page_hwecc() 543 mtd->ecc_stats.corrected += stat; in hisi_nand_read_page_hwecc()
|
D | nand_bbt.c | 222 mtd->ecc_stats.bbtblocks++; in read_bbt() 239 mtd->ecc_stats.badblocks++; in read_bbt() 500 mtd->ecc_stats.badblocks++; in create_bbt()
|
D | vf610_nfc.c | 588 mtd->ecc_stats.failed++; in vf610_nfc_read_page() 591 mtd->ecc_stats.corrected += stat; in vf610_nfc_read_page()
|
D | cafe_nand.c | 439 mtd->ecc_stats.failed++; in cafe_nand_read_page() 442 mtd->ecc_stats.corrected += n; in cafe_nand_read_page()
|
D | fsl_elbc_nand.c | 268 mtd->ecc_stats.corrected++; in fsl_elbc_run_command() 646 mtd->ecc_stats.failed++; in fsl_elbc_read_page()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdconcat.c | 83 mtd->ecc_stats.failed++; in concat_read() 86 mtd->ecc_stats.corrected++; in concat_read() 287 mtd->ecc_stats.failed++; in concat_read_oob() 290 mtd->ecc_stats.corrected++; in concat_read_oob() 624 mtd->ecc_stats.badblocks++; in concat_block_markbad() 702 concat->mtd.ecc_stats.badblocks = subdev[0]->ecc_stats.badblocks; in mtd_concat_create() 733 concat->mtd.ecc_stats.badblocks += in mtd_concat_create() 734 subdev[i]->ecc_stats.badblocks; in mtd_concat_create()
|
D | mtdcore.c | 308 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; in mtd_ecc_stats_corrected_show() local 310 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->corrected); in mtd_ecc_stats_corrected_show() 319 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; in mtd_ecc_stats_errors_show() local 321 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->failed); in mtd_ecc_stats_errors_show() 329 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; in mtd_badblocks_show() local 331 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->badblocks); in mtd_badblocks_show() 339 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; in mtd_bbtblocks_show() local 341 return snprintf(buf, PAGE_SIZE, "%u\n", ecc_stats->bbtblocks); in mtd_bbtblocks_show() 1234 diff = master->ecc_stats; in mtd_update_ecc_stats() 1239 mtd->ecc_stats.failed += diff.failed; in mtd_update_ecc_stats() [all …]
|
D | mtdpart.c | 204 child->ecc_stats.bbtblocks++; in allocate_partition() 206 child->ecc_stats.badblocks++; in allocate_partition()
|
/kernel/linux/linux-5.10/drivers/mtd/tests/ |
D | nandbiterrs.c | 138 memcpy(&oldstats, &mtd->ecc_stats, sizeof(oldstats)); in read_page() 142 err = mtd->ecc_stats.corrected - oldstats.corrected; in read_page()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
D | onenand_bbt.c | 106 mtd->ecc_stats.badblocks++; in create_bbt()
|
D | onenand_base.c | 588 mtd->ecc_stats.failed++; in onenand_wait() 593 mtd->ecc_stats.corrected++; in onenand_wait() 1098 mtd->ecc_stats.failed--; in onenand_recover_lsb() 1143 stats = mtd->ecc_stats; in onenand_mlc_read_ops_nolock() 1200 if (mtd->ecc_stats.failed - stats.failed) in onenand_mlc_read_ops_nolock() 1204 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0; in onenand_mlc_read_ops_nolock() 1244 stats = mtd->ecc_stats; in onenand_read_ops_nolock() 1329 if (mtd->ecc_stats.failed - stats.failed) in onenand_read_ops_nolock() 1333 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0; in onenand_read_ops_nolock() 1376 stats = mtd->ecc_stats; in onenand_read_oob_nolock() [all …]
|
D | onenand_omap2.c | 278 mtd->ecc_stats.failed++; in omap2_onenand_wait() 284 mtd->ecc_stats.corrected++; in omap2_onenand_wait()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/ |
D | core.c | 87 mtd->ecc_stats.badblocks++; in nanddev_markbad()
|