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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/power/
H A Dds2760_battery.c50 int full_active_uAh; /* units of ��Ah */ member in struct:ds2760_device_info
178 di->full_active_uAh = di->raw[DS2760_ACTIVE_FULL] << 8 |
181 /* If the full_active_uAh value is not given, fall back to the rated
184 if (di->full_active_uAh == 0)
185 di->full_active_uAh = di->rated_capacity / 1000L;
187 scale[0] = di->full_active_uAh;
191 di->full_active_uAh = battery_interpolate(scale, di->temp_C / 10);
192 di->full_active_uAh *= 1000; /* convert to ��Ah */
202 if (di->full_active_uAh == di->empty_uAh)
208 (di->full_active_uAh
[all...]

Completed in 39 milliseconds