Searched refs:curr_lsb_ua (Results 1 – 1 of 1) sorted by relevance
178 u32 curr_lsb_ua; member223 *val = sign_extend32(regval, 16) * data->curr_lsb_ua; in tmp51x_get_value()560 data->curr_lsb_ua = DIV_ROUND_CLOSEST_ULL(max_curr_ma * MILLI, 32767); in tmp51x_calibrate()561 data->pwr_lsb_uw = 20 * data->curr_lsb_ua; in tmp51x_calibrate()563 div = DIV_ROUND_CLOSEST_ULL(data->curr_lsb_ua * data->shunt_uohms, MICRO); in tmp51x_calibrate()