Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dds2782_battery.c118 int sense_res; in ds2782_get_current() local
134 sense_res = 1000 / sense_res_raw; in ds2782_get_current()
137 sense_res); in ds2782_get_current()
141 *current_uA = raw * (DS2782_CURRENT_UNITS / sense_res); in ds2782_get_current()
Dds2781_battery.c218 int ret, sense_res; in ds2781_get_current() local
234 sense_res = 1000 / sense_res_raw; in ds2781_get_current()
256 *current_uA = current_raw * (DS2781_CURRENT_UNITS / sense_res); in ds2781_get_current()
263 int ret, sense_res; in ds2781_get_accumulated_current() local
279 sense_res = 1000 / sense_res_raw; in ds2781_get_accumulated_current()
293 *accumulated_current = current_raw * (DS2781_CHARGE_UNITS / sense_res); in ds2781_get_accumulated_current()
Dds2780_battery.c217 int ret, sense_res; in ds2780_get_current() local
233 sense_res = 1000 / sense_res_raw; in ds2780_get_current()
255 *current_uA = current_raw * (DS2780_CURRENT_UNITS / sense_res); in ds2780_get_current()
262 int ret, sense_res; in ds2780_get_accumulated_current() local
278 sense_res = 1000 / sense_res_raw; in ds2780_get_accumulated_current()
292 *accumulated_current = current_raw * (DS2780_CHARGE_UNITS / sense_res); in ds2780_get_accumulated_current()