Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/raw/
Dlpc32xx_nand_mlc.c237 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_page_hwecc() local
257 if (err > max_bitflips) in lpc32xx_read_page_hwecc()
258 max_bitflips = err; in lpc32xx_read_page_hwecc()
267 return max_bitflips; in lpc32xx_read_page_hwecc()
333 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_oob() local
353 max_bitflips = 5; in lpc32xx_read_oob()
357 if (err > max_bitflips) in lpc32xx_read_oob()
358 max_bitflips = err; in lpc32xx_read_oob()
367 return max_bitflips; in lpc32xx_read_oob()
624 int status, i, timeout, err, max_bitflips = 0; in read_single_page() local
[all …]
Ddenali.c311 unsigned int max_bitflips) in denali_check_erased_page() argument
336 max_bitflips = max_t(unsigned int, max_bitflips, stat); in denali_check_erased_page()
343 return max_bitflips; in denali_check_erased_page()
353 unsigned int max_bitflips; in denali_hw_ecc_fixup() local
368 max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); in denali_hw_ecc_fixup()
376 mtd->ecc_stats.corrected += max_bitflips; in denali_hw_ecc_fixup()
378 return max_bitflips; in denali_hw_ecc_fixup()
387 unsigned int max_bitflips = 0; in denali_sw_ecc_fixup() local
437 max_bitflips = max(max_bitflips, bitflips); in denali_sw_ecc_fixup()
451 return max_bitflips; in denali_sw_ecc_fixup()
Dsunxi_nand.c809 unsigned int *max_bitflips, in sunxi_nfc_hw_ecc_read_chunk() argument
897 *max_bitflips = max_t(unsigned int, *max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunk()
1010 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_page() local
1024 &cur_off, &max_bitflips, in sunxi_nfc_hw_ecc_read_page()
1038 return max_bitflips; in sunxi_nfc_hw_ecc_read_page()
1048 unsigned int max_bitflips = 0; in sunxi_nfc_hw_ecc_read_subpage() local
1062 &cur_off, &max_bitflips, !i, page); in sunxi_nfc_hw_ecc_read_subpage()
1069 return max_bitflips; in sunxi_nfc_hw_ecc_read_subpage()
1140 unsigned int max_bitflips = 0; in sunxi_nfc_hw_syndrome_ecc_read_page() local
1154 &max_bitflips, !i, page); in sunxi_nfc_hw_syndrome_ecc_read_page()
[all …]
Dlpc32xx_nand_slc.c421 unsigned int max_bitflips = 0; in lpc32xx_read_page_hwecc() local
443 max_bitflips = max_t(unsigned int, max_bitflips, stat); in lpc32xx_read_page_hwecc()
446 return max_bitflips; in lpc32xx_read_page_hwecc()
Dnand_base.c1861 unsigned int max_bitflips = 0; in nand_read_page_swecc() local
1882 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_swecc()
1885 return max_bitflips; in nand_read_page_swecc()
1908 unsigned int max_bitflips = 0; in nand_read_subpage() local
1994 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_subpage()
1997 return max_bitflips; in nand_read_subpage()
2020 unsigned int max_bitflips = 0; in nand_read_page_hwecc() local
2060 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc()
2063 return max_bitflips; in nand_read_page_hwecc()
2090 unsigned int max_bitflips = 0; in nand_read_page_hwecc_oob_first() local
[all …]
Dpxa3xx_nand.c227 unsigned int max_bitflips; member
705 info->max_bitflips = max_t(unsigned int, in pxa3xx_nand_irq()
706 info->max_bitflips, in pxa3xx_nand_irq()
1263 info->max_bitflips = max_t(unsigned int, in pxa3xx_nand_read_page_hwecc()
1264 info->max_bitflips, bf); in pxa3xx_nand_read_page_hwecc()
1278 return info->max_bitflips; in pxa3xx_nand_read_page_hwecc()
Dstm32_fmc2_nand.c538 unsigned int max_bitflips = 0; in stm32_fmc2_read_page() local
565 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_read_page()
575 return max_bitflips; in stm32_fmc2_read_page()
/external/u-boot/drivers/mtd/nand/spi/
Dcore.c563 unsigned int max_bitflips = 0; in spinand_mtd_read() local
595 max_bitflips = max_t(unsigned int, max_bitflips, ret); in spinand_mtd_read()
608 return ret ? ret : max_bitflips; in spinand_mtd_read()