Home
last modified time | relevance | path

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

/drivers/power/supply/
Daxp288_fuel_gauge.c131 int pwr_stat; member
234 info->pwr_stat = ret; in fuel_gauge_update_registers()
256 if (info->pwr_stat & PS_STAT_BAT_CHRG_DIR) { in fuel_gauge_update_registers()
289 int pwr_stat = info->pwr_stat; in fuel_gauge_get_status() local
294 if (!(pwr_stat & PS_STAT_VBUS_VALID)) in fuel_gauge_get_status()
311 if (fg_res < 90 || (pwr_stat & PS_STAT_BAT_CHRG_DIR) || no_current_sense_res) in fuel_gauge_get_status()
320 if (pwr_stat & PS_STAT_BAT_CHRG_DIR) in fuel_gauge_get_status()
/drivers/extcon/
Dextcon-axp288.c201 int ret, pwr_stat; in axp288_get_vbus_attach() local
203 ret = regmap_read(info->regmap, AXP288_PS_STAT_REG, &pwr_stat); in axp288_get_vbus_attach()
209 return !!(pwr_stat & PS_STAT_VBUS_VALID); in axp288_get_vbus_attach()