Searched refs:err_length (Results 1 – 1 of 1) sorted by relevance
253 s32 err_count, err_length; in smpro_error_data_read() local264 ret = regmap_read(errmon->regmap, err_info->len, &err_length); in smpro_error_data_read()265 if (ret || err_length <= 0) in smpro_error_data_read()268 if (err_length > MAX_READ_BLOCK_LENGTH) in smpro_error_data_read()269 err_length = MAX_READ_BLOCK_LENGTH; in smpro_error_data_read()272 ret = regmap_noinc_read(errmon->regmap, err_info->data, err_data, err_length); in smpro_error_data_read()