Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
A Dina3221.c105 int shunt_resistor; member
154 int i, shunt_resistor = 0; in ina3221_summation_shunt_resistor() local
157 if (input[i].disconnected || !input[i].shunt_resistor) in ina3221_summation_shunt_resistor()
159 if (!shunt_resistor) { in ina3221_summation_shunt_resistor()
161 shunt_resistor = input[i].shunt_resistor; in ina3221_summation_shunt_resistor()
164 if (shunt_resistor != input[i].shunt_resistor) in ina3221_summation_shunt_resistor()
169 return shunt_resistor; in ina3221_summation_shunt_resistor()
338 resistance_uo = input[channel].shunt_resistor; in ina3221_read_curr()
442 resistance_uo = input[channel].shunt_resistor; in ina3221_write_curr()
721 input->shunt_resistor = val; in ina3221_shunt_store()
[all …]
A Dtps23861.c115 u32 shunt_resistor; member
170 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_read_current()
547 u32 shunt_resistor; in tps23861_probe() local
562 if (!of_property_read_u32(dev->of_node, "shunt-resistor-micro-ohms", &shunt_resistor)) in tps23861_probe()
563 data->shunt_resistor = shunt_resistor; in tps23861_probe()
565 data->shunt_resistor = SHUNT_RESISTOR_DEFAULT; in tps23861_probe()
567 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_probe()
A Dina2xx.c578 static SENSOR_DEVICE_ATTR_RW(shunt_resistor, ina2xx_shunt, INA2XX_CALIBRATION);
/linux/Documentation/hwmon/
A Dina2xx.rst76 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
95 shunt_resistor Shunt resistance(uOhm) channel
118 - Configure `shunt_resistor` before configure `power1_crit`, because power
119 value is calculated based on `shunt_resistor` set.
/linux/Documentation/i2c/
A Di2c-sysfs.rst382 in0_lcrit in1_lcrit_alarm shunt_resistor

Completed in 10 milliseconds