Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/power/
Dds2782_battery.c113 int sense_res; in ds2782_get_current() local
129 sense_res = 1000 / sense_res_raw; in ds2782_get_current()
132 sense_res); in ds2782_get_current()
136 *current_uA = raw * (DS2782_CURRENT_UNITS / sense_res); in ds2782_get_current()
Dds2780_battery.c229 int ret, sense_res; in ds2780_get_current() local
245 sense_res = 1000 / sense_res_raw; in ds2780_get_current()
267 *current_uA = current_raw * (DS2780_CURRENT_UNITS / sense_res); in ds2780_get_current()
274 int ret, sense_res; in ds2780_get_accumulated_current() local
290 sense_res = 1000 / sense_res_raw; in ds2780_get_accumulated_current()
304 *accumulated_current = current_raw * (DS2780_CHARGE_UNITS / sense_res); in ds2780_get_accumulated_current()
Dds2781_battery.c231 int ret, sense_res; in ds2781_get_current() local
247 sense_res = 1000 / sense_res_raw; in ds2781_get_current()
269 *current_uA = current_raw * (DS2781_CURRENT_UNITS / sense_res); in ds2781_get_current()
276 int ret, sense_res; in ds2781_get_accumulated_current() local
292 sense_res = 1000 / sense_res_raw; in ds2781_get_accumulated_current()
306 *accumulated_current = current_raw * (DS2781_CHARGE_UNITS / sense_res); in ds2781_get_accumulated_current()