Searched refs:ECC_ERR_CNT (Results 1 – 3 of 3) sorted by relevance
105 #define ECC_ERR_CNT(x) (((x) >> 24) & GENMASK(5, 0)) macro458 if (ECC_ERR_CNT(*info) != ECC_UNCORRECTABLE) { in meson_nfc_ecc_correct()459 mtd->ecc_stats.corrected += ECC_ERR_CNT(*info); in meson_nfc_ecc_correct()460 *bitflips = max_t(u32, *bitflips, ECC_ERR_CNT(*info)); in meson_nfc_ecc_correct()
65 #define ECC_ERR_CNT(x, e) ((((x) >> (e).low) & (e).low_mask) |\ macro834 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc0); in rk_nfc_read_page_hwecc()838 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc1); in rk_nfc_read_page_hwecc()
829 ECC_ERR_CNT = 0x60, enumerator