Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dtmp513.c169 u32 curr_lsb_ua; member
214 *val = sign_extend32(regval, 16) * data->curr_lsb_ua; in tmp51x_get_value()
552 data->curr_lsb_ua = DIV_ROUND_CLOSEST_ULL(max_curr_ma * 1000, 32767); in tmp51x_calibrate()
553 data->pwr_lsb_uw = 20 * data->curr_lsb_ua; in tmp51x_calibrate()
555 div = DIV_ROUND_CLOSEST_ULL(data->curr_lsb_ua * data->shunt_uohms, in tmp51x_calibrate()