Searched refs:psy_status (Results 1 – 2 of 2) sorted by relevance
32 int psy_status; member130 int old_status = port->psy_status; in cros_pchg_get_status()148 port->psy_status = POWER_SUPPLY_STATUS_UNKNOWN; in cros_pchg_get_status()152 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_pchg_get_status()156 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_pchg_get_status()160 port->psy_status = POWER_SUPPLY_STATUS_FULL; in cros_pchg_get_status()167 if (port->psy_status != old_status || in cros_pchg_get_status()213 val->intval = port->psy_status; in cros_pchg_get_prop()
37 int psy_status; member192 last_psy_status = port->psy_status; in cros_usbpd_charger_get_power_info()197 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()201 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()205 port->psy_status = POWER_SUPPLY_STATUS_CHARGING; in cros_usbpd_charger_get_power_info()209 port->psy_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in cros_usbpd_charger_get_power_info()291 last_psy_status != port->psy_status) in cros_usbpd_charger_get_power_info()396 val->intval = port->psy_status; in cros_usbpd_charger_get_prop()