/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_toshiba.c | 54 unsigned int max_bitflips = 0; in toshiba_nand_benand_eccstatus() local 68 max_bitflips = max(max_bitflips, bitflips); in toshiba_nand_benand_eccstatus() 72 return max_bitflips; in toshiba_nand_benand_eccstatus() 88 max_bitflips = mtd->bitflip_threshold; in toshiba_nand_benand_eccstatus() 89 mtd->ecc_stats.corrected += max_bitflips; in toshiba_nand_benand_eccstatus() 92 return max_bitflips; in toshiba_nand_benand_eccstatus()
|
D | nand_micron.c | 194 unsigned int step, max_bitflips = 0; in micron_nand_on_die_ecc_status_4() local 268 max_bitflips = max(nbitflips, max_bitflips); in micron_nand_on_die_ecc_status_4() 272 return max_bitflips; in micron_nand_on_die_ecc_status_4() 310 int ret, max_bitflips = 0; in micron_nand_read_page_on_die_ecc() local 356 max_bitflips = micron_nand_on_die_ecc_status_4(chip, status, in micron_nand_read_page_on_die_ecc() 360 max_bitflips = micron_nand_on_die_ecc_status_8(chip, status); in micron_nand_read_page_on_die_ecc() 365 return ret ? ret : max_bitflips; in micron_nand_read_page_on_die_ecc()
|
D | denali.c | 409 unsigned int max_bitflips) in denali_check_erased_page() argument 428 max_bitflips = max_t(unsigned int, max_bitflips, stat); in denali_check_erased_page() 435 return max_bitflips; in denali_check_erased_page() 445 unsigned int max_bitflips; in denali_hw_ecc_fixup() local 460 max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); in denali_hw_ecc_fixup() 468 ecc_stats->corrected += max_bitflips; in denali_hw_ecc_fixup() 470 return max_bitflips; in denali_hw_ecc_fixup() 480 unsigned int max_bitflips = 0; in denali_sw_ecc_fixup() local 530 max_bitflips = max(max_bitflips, bitflips); in denali_sw_ecc_fixup() 544 return max_bitflips; in denali_sw_ecc_fixup()
|
D | sunxi_nand.c | 748 unsigned int *max_bitflips, int ret) in sunxi_nfc_hw_ecc_update_stats() argument 756 *max_bitflips = max_t(unsigned int, *max_bitflips, ret); in sunxi_nfc_hw_ecc_update_stats() 800 unsigned int *max_bitflips, in sunxi_nfc_hw_ecc_read_chunk() argument 872 sunxi_nfc_hw_ecc_update_stats(nand, max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunk() 911 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_chunks_dma() local 979 sunxi_nfc_hw_ecc_update_stats(nand, &max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunks_dma() 1014 sunxi_nfc_hw_ecc_update_stats(nand, &max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunks_dma() 1023 return max_bitflips; in sunxi_nfc_hw_ecc_read_chunks_dma() 1092 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_page() local 1110 &cur_off, &max_bitflips, in sunxi_nfc_hw_ecc_read_page() [all …]
|
D | marvell_nand.c | 942 unsigned int *max_bitflips) in marvell_nfc_check_empty_chunk() argument 968 *max_bitflips = max_t(unsigned int, *max_bitflips, bf); in marvell_nfc_check_empty_chunk() 979 unsigned int *max_bitflips) in marvell_nfc_hw_ecc_check_bitflips() argument 1014 *max_bitflips = max_t(unsigned int, *max_bitflips, bf); in marvell_nfc_hw_ecc_check_bitflips() 1086 int max_bitflips = 0, ret; in marvell_nfc_hw_ecc_hmg_read_page() local 1093 ret = marvell_nfc_hw_ecc_check_bitflips(chip, &max_bitflips); in marvell_nfc_hw_ecc_hmg_read_page() 1097 return max_bitflips; in marvell_nfc_hw_ecc_hmg_read_page() 1110 &max_bitflips); in marvell_nfc_hw_ecc_hmg_read_page() 1113 return max_bitflips; in marvell_nfc_hw_ecc_hmg_read_page() 1352 int max_bitflips = 0; in marvell_nfc_hw_ecc_bch_read_page() local [all …]
|
D | nand_base.c | 2739 unsigned int max_bitflips = 0; in nand_read_page_swecc() local 2762 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_swecc() 2765 return max_bitflips; in nand_read_page_swecc() 2786 unsigned int max_bitflips = 0; in nand_read_subpage() local 2873 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_subpage() 2876 return max_bitflips; in nand_read_subpage() 2898 unsigned int max_bitflips = 0; in nand_read_page_hwecc() local 2944 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc() 2947 return max_bitflips; in nand_read_page_hwecc() 2970 unsigned int max_bitflips = 0; in nand_read_page_syndrome() local [all …]
|
D | hisi504_nand.c | 523 int max_bitflips = 0, stat = 0, stat_max = 0, status_ecc; in hisi_nand_read_page_hwecc() local 544 max_bitflips = max_t(int, max_bitflips, stat_max); in hisi_nand_read_page_hwecc() 548 return max_bitflips; in hisi_nand_read_page_hwecc()
|
D | davinci_nand.c | 395 unsigned int max_bitflips = 0; in nand_davinci_read_page_hwecc_oob_first() local 435 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_davinci_read_page_hwecc_oob_first() 438 return max_bitflips; in nand_davinci_read_page_hwecc_oob_first()
|
D | fsl_ifc_nand.c | 53 unsigned int max_bitflips; /* Saved during READ0 cmd */ member 209 nctrl->max_bitflips = 0; in fsl_ifc_run_command() 241 nctrl->max_bitflips = max_t(unsigned int, in fsl_ifc_run_command() 242 nctrl->max_bitflips, in fsl_ifc_run_command() 689 return nctrl->max_bitflips; in fsl_ifc_read_page()
|
D | cafe_nand.c | 375 unsigned int max_bitflips = 0; in cafe_nand_read_page() local 443 max_bitflips = max_t(unsigned int, max_bitflips, n); in cafe_nand_read_page() 447 return max_bitflips; in cafe_nand_read_page()
|
D | fsl_elbc_nand.c | 64 unsigned int max_bitflips; /* Saved during READ0 cmd */ member 250 elbc_fcm_ctrl->max_bitflips = 0; in fsl_elbc_run_command() 269 elbc_fcm_ctrl->max_bitflips = 1; in fsl_elbc_run_command() 648 return elbc_fcm_ctrl->max_bitflips; in fsl_elbc_read_page()
|
D | stm32_fmc2_nand.c | 684 unsigned int max_bitflips = 0; in stm32_fmc2_nfc_read_page() local 719 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_read_page() 732 return max_bitflips; in stm32_fmc2_nfc_read_page() 1032 unsigned int max_bitflips = 0; in stm32_fmc2_nfc_seq_correct() local 1073 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_seq_correct() 1077 return max_bitflips; in stm32_fmc2_nfc_seq_correct()
|
D | arasan-nand-controller.c | 335 unsigned int max_bitflips = 0; in anfc_read_page_hw_ecc() local 414 max_bitflips = max_t(unsigned int, max_bitflips, bf); in anfc_read_page_hw_ecc() 424 max_bitflips = max_t(unsigned int, max_bitflips, bf); in anfc_read_page_hw_ecc()
|
D | qcom_nandc.c | 1670 int page, unsigned int max_bitflips) in check_for_erased_page() argument 1716 max_bitflips = max_t(unsigned int, max_bitflips, ret); in check_for_erased_page() 1720 return max_bitflips; in check_for_erased_page() 1734 unsigned int max_bitflips = 0, uncorrectable_cws = 0; in parse_read_errors() local 1807 max_bitflips = max(max_bitflips, stat); in parse_read_errors() 1820 return max_bitflips; in parse_read_errors() 1824 max_bitflips); in parse_read_errors()
|
D | fsmc_nand.c | 712 unsigned int max_bitflips = 0; in fsmc_read_page_hwecc() local 751 max_bitflips = max_t(unsigned int, max_bitflips, stat); in fsmc_read_page_hwecc() 755 return max_bitflips; in fsmc_read_page_hwecc()
|
D | tegra_nand.c | 692 int bit, max_bitflips = 0; in tegra_nand_read_page_hwecc() local 736 max_bitflips = max(ret, max_bitflips); in tegra_nand_read_page_hwecc() 740 return max_t(unsigned int, max_corr_cnt, max_bitflips); in tegra_nand_read_page_hwecc()
|
D | mxc_nand.c | 776 unsigned int max_bitflips = 0; in mxc_nand_read_page_v2_v3() local 810 max_bitflips = max_t(unsigned int, max_bitflips, err); in mxc_nand_read_page_v2_v3() 816 return max_bitflips; in mxc_nand_read_page_v2_v3()
|
D | omap2.c | 1639 unsigned int max_bitflips = 0; in omap_read_page_bch() local 1669 max_bitflips = max_t(unsigned int, max_bitflips, stat); in omap_read_page_bch() 1672 return max_bitflips; in omap_read_page_bch()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 1211 unsigned int max_bitflips = 0; in gpmi_count_bitflips() local 1282 max_bitflips = max_t(unsigned int, max_bitflips, in gpmi_count_bitflips() 1293 max_bitflips = max_t(unsigned int, max_bitflips, *status); in gpmi_count_bitflips() 1296 return max_bitflips; in gpmi_count_bitflips() 1326 unsigned int max_bitflips; in gpmi_ecc_read_page() local 1336 max_bitflips = gpmi_count_bitflips(chip, buf, 0, in gpmi_ecc_read_page() 1358 return max_bitflips; in gpmi_ecc_read_page() 1369 unsigned int max_bitflips; in gpmi_ecc_read_subpage() local 1433 max_bitflips = gpmi_count_bitflips(chip, buf, first, last, meta); in gpmi_ecc_read_subpage() 1435 return max_bitflips; in gpmi_ecc_read_subpage()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/ |
D | core.c | 489 unsigned int max_bitflips = 0; in spinand_mtd_read() local 518 max_bitflips = max_t(unsigned int, max_bitflips, ret); in spinand_mtd_read() 531 return ret ? ret : max_bitflips; in spinand_mtd_read()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdcore.c | 1382 int max_bitflips = 0; in mtd_io_emulated_slc() local 1415 max_bitflips = max(max_bitflips, ret); in mtd_io_emulated_slc() 1423 max_bitflips = max(max_bitflips, ret); in mtd_io_emulated_slc() 1433 return max_bitflips; in mtd_io_emulated_slc()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
D | docg3.c | 874 int max_bitflips = 0; in doc_read_oob() local 952 max_bitflips = max(max_bitflips, ret); in doc_read_oob() 953 ret = max_bitflips; in doc_read_oob()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 856 int ret, i, max_bitflips = 0; in atmel_nand_pmecc_correct_data() local 889 max_bitflips = max(ret, max_bitflips); in atmel_nand_pmecc_correct_data() 898 return max_bitflips; in atmel_nand_pmecc_correct_data()
|