Home
last modified time | relevance | path

Searched refs:err_length (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dsmpro-errmon.c253 s32 err_count, err_length; in smpro_error_data_read() local
264 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()