Searched refs:bitflips_threshold (Results 1 – 3 of 3) sorted by relevance
1102 static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) in nand_check_erased_buf() argument1112 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()1119 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()1126 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()1175 int bitflips_threshold) in nand_check_erased_ecc_chunk() argument1180 bitflips_threshold); in nand_check_erased_ecc_chunk()1184 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()1186 ecc_bitflips = nand_check_erased_buf(ecc, ecclen, bitflips_threshold); in nand_check_erased_ecc_chunk()1190 bitflips_threshold -= ecc_bitflips; in nand_check_erased_ecc_chunk()1193 bitflips_threshold); in nand_check_erased_ecc_chunk()
2786 static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) in nand_check_erased_buf() argument2796 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2807 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2814 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()2863 int bitflips_threshold) in nand_check_erased_ecc_chunk() argument2868 bitflips_threshold); in nand_check_erased_ecc_chunk()2872 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()2874 ecc_bitflips = nand_check_erased_buf(ecc, ecclen, bitflips_threshold); in nand_check_erased_ecc_chunk()2878 bitflips_threshold -= ecc_bitflips; in nand_check_erased_ecc_chunk()2881 bitflips_threshold); in nand_check_erased_ecc_chunk()
688 u8 bitflips_threshold) in cadence_nand_set_erase_detection() argument700 writel_relaxed(bitflips_threshold, cdns_ctrl->reg + ECC_CONFIG_1); in cadence_nand_set_erase_detection()