Searched refs:rated_capacity (Results 1 – 1 of 1) sorted by relevance
42 static unsigned int rated_capacity; variable43 module_param(rated_capacity, uint, 0644);44 MODULE_PARM_DESC(rated_capacity, "rated battery capacity, 10*mAh or index");103 int rated_capacity; /* units of µAh */ member319 di->rated_capacity = rated_capacities[ in ds2760_battery_read_status()322 di->rated_capacity = di->raw[DS2760_RATED_CAPACITY] * 10; in ds2760_battery_read_status()324 di->rated_capacity *= 1000; /* convert to µAh */ in ds2760_battery_read_status()334 di->full_active_uAh = di->rated_capacity / 1000L; in ds2760_battery_read_status()446 unsigned char rated_capacity) in ds2760_battery_write_rated_capacity() argument448 if (rated_capacity == di->raw[DS2760_RATED_CAPACITY]) in ds2760_battery_write_rated_capacity()[all …]