Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dnand_micron.c248 unsigned int offs, i, nbitflips = 0; in micron_nand_on_die_ecc_status_4() local
256 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4()
263 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4()
265 if (WARN_ON(nbitflips > chip->ecc.strength)) in micron_nand_on_die_ecc_status_4()
268 max_bitflips = max(nbitflips, max_bitflips); in micron_nand_on_die_ecc_status_4()
269 mtd->ecc_stats.corrected += nbitflips; in micron_nand_on_die_ecc_status_4()