Searched refs:ecc_data1 (Results 1 – 1 of 1) sorted by relevance
653 static int omap_compare_ecc(u8 *ecc_data1, /* read from NAND memory */ in omap_compare_ecc() argument666 isEccFF = ((*(u32 *)ecc_data1 & 0xFFFFFF) == 0xFFFFFF); in omap_compare_ecc()668 gen_true_ecc(ecc_data1); in omap_compare_ecc()672 *(ecc_data1 + i) = ~(*(ecc_data1 + i)); in omap_compare_ecc()677 tmp0_bit[i] = *ecc_data1 % 2; in omap_compare_ecc()678 *ecc_data1 = *ecc_data1 / 2; in omap_compare_ecc()682 tmp1_bit[i] = *(ecc_data1 + 1) % 2; in omap_compare_ecc()683 *(ecc_data1 + 1) = *(ecc_data1 + 1) / 2; in omap_compare_ecc()687 tmp2_bit[i] = *(ecc_data1 + 2) % 2; in omap_compare_ecc()688 *(ecc_data1 + 2) = *(ecc_data1 + 2) / 2; in omap_compare_ecc()