Searched refs:ECC_ERR_CNT (Results 1 – 2 of 2) sorted by relevance
111 #define ECC_ERR_CNT(x) (((x) >> 24) & GENMASK(5, 0)) macro570 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()
64 #define ECC_ERR_CNT(x, e) ((((x) >> (e).low) & (e).low_mask) |\ macro842 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc0); in rk_nfc_read_page_hwecc()846 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc1); in rk_nfc_read_page_hwecc()