Searched refs:voltage_raw (Results 1 – 3 of 3) sorted by relevance
95 int voltage_raw; /* units of 4.88 mV */ member284 di->voltage_raw = (di->raw[DS2760_VOLTAGE_MSB] << 3) | in ds2760_battery_read_status()286 di->voltage_uV = di->voltage_raw * 4880; in ds2760_battery_read_status()
159 s16 voltage_raw; in ds2780_get_voltage() local170 ret = ds2780_read16(dev_info, &voltage_raw, in ds2780_get_voltage()179 *voltage_uV = (voltage_raw / 32) * 4880; in ds2780_get_voltage()
164 int voltage_raw; in ds2781_get_voltage() local178 voltage_raw = (val[0] << 3) | in ds2781_get_voltage()183 *voltage_uV = voltage_raw * 9760; in ds2781_get_voltage()