Searched refs:bch_st (Results 1 – 1 of 1) sorted by relevance
766 int max_bitflips = 0, bch_st, ecc_fail = 0; in rk_nfc_read_page_hwecc() local835 bch_st = readl_relaxed(nfc->regs + in rk_nfc_read_page_hwecc()837 if (bch_st & BIT(nfc->cfg->ecc0.err_flag_bit) || in rk_nfc_read_page_hwecc()838 bch_st & BIT(nfc->cfg->ecc1.err_flag_bit)) { in rk_nfc_read_page_hwecc()842 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()