Searched refs:bitflips_threshold (Results 1 – 2 of 2) sorted by relevance
2459 static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) in nand_check_erased_buf() argument2469 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2480 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2487 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2536 int bitflips_threshold) in nand_check_erased_ecc_chunk() argument2541 bitflips_threshold); in nand_check_erased_ecc_chunk()2545 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()2547 ecc_bitflips = nand_check_erased_buf(ecc, ecclen, bitflips_threshold); in nand_check_erased_ecc_chunk()2551 bitflips_threshold -= ecc_bitflips; in nand_check_erased_ecc_chunk()2554 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()