Searched refs:voltage_raw (Results 1 – 3 of 3) sorted by relevance
40 int voltage_raw; /* units of 4.88 mV */ member151 di->voltage_raw = (di->raw[DS2760_VOLTAGE_MSB] << 3) | in ds2760_battery_read_status()153 di->voltage_uV = di->voltage_raw * 4880; in ds2760_battery_read_status()
171 s16 voltage_raw; in ds2780_get_voltage() local182 ret = ds2780_read16(dev_info, &voltage_raw, in ds2780_get_voltage()191 *voltage_uV = (voltage_raw / 32) * 4880; in ds2780_get_voltage()
177 int voltage_raw; in ds2781_get_voltage() local191 voltage_raw = (val[0] << 3) | in ds2781_get_voltage()196 *voltage_uV = voltage_raw * 9760; in ds2781_get_voltage()