Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dds2780_battery.c214 static int ds2780_get_current(struct ds2780_device_info *dev_info, in ds2780_get_current() function
314 ret = ds2780_get_current(dev_info, CURRENT_NOW, &current_uA); in ds2780_get_status()
400 ret = ds2780_get_current(dev_info, CURRENT_NOW, &val->intval); in ds2780_battery_get_property()
404 ret = ds2780_get_current(dev_info, CURRENT_AVG, &val->intval); in ds2780_battery_get_property()