Searched refs:ecc0 (Results 1 – 3 of 3) sorted by relevance
144 u32 ecc0, ecc1; in flash_read_ecc() local148 ecc0 = nandc_readl(NANDC_CHIP_DATA(cs)) & 0xF; in flash_read_ecc()150 if (ecc1 > ecc0) in flash_read_ecc()151 ecc0 = ecc1; in flash_read_ecc()153 if (ecc1 > ecc0) in flash_read_ecc()154 ecc0 = ecc1; in flash_read_ecc()156 if (ecc1 > ecc0) in flash_read_ecc()157 ecc0 = ecc1; in flash_read_ecc()159 return ecc0; in flash_read_ecc()
143 u32 ecc0, ecc1; in flash_read_ecc() local147 ecc0 = nandc_readl(NANDC_CHIP_DATA(cs)) & 0xF; in flash_read_ecc()149 if (ecc1 > ecc0) in flash_read_ecc()150 ecc0 = ecc1; in flash_read_ecc()152 if (ecc1 > ecc0) in flash_read_ecc()153 ecc0 = ecc1; in flash_read_ecc()155 if (ecc1 > ecc0) in flash_read_ecc()156 ecc0 = ecc1; in flash_read_ecc()158 return ecc0; in flash_read_ecc()
148 struct ecc_cnt_status ecc0; member829 if (bch_st & BIT(nfc->cfg->ecc0.err_flag_bit) || in rk_nfc_read_page_hwecc()834 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc0); in rk_nfc_read_page_hwecc()1253 .ecc0 = {1290 .ecc0 = {1327 .ecc0 = {