Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c425 unsigned int flips_in_byte; in denali_sw_ecc_fixup() local
431 flips_in_byte = hweight8(buf[offset] ^ err_cor_value); in denali_sw_ecc_fixup()
433 mtd->ecc_stats.corrected += flips_in_byte; in denali_sw_ecc_fixup()
434 bitflips += flips_in_byte; in denali_sw_ecc_fixup()
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.c519 unsigned int flips_in_byte; in denali_sw_ecc_fixup() local
525 flips_in_byte = hweight8(buf[offset] ^ err_cor_value); in denali_sw_ecc_fixup()
527 ecc_stats->corrected += flips_in_byte; in denali_sw_ecc_fixup()
528 bitflips += flips_in_byte; in denali_sw_ecc_fixup()