Lines Matching full:shunt
100 * @shunt_resistor: shunt resistor value of channel input source
117 * @summation_shunt_resistor: equivalent shunt resistor value for summation
134 /* Summation channel checks shunt resistor values */ in ina3221_is_enabled()
145 * There is a condition to calculate current summation -- all the shunt
147 * current summation = shunt voltage summation / shunt resistor
149 * Returns the equivalent shunt resistor value on success or 0 on failure
160 /* Found the reference shunt resistor value */ in ina3221_summation_shunt_resistor()
172 /* Lookup table for Bus and Shunt conversion times in usec */
189 /* Bisect the result to Bus and Shunt conversion times */ in ina3221_interval_ms_to_conv_time()
228 * Shunt Voltage Sum register has 14-bit value with 1-bit shift in ina3221_read_value()
229 * Other Shunt Voltage registers have 12 bits with 3-bit shift in ina3221_read_value()
277 * Translate shunt channel index to sensor channel index except in ina3221_read_in()
303 * Scale of shunt voltage (uV): LSB is 40uV in ina3221_read_in()
365 /* Scale of shunt voltage: LSB is 40uV (40000nV) */ in ina3221_read_curr()
413 /* Update Bus and Shunt voltage conversion times */ in ina3221_write_chip()
461 * The scale is 40uV for all shunt voltage registers in ina3221_write_curr()
462 * Shunt Voltage Sum register left-shifts 1 bit in ina3221_write_curr()
463 * All other Shunt Voltage registers shift 3 bits in ina3221_write_curr()
466 * SHUNT[1-3]: (1 / 40uV) << 3 = 1 / 5uV in ina3221_write_curr()
589 *str = "sum of shunt voltages"; in ina3221_read_string()
664 /* 4-6: shunt voltage Channels */
668 /* 7: summation of shunt voltage channels */
729 /* shunt resistance */
789 /* Overwrite default shunt resistor value optionally */ in ina3221_probe_child_from_dt()
790 if (!of_property_read_u32(child, "shunt-resistor-micro-ohms", &val)) { in ina3221_probe_child_from_dt()
792 dev_err(dev, "invalid shunt resistor value %u of %pOFn\n", in ina3221_probe_child_from_dt()
982 * Shunt measurements of disconnected channels should in ina3221_resume()