Home
last modified time | relevance | path

Searched refs:bitflips_threshold (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/mtd/nand/raw/
Dnand_base.c2779 static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) in nand_check_erased_buf() argument
2789 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()
2800 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()
2807 if (unlikely(bitflips > bitflips_threshold)) in nand_check_erased_buf()
2856 int bitflips_threshold) in nand_check_erased_ecc_chunk() argument
2861 bitflips_threshold); in nand_check_erased_ecc_chunk()
2865 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()
2867 ecc_bitflips = nand_check_erased_buf(ecc, ecclen, bitflips_threshold); in nand_check_erased_ecc_chunk()
2871 bitflips_threshold -= ecc_bitflips; in nand_check_erased_ecc_chunk()
2874 bitflips_threshold); in nand_check_erased_ecc_chunk()
Dcadence-nand-controller.c686 u8 bitflips_threshold) in cadence_nand_set_erase_detection() argument
698 writel_relaxed(bitflips_threshold, cdns_ctrl->reg + ECC_CONFIG_1); in cadence_nand_set_erase_detection()