Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 3 milliseconds