Searched refs:bitflips_threshold (Results 1 – 3 of 3) sorted by relevance
1645 static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) in nand_check_erased_buf() argument1655 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()1662 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()1669 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()1718 int bitflips_threshold) in nand_check_erased_ecc_chunk() argument1723 bitflips_threshold); in nand_check_erased_ecc_chunk()1727 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()1729 ecc_bitflips = nand_check_erased_buf(ecc, ecclen, bitflips_threshold); in nand_check_erased_ecc_chunk()1733 bitflips_threshold -= ecc_bitflips; in nand_check_erased_ecc_chunk()1736 bitflips_threshold); in nand_check_erased_ecc_chunk()
2460 static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) in nand_check_erased_buf() argument2470 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2481 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2488 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2537 int bitflips_threshold) in nand_check_erased_ecc_chunk() argument2542 bitflips_threshold); in nand_check_erased_ecc_chunk()2546 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()2548 ecc_bitflips = nand_check_erased_buf(ecc, ecclen, bitflips_threshold); in nand_check_erased_ecc_chunk()2552 bitflips_threshold -= ecc_bitflips; in nand_check_erased_ecc_chunk()2555 bitflips_threshold); in nand_check_erased_ecc_chunk()
686 u8 bitflips_threshold) in cadence_nand_set_erase_detection() argument698 writel_relaxed(bitflips_threshold, cdns_ctrl->reg + ECC_CONFIG_1); in cadence_nand_set_erase_detection()