Home
last modified time | relevance | path

Searched refs:voltage_raw (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Dds2781_battery.c164 int voltage_raw; in ds2781_get_voltage() local
178 voltage_raw = (val[0] << 3) | in ds2781_get_voltage()
183 *voltage_uV = voltage_raw * 9760; in ds2781_get_voltage()
Dds2760_battery.c95 int voltage_raw; /* units of 4.88 mV */ member
292 di->voltage_raw = (di->raw[DS2760_VOLTAGE_MSB] << 3) | in ds2760_battery_read_status()
294 di->voltage_uV = di->voltage_raw * 4880; in ds2760_battery_read_status()
Dds2780_battery.c159 s16 voltage_raw; in ds2780_get_voltage() local
170 ret = ds2780_read16(dev_info, &voltage_raw, in ds2780_get_voltage()
179 *voltage_uV = (voltage_raw / 32) * 4880; in ds2780_get_voltage()