Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c351 uint32_t ecc_cor; in denali_hw_ecc_fixup() local
354 ecc_cor = ioread32(denali->reg + ECC_COR_INFO(bank)); in denali_hw_ecc_fixup()
355 ecc_cor >>= ECC_COR_INFO__SHIFT(bank); in denali_hw_ecc_fixup()
357 if (ecc_cor & ECC_COR_INFO__UNCOR_ERR) { in denali_hw_ecc_fixup()
367 max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); in denali_hw_ecc_fixup()
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.c444 u32 ecc_cor; in denali_hw_ecc_fixup() local
447 ecc_cor = ioread32(denali->reg + ECC_COR_INFO(bank)); in denali_hw_ecc_fixup()
448 ecc_cor >>= ECC_COR_INFO__SHIFT(bank); in denali_hw_ecc_fixup()
450 if (ecc_cor & ECC_COR_INFO__UNCOR_ERR) { in denali_hw_ecc_fixup()
460 max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); in denali_hw_ecc_fixup()