Lines Matching refs:err_idx
783 u32 err_idx[8]; in fsmc_bch8_correct_data() local
835 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data()
836 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data()
837 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
838 err_idx[3] = (ecc2 >> 7) & 0x1FFF; in fsmc_bch8_correct_data()
839 err_idx[4] = (((ecc3 >> 0) & 0x1) << 12) | ((ecc2 >> 20) & 0xFFF); in fsmc_bch8_correct_data()
840 err_idx[5] = (ecc3 >> 1) & 0x1FFF; in fsmc_bch8_correct_data()
841 err_idx[6] = (ecc3 >> 14) & 0x1FFF; in fsmc_bch8_correct_data()
842 err_idx[7] = (((ecc4 >> 16) & 0xFF) << 5) | ((ecc3 >> 27) & 0x1F); in fsmc_bch8_correct_data()
846 err_idx[i] ^= 3; in fsmc_bch8_correct_data()
848 if (err_idx[i] < chip->ecc.size * 8) { in fsmc_bch8_correct_data()
849 int err = err_idx[i]; in fsmc_bch8_correct_data()