Searched refs:err_length (Results 1 – 1 of 1) sorted by relevance
252 s32 err_count, err_length; in smpro_error_data_read() local263 ret = regmap_read(errmon->regmap, err_info->len, &err_length); in smpro_error_data_read()264 if (ret || err_length <= 0) in smpro_error_data_read()267 if (err_length > MAX_READ_BLOCK_LENGTH) in smpro_error_data_read()268 err_length = MAX_READ_BLOCK_LENGTH; in smpro_error_data_read()271 ret = regmap_noinc_read(errmon->regmap, err_info->data, err_data, err_length); in smpro_error_data_read()