Searched refs:shunt_resistor (Results 1 – 7 of 7) sorted by relevance
105 int shunt_resistor; member154 int i, shunt_resistor = 0; in ina3221_summation_shunt_resistor() local157 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()701 return sysfs_emit(buf, "%d\n", input->shunt_resistor); in ina3221_shunt_show()[all …]
115 u32 shunt_resistor; member173 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_read_current()530 u32 shunt_resistor; in tps23861_probe() local545 if (!of_property_read_u32(dev->of_node, "shunt-resistor-micro-ohms", &shunt_resistor)) in tps23861_probe()546 data->shunt_resistor = shunt_resistor; in tps23861_probe()548 data->shunt_resistor = SHUNT_RESISTOR_DEFAULT; in tps23861_probe()550 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_probe()
578 static SENSOR_DEVICE_ATTR_RW(shunt_resistor, ina2xx_shunt, INA2XX_CALIBRATION);
76 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please95 shunt_resistor Shunt resistance(uOhm) channel118 - Configure `shunt_resistor` before configure `power1_crit`, because power119 value is calculated based on `shunt_resistor` set.
27 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
429 static IIO_DEVICE_ATTR_RW(shunt_resistor, 0);
378 in0_lcrit in1_lcrit_alarm shunt_resistor