Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c1177 int data_bitflips = 0, ecc_bitflips = 0, extraoob_bitflips = 0; in nand_check_erased_ecc_chunk() local
1179 data_bitflips = nand_check_erased_buf(data, datalen, in nand_check_erased_ecc_chunk()
1181 if (data_bitflips < 0) in nand_check_erased_ecc_chunk()
1182 return data_bitflips; in nand_check_erased_ecc_chunk()
1184 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()
1197 if (data_bitflips) in nand_check_erased_ecc_chunk()
1206 return data_bitflips + ecc_bitflips + extraoob_bitflips; in nand_check_erased_ecc_chunk()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c2865 int data_bitflips = 0, ecc_bitflips = 0, extraoob_bitflips = 0; in nand_check_erased_ecc_chunk() local
2867 data_bitflips = nand_check_erased_buf(data, datalen, in nand_check_erased_ecc_chunk()
2869 if (data_bitflips < 0) in nand_check_erased_ecc_chunk()
2870 return data_bitflips; in nand_check_erased_ecc_chunk()
2872 bitflips_threshold -= data_bitflips; in nand_check_erased_ecc_chunk()
2885 if (data_bitflips) in nand_check_erased_ecc_chunk()
2894 return data_bitflips + ecc_bitflips + extraoob_bitflips; in nand_check_erased_ecc_chunk()