Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Daxp288_fuel_gauge.c134 int d_curr; member
257 info->d_curr = 0; in fuel_gauge_update_registers()
263 ret = iio_read_channel_raw(info->iio_channel[BAT_D_CURR], &info->d_curr); in fuel_gauge_update_registers()
291 int curr = info->d_curr; in fuel_gauge_get_status()
369 if (info->d_curr > 0) in fuel_gauge_get_property()
370 value = -1 * info->d_curr; in fuel_gauge_get_property()