Lines Matching refs:shunt_resistor
105 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()
701 return sysfs_emit(buf, "%d\n", input->shunt_resistor); in ina3221_shunt_show()
721 input->shunt_resistor = val; in ina3221_shunt_store()
796 input->shunt_resistor = val; in ina3221_probe_child_from_dt()
853 ina->inputs[i].shunt_resistor = INA3221_RSHUNT_DEFAULT; in ina3221_probe()