Home
last modified time | relevance | path

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

/drivers/power/supply/
A Dds2760_battery.c105 int full_active_uAh; /* units of µAh */ member
318 di->full_active_uAh = di->raw[DS2760_ACTIVE_FULL] << 8 | in ds2760_battery_read_status()
324 if (di->full_active_uAh == 0) in ds2760_battery_read_status()
325 di->full_active_uAh = di->rated_capacity / 1000L; in ds2760_battery_read_status()
327 scale[0] = di->full_active_uAh; in ds2760_battery_read_status()
331 di->full_active_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status()
332 di->full_active_uAh *= 1000; /* convert to µAh */ in ds2760_battery_read_status()
342 if (di->full_active_uAh == di->empty_uAh) in ds2760_battery_read_status()
348 (di->full_active_uAh - di->empty_uAh); in ds2760_battery_read_status()
413 di->full_active_uAh); in ds2760_battery_update_status()
[all …]

Completed in 3 milliseconds