Lines Matching full:power
13 /* TODO: model power only and disabled slot states. */
145 return "power-only"; in shpc_slot_state_to_str()
290 static bool shpc_slot_is_off(uint8_t state, uint8_t power, uint8_t attn) in shpc_slot_is_off() argument
292 return state == SHPC_STATE_DISABLED && power == SHPC_LED_OFF; in shpc_slot_is_off()
296 uint8_t state, uint8_t power, uint8_t attn) in shpc_slot_command() argument
314 if (power == SHPC_LED_NO) { in shpc_slot_command()
315 power = old_power; in shpc_slot_command()
318 shpc_set_status(shpc, slot, power, SHPC_SLOT_PWR_LED_MASK); in shpc_slot_command()
344 shpc_led_state_to_str(power), in shpc_slot_command()
352 shpc_slot_is_off(state, power, attn)) in shpc_slot_command()
371 uint8_t power; in shpc_command() local
385 power = (code & SHPC_SLOT_PWR_LED_MASK) >> SHPC_SLOT_PWR_LED_SHIFT; in shpc_command()
387 shpc_slot_command(d, target, state, power, attn); in shpc_command()
394 /* Power only all slots */ in shpc_command()
627 "guest is busy (power indicator blinking)"); in shpc_device_unplug_request_cb()