Home
last modified time | relevance | path

Searched refs:max_bitflips (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/drivers/mtd/nand/raw/
A Dnand_toshiba.c54 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()
A Dnand_micron.c194 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()
A Ddenali.c409 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()
A Dsunxi_nand.c748 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
911 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_chunks_dma() local
1028 return max_bitflips; in sunxi_nfc_hw_ecc_read_chunks_dma()
1097 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_page() local
1115 &cur_off, &max_bitflips, in sunxi_nfc_hw_ecc_read_page()
1129 return max_bitflips; in sunxi_nfc_hw_ecc_read_page()
1157 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_subpage() local
1175 &cur_off, &max_bitflips, !i, in sunxi_nfc_hw_ecc_read_subpage()
[all …]
A Dnand_base.c3050 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_swecc()
3053 return max_bitflips; in nand_read_page_swecc()
3161 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_subpage()
3164 return max_bitflips; in nand_read_subpage()
3232 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc()
3235 return max_bitflips; in nand_read_page_hwecc()
3298 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc_oob_first()
3382 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_syndrome()
3618 max_bitflips = max_t(unsigned int, max_bitflips, ret); in nand_do_read_ops()
3622 max_bitflips = max_t(unsigned int, max_bitflips, in nand_do_read_ops()
[all …]
A Dmarvell_nand.c956 unsigned int *max_bitflips) in marvell_nfc_check_empty_chunk() argument
982 *max_bitflips = max_t(unsigned int, *max_bitflips, bf); in marvell_nfc_check_empty_chunk()
1028 *max_bitflips = max_t(unsigned int, *max_bitflips, bf); in marvell_nfc_hw_ecc_check_bitflips()
1100 int max_bitflips = 0, ret; in marvell_nfc_hw_ecc_hmg_read_page() local
1111 return max_bitflips; in marvell_nfc_hw_ecc_hmg_read_page()
1124 &max_bitflips); in marvell_nfc_hw_ecc_hmg_read_page()
1127 return max_bitflips; in marvell_nfc_hw_ecc_hmg_read_page()
1366 int max_bitflips = 0; in marvell_nfc_hw_ecc_bch_read_page() local
1403 return max_bitflips; in marvell_nfc_hw_ecc_bch_read_page()
1478 &max_bitflips); in marvell_nfc_hw_ecc_bch_read_page()
[all …]
A Dhisi504_nand.c523 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()
A Dfsl_ifc_nand.c52 unsigned int max_bitflips; /* Saved during READ0 cmd */ member
208 nctrl->max_bitflips = 0; in fsl_ifc_run_command()
240 nctrl->max_bitflips = max_t(unsigned int, in fsl_ifc_run_command()
241 nctrl->max_bitflips, in fsl_ifc_run_command()
688 return nctrl->max_bitflips; in fsl_ifc_read_page()
A Drockchip-nand-controller.c763 int max_bitflips = 0, bch_st, ecc_fail = 0; in rk_nfc_read_page_hwecc() local
836 max_bitflips = max_t(u32, max_bitflips, cnt); in rk_nfc_read_page_hwecc()
840 max_bitflips = max_t(u32, max_bitflips, cnt); in rk_nfc_read_page_hwecc()
859 return max_bitflips; in rk_nfc_read_page_hwecc()
A Dcafe_nand.c375 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()
A Dfsl_elbc_nand.c63 unsigned int max_bitflips; /* Saved during READ0 cmd */ member
249 elbc_fcm_ctrl->max_bitflips = 0; in fsl_elbc_run_command()
268 elbc_fcm_ctrl->max_bitflips = 1; in fsl_elbc_run_command()
647 return elbc_fcm_ctrl->max_bitflips; in fsl_elbc_read_page()
A Dstm32_fmc2_nand.c688 unsigned int max_bitflips = 0; in stm32_fmc2_nfc_read_page() local
723 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_read_page()
736 return max_bitflips; in stm32_fmc2_nfc_read_page()
1038 unsigned int max_bitflips = 0; in stm32_fmc2_nfc_seq_correct() local
1079 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_seq_correct()
1083 return max_bitflips; in stm32_fmc2_nfc_seq_correct()
A Drenesas-nand-controller.c414 unsigned int max_bitflips = 0; in rnandc_read_page_hw_ecc() local
469 max_bitflips = max_t(unsigned int, max_bitflips, bf); in rnandc_read_page_hw_ecc()
509 unsigned int max_bitflips = 0, i; in rnandc_read_subpage_hw_ecc() local
563 max_bitflips = max_t(unsigned int, max_bitflips, bf); in rnandc_read_subpage_hw_ecc()
A Dfsmc_nand.c723 unsigned int max_bitflips = 0; in fsmc_read_page_hwecc() local
762 max_bitflips = max_t(unsigned int, max_bitflips, stat); in fsmc_read_page_hwecc()
766 return max_bitflips; in fsmc_read_page_hwecc()
A Darasan-nand-controller.c399 unsigned int max_bitflips = 0; in anfc_read_page_hw_ecc() local
478 max_bitflips = max_t(unsigned int, max_bitflips, bf); in anfc_read_page_hw_ecc()
488 max_bitflips = max_t(unsigned int, max_bitflips, bf); in anfc_read_page_hw_ecc()
A Dqcom_nandc.c1816 int page, unsigned int max_bitflips) in check_for_erased_page() argument
1862 max_bitflips = max_t(unsigned int, max_bitflips, ret); in check_for_erased_page()
1866 return max_bitflips; in check_for_erased_page()
1880 unsigned int max_bitflips = 0, uncorrectable_cws = 0; in parse_read_errors() local
1952 max_bitflips = max(max_bitflips, stat); in parse_read_errors()
1965 return max_bitflips; in parse_read_errors()
1969 max_bitflips); in parse_read_errors()
A Dpl35x-nand-controller.c473 unsigned int max_bitflips = 0, chunk; in pl35x_nand_recover_data_hwecc() local
497 max_bitflips = max_t(unsigned int, max_bitflips, stats); in pl35x_nand_recover_data_hwecc()
501 return max_bitflips; in pl35x_nand_recover_data_hwecc()
A Dtegra_nand.c695 int bit, max_bitflips = 0; in tegra_nand_read_page_hwecc() local
739 max_bitflips = max(ret, max_bitflips); in tegra_nand_read_page_hwecc()
743 return max_t(unsigned int, max_corr_cnt, max_bitflips); in tegra_nand_read_page_hwecc()
/linux-6.3-rc2/drivers/mtd/nand/
A Decc-sw-bch.c339 unsigned int max_bitflips = 0; in nand_ecc_sw_bch_finish_io_req() local
378 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_ecc_sw_bch_finish_io_req()
384 return max_bitflips; in nand_ecc_sw_bch_finish_io_req()
A Decc-sw-hamming.c593 unsigned int max_bitflips = 0; in nand_ecc_sw_hamming_finish_io_req() local
632 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_ecc_sw_hamming_finish_io_req()
638 return max_bitflips; in nand_ecc_sw_hamming_finish_io_req()
/linux-6.3-rc2/drivers/mtd/nand/raw/gpmi-nand/
A Dgpmi-nand.c1415 unsigned int max_bitflips = 0; in gpmi_count_bitflips() local
1486 max_bitflips = max_t(unsigned int, max_bitflips, in gpmi_count_bitflips()
1497 max_bitflips = max_t(unsigned int, max_bitflips, *status); in gpmi_count_bitflips()
1500 return max_bitflips; in gpmi_count_bitflips()
1531 unsigned int max_bitflips; in gpmi_ecc_read_page() local
1541 max_bitflips = gpmi_count_bitflips(chip, buf, 0, in gpmi_ecc_read_page()
1563 return max_bitflips; in gpmi_ecc_read_page()
1574 unsigned int max_bitflips; in gpmi_ecc_read_subpage() local
1658 max_bitflips = gpmi_count_bitflips(chip, buf, first, last, meta); in gpmi_ecc_read_subpage()
1660 return max_bitflips; in gpmi_ecc_read_subpage()
/linux-6.3-rc2/include/uapi/mtd/
A Dmtd-abi.h110 __u32 max_bitflips; member
/linux-6.3-rc2/drivers/mtd/
A Dmtdcore.c1591 int max_bitflips = 0; in mtd_io_emulated_slc() local
1624 max_bitflips = max(max_bitflips, ret); in mtd_io_emulated_slc()
1632 max_bitflips = max(max_bitflips, ret); in mtd_io_emulated_slc()
1642 return max_bitflips; in mtd_io_emulated_slc()
1684 ops->stats->max_bitflips = ret_code; in mtd_read_oob()
A Dmtdchar.c722 req.ecc_stats.max_bitflips = 0; in mtdchar_read_ioctl()
776 req.ecc_stats.max_bitflips = in mtdchar_read_ioctl()
777 max(req.ecc_stats.max_bitflips, stats.max_bitflips); in mtdchar_read_ioctl()
/linux-6.3-rc2/drivers/mtd/nand/spi/
A Dcore.c639 unsigned int max_bitflips = 0; in spinand_mtd_read() local
667 max_bitflips = max_t(unsigned int, max_bitflips, ret); in spinand_mtd_read()
686 return ret ? ret : max_bitflips; in spinand_mtd_read()

Completed in 112 milliseconds

12