Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dmeson_nand.c111 #define ECC_ERR_CNT(x) (((x) >> 24) & GENMASK(5, 0)) macro
570 if (ECC_ERR_CNT(*info) != ECC_UNCORRECTABLE) { in meson_nfc_ecc_correct()
571 mtd->ecc_stats.corrected += ECC_ERR_CNT(*info); in meson_nfc_ecc_correct()
572 *bitflips = max_t(u32, *bitflips, ECC_ERR_CNT(*info)); in meson_nfc_ecc_correct()
/linux/drivers/spi/
H A Dspi-amlogic-spifc-a4.c116 #define ECC_ERR_CNT(x) (((x) >> 24) & 0x3f) macro
677 if (ECC_ERR_CNT(le64_to_cpu(*info)) != ECC_UNCORRECTABLE) { in aml_sfc_check_hwecc_status()
678 per_sector_bitflips = ECC_ERR_CNT(le64_to_cpu(*info)); in aml_sfc_check_hwecc_status()