Searched refs:psy_online (Results 1 – 2 of 2) sorted by relevance
36 int psy_online; member198 port->psy_online = 0; in cros_usbpd_charger_get_power_info()202 port->psy_online = 0; in cros_usbpd_charger_get_power_info()206 port->psy_online = 1; in cros_usbpd_charger_get_power_info()210 port->psy_online = 1; in cros_usbpd_charger_get_power_info()374 if (ec_device->mkbp_event_supported || port->psy_online) in cros_usbpd_charger_get_prop()393 val->intval = port->psy_online; in cros_usbpd_charger_get_prop()
288 enum anx7411_psy_state psy_online; member351 if (ctx->psy_online == ANX7411_PSY_OFFLINE) { in anx7411_detect_power_mode()352 ctx->psy_online = ANX7411_PSY_FIXED_ONLINE; in anx7411_detect_power_mode()662 ctx->psy_online = ANX7411_PSY_FIXED_ONLINE; in anx7411_parse_cmd()945 ctx->psy_online = ANX7411_PSY_OFFLINE; in anx7411_work_func()1361 ctx->psy_online = val->intval; in anx7411_psy_set_prop()1387 val->intval = ctx->psy_online; in anx7411_psy_get_prop()1392 val->intval = (ctx->psy_online) ? in anx7411_psy_get_prop()1397 val->intval = (ctx->psy_online) ? in anx7411_psy_get_prop()1487 plat->psy_online = ANX7411_PSY_OFFLINE; in anx7411_i2c_probe()