Searched refs:voltage_uV (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/power/
H A Dds2782_battery.c52 int (*get_battery_voltage)(struct ds278x_info *info, int *voltage_uV);
149 static int ds2782_get_voltage(struct ds278x_info *info, int *voltage_uV) ds2782_get_voltage() argument
161 *voltage_uV = (raw / 32) * 4800; ds2782_get_voltage()
189 static int ds2786_get_voltage(struct ds278x_info *info, int *voltage_uV) ds2786_get_voltage() argument
201 *voltage_uV = (raw / 8) * 1220; ds2786_get_voltage()
H A Dds2760_battery.c41 int voltage_uV; /* units of µV */ member in struct:ds2760_device_info
154 di->voltage_uV = di->voltage_raw * 4880; ds2760_battery_read_status()
422 val->intval = di->voltage_uV; ds2760_battery_get_property()
H A Dds2780_battery.c165 int *voltage_uV) ds2780_get_voltage()
188 *voltage_uV = (voltage_raw / 32) * 4880; ds2780_get_voltage()
164 ds2780_get_voltage(struct ds2780_device_info *dev_info, int *voltage_uV) ds2780_get_voltage() argument
H A Dds2781_battery.c169 int *voltage_uV) ds2781_get_voltage()
192 *voltage_uV = voltage_raw * 9760; ds2781_get_voltage()
168 ds2781_get_voltage(struct ds2781_device_info *dev_info, int *voltage_uV) ds2781_get_voltage() argument

Completed in 143 milliseconds