Lines Matching refs:err_vec
165 struct elm_errorvec *err_vec, u8 *ecc) in elm_load_syndrome() argument
173 if (err_vec[i].error_reported) { in elm_load_syndrome()
251 struct elm_errorvec *err_vec) in elm_start_processing() argument
261 if (err_vec[i].error_reported) { in elm_start_processing()
283 struct elm_errorvec *err_vec) in elm_error_correction() argument
292 if (err_vec[i].error_reported) { in elm_error_correction()
302 err_vec[i].error_count = reg_val & in elm_error_correction()
306 for (j = 0; j < err_vec[i].error_count; j++) { in elm_error_correction()
309 err_vec[i].error_loc[j] = reg_val & in elm_error_correction()
316 err_vec[i].error_uncorrectable = true; in elm_error_correction()
338 struct elm_errorvec *err_vec) in elm_decode_bch_error_page() argument
349 elm_load_syndrome(info, err_vec, ecc_calc); in elm_decode_bch_error_page()
352 elm_start_processing(info, err_vec); in elm_decode_bch_error_page()
360 elm_error_correction(info, err_vec); in elm_decode_bch_error_page()