Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
Dlpc32xx_nand_mlc.c233 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_page_hwecc() local
253 if (err > max_bitflips) in lpc32xx_read_page_hwecc()
254 max_bitflips = err; in lpc32xx_read_page_hwecc()
263 return max_bitflips; in lpc32xx_read_page_hwecc()
329 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_oob() local
349 max_bitflips = 5; in lpc32xx_read_oob()
353 if (err > max_bitflips) in lpc32xx_read_oob()
354 max_bitflips = err; in lpc32xx_read_oob()
363 return max_bitflips; in lpc32xx_read_oob()
620 int status, i, timeout, err, max_bitflips = 0; in read_single_page() local
[all …]
Ddenali.c314 unsigned int max_bitflips) in denali_check_erased_page() argument
339 max_bitflips = max_t(unsigned int, max_bitflips, stat); in denali_check_erased_page()
346 return max_bitflips; in denali_check_erased_page()
356 unsigned int max_bitflips; in denali_hw_ecc_fixup() local
371 max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); in denali_hw_ecc_fixup()
379 mtd->ecc_stats.corrected += max_bitflips; in denali_hw_ecc_fixup()
381 return max_bitflips; in denali_hw_ecc_fixup()
390 unsigned int max_bitflips = 0; in denali_sw_ecc_fixup() local
440 max_bitflips = max(max_bitflips, bitflips); in denali_sw_ecc_fixup()
454 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 …]
Dnand_base.c1289 unsigned int max_bitflips = 0; in nand_read_page_swecc() local
1310 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_swecc()
1313 return max_bitflips; in nand_read_page_swecc()
1336 unsigned int max_bitflips = 0; in nand_read_subpage() local
1413 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_subpage()
1416 return max_bitflips; in nand_read_subpage()
1439 unsigned int max_bitflips = 0; in nand_read_page_hwecc() local
1471 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc()
1474 return max_bitflips; in nand_read_page_hwecc()
1501 unsigned int max_bitflips = 0; in nand_read_page_hwecc_oob_first() local
[all …]
Dlpc32xx_nand_slc.c457 unsigned int max_bitflips = 0; in lpc32xx_read_page_hwecc() local
479 max_bitflips = max_t(unsigned int, max_bitflips, stat); in lpc32xx_read_page_hwecc()
482 return max_bitflips; in lpc32xx_read_page_hwecc()
Dpxa3xx_nand.c202 unsigned int max_bitflips; member
603 info->max_bitflips = max_t(unsigned int, in pxa3xx_nand_irq()
604 info->max_bitflips, in pxa3xx_nand_irq()
1122 return info->max_bitflips; in pxa3xx_nand_read_page_hwecc()