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()
37 int psy_status; member203 last_psy_status = port->psy_status; in cros_usbpd_charger_get_power_info()208 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()212 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()216 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_usbpd_charger_get_power_info()220 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()302 last_psy_status != port->psy_status) in cros_usbpd_charger_get_power_info()407 val->intval = port->psy_status; in cros_usbpd_charger_get_prop()