Home
last modified time | relevance | path

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

/drivers/power/
Dds2782_battery.c52 int (*get_battery_voltage)(struct ds278x_info *info, int *voltage_uV);
148 static int ds2782_get_voltage(struct ds278x_info *info, int *voltage_uV) in ds2782_get_voltage() argument
160 *voltage_uV = (raw / 32) * 4800; in ds2782_get_voltage()
188 static int ds2786_get_voltage(struct ds278x_info *info, int *voltage_uV) in ds2786_get_voltage() argument
200 *voltage_uV = (raw / 8) * 1220; in ds2786_get_voltage()
Dds2760_battery.c41 int voltage_uV; /* units of µV */ member
153 di->voltage_uV = di->voltage_raw * 4880; in ds2760_battery_read_status()
424 val->intval = di->voltage_uV; in ds2760_battery_get_property()
Dds2781_battery.c168 int *voltage_uV) in ds2781_get_voltage() argument
191 *voltage_uV = voltage_raw * 9760; in ds2781_get_voltage()
Dds2780_battery.c164 int *voltage_uV) in ds2780_get_voltage() argument
187 *voltage_uV = (voltage_raw / 32) * 4880; in ds2780_get_voltage()