Searched refs:psy_status (Results 1 – 2 of 2) sorted by relevance
31 int psy_status; member129 int old_status = port->psy_status; in cros_pchg_get_status()147 port->psy_status = POWER_SUPPLY_STATUS_UNKNOWN; in cros_pchg_get_status()151 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_pchg_get_status()155 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_pchg_get_status()159 port->psy_status = POWER_SUPPLY_STATUS_FULL; in cros_pchg_get_status()166 if (port->psy_status != old_status || in cros_pchg_get_status()212 val->intval = port->psy_status; in cros_pchg_get_prop()
36 int psy_status; member202 last_psy_status = port->psy_status; in cros_usbpd_charger_get_power_info()207 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()211 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()215 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_usbpd_charger_get_power_info()219 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()301 last_psy_status != port->psy_status) in cros_usbpd_charger_get_power_info()406 val->intval = port->psy_status; in cros_usbpd_charger_get_prop()