Lines Matching full:shunt
101 * @shunt_resistor: shunt resistor value of channel input source
121 * @summation_shunt_resistor: equivalent shunt resistor value for summation
141 /* Summation channel checks shunt resistor values */ in ina3221_is_enabled()
152 * There is a condition to calculate current summation -- all the shunt
154 * current summation = shunt voltage summation / shunt resistor
156 * Returns the equivalent shunt resistor value on success or 0 on failure
168 /* Found the reference shunt resistor value */ in ina3221_summation_shunt_resistor()
180 /* Lookup table for Bus and Shunt conversion times in usec */
197 /* Bisect the result to Bus and Shunt conversion times */ in ina3221_interval_ms_to_conv_time()
236 * Shunt Voltage Sum register has 14-bit value with 1-bit shift in ina3221_read_value()
237 * Other Shunt Voltage registers have 12 bits with 3-bit shift in ina3221_read_value()
285 * Translate shunt channel index to sensor channel index except in ina3221_read_in()
311 * Scale of shunt voltage (uV): LSB is 40uV in ina3221_read_in()
373 /* Scale of shunt voltage: LSB is 40uV (40000nV) */ in ina3221_read_curr()
421 /* Update Bus and Shunt voltage conversion times */ in ina3221_write_chip()
469 * The scale is 40uV for all shunt voltage registers in ina3221_write_curr()
470 * Shunt Voltage Sum register left-shifts 1 bit in ina3221_write_curr()
471 * All other Shunt Voltage registers shift 3 bits in ina3221_write_curr()
474 * SHUNT[1-3]: (1 / 40uV) << 3 = 1 / 5uV in ina3221_write_curr()
597 *str = "sum of shunt voltages"; in ina3221_read_string()
672 /* 4-6: shunt voltage Channels */
676 /* 7: summation of shunt voltage channels */
737 /* shunt resistance */
800 /* Overwrite default shunt resistor value optionally */ in ina3221_probe_child_from_dt()
801 if (!of_property_read_u32(child, "shunt-resistor-micro-ohms", &val)) { in ina3221_probe_child_from_dt()
803 dev_err(dev, "invalid shunt resistor value %u of %pOFn\n", in ina3221_probe_child_from_dt()
1006 * Shunt measurements of disconnected channels should in ina3221_resume()