Searched refs:error_max (Results 1 – 2 of 2) sorted by relevance
497 uint32_t error_count = 0, error_max; in omap_correct_data_bch() local549 error_max = SECTOR_BYTES + (ecc->bytes - 1); in omap_correct_data_bch()552 error_max = SECTOR_BYTES + ecc->bytes; in omap_correct_data_bch()557 byte_pos = error_max - (error_loc[count] / 8) - 1; in omap_correct_data_bch()562 } else if (byte_pos < error_max) { in omap_correct_data_bch()
1228 u32 bit_pos, byte_pos, error_max, pos; in omap_elm_correct_data() local1336 error_max = (ecc->size + actual_eccbytes) * 8; in omap_elm_correct_data()1341 byte_pos = (error_max - pos - 1) / 8; in omap_elm_correct_data()1343 if (pos < error_max) { in omap_elm_correct_data()