Searched refs:shunt_uohms (Results 1 – 5 of 5) sorted by relevance
167 u32 shunt_uohms; member199 *val = DIV_ROUND_CLOSEST(*val * 10000, data->shunt_uohms); in tmp51x_get_value()255 val = DIV_ROUND_CLOSEST(val * data->shunt_uohms, 10000); in tmp51x_set_value()463 if (!data->shunt_uohms) in tmp51x_is_visible()477 if (!data->shunt_uohms) in tmp51x_is_visible()542 if (data->shunt_uohms == 0) in tmp51x_calibrate()546 data->shunt_uohms); in tmp51x_calibrate()555 div = DIV_ROUND_CLOSEST_ULL(data->curr_lsb_ua * data->shunt_uohms, in tmp51x_calibrate()662 data->shunt_uohms = (ret >= 0) ? val : TMP51X_SHUNT_VALUE_DEFAULT; in tmp51x_read_properties()682 if (data->shunt_uohms > data->pga_gain * 40 * 1000 * 1000) { in tmp51x_read_properties()[all …]
505 if (pdata->shunt_uohms <= 0) in ina209_init_client()507 shunt = pdata->shunt_uohms; in ina209_init_client()
645 val = pdata->shunt_uohms; in ina2xx_probe()
15 long shunt_uohms; member
990 val = pdata->shunt_uohms; in ina2xx_probe()