Lines Matching full:shunt
66 * based on a fixed shunt resistor value. This allows for conversion within the
68 * relative to the shunt resistor value within the driver. This is similar to
71 * To achieve the best possible dynamic range, the value of the shunt voltage
72 * register should match the value of the current register. With that, the shunt
85 * shunt resistor value.
124 u32 voltage_lsb[2]; /* shunt, bus voltage LSB, in nV */
710 /* 0: shunt voltage */
715 /* 0: current through shunt */
774 /* load shunt value */ in ina238_probe()
775 if (device_property_read_u32(dev, "shunt-resistor", &data->rshunt) < 0) in ina238_probe()
778 dev_err(dev, "invalid shunt resister value %u\n", data->rshunt); in ina238_probe()
782 /* load shunt gain value */ in ina238_probe()
783 if (device_property_read_u32(dev, "ti,shunt-gain", &data->gain) < 0) in ina238_probe()
786 dev_err(dev, "invalid shunt gain value %u\n", data->gain); in ina238_probe()