Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwmon/
Dtmp513.c167 u32 shunt_uohms; member
199 *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 …]
Dina209.c505 if (pdata->shunt_uohms <= 0) in ina209_init_client()
507 shunt = pdata->shunt_uohms; in ina209_init_client()
Dina2xx.c645 val = pdata->shunt_uohms; in ina2xx_probe()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dina2xx.h15 long shunt_uohms; member
/kernel/linux/linux-5.10/drivers/iio/adc/
Dina2xx-adc.c990 val = pdata->shunt_uohms; in ina2xx_probe()