Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dds2781_battery.c215 static int ds2781_get_current(struct ds2781_device_info *dev_info, in ds2781_get_current() function
315 ret = ds2781_get_current(dev_info, CURRENT_NOW, &current_uA); in ds2781_get_status()
402 ret = ds2781_get_current(dev_info, CURRENT_NOW, &val->intval); in ds2781_battery_get_property()
406 ret = ds2781_get_current(dev_info, CURRENT_AVG, &val->intval); in ds2781_battery_get_property()