Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Daxp288_charger.c30 #define PS_STAT_VBUS_VALID BIT(4) macro
310 if (!(info->input_status & PS_STAT_VBUS_VALID)) in axp288_get_charger_health()
438 val->intval = (info->input_status & PS_STAT_VBUS_VALID) ? 1 : 0; in axp288_charger_usb_get_property()
632 if (!(val & PS_STAT_VBUS_VALID)) { in axp288_charger_extcon_evt_worker()
H A Daxp288_fuel_gauge.c30 #define PS_STAT_VBUS_VALID (1 << 4) macro
294 if (!(pwr_stat & PS_STAT_VBUS_VALID)) in fuel_gauge_get_status()
/linux/drivers/extcon/
H A Dextcon-axp288.c33 #define PS_STAT_VBUS_VALID BIT(4) macro
209 return !!(pwr_stat & PS_STAT_VBUS_VALID); in axp288_get_vbus_attach()