EFI USB PORT FEATURE

From PhoenixWiki

Jump to: navigation, search

Prototype

typedef enum {
  EfiUsbPortEnable = 1,
  EfiUsbPortSuspend = 2,
  EfiUsbPortReset = 4,
  EfiUsbPortPower = 8,
  EfiUsbPortOwner = 13,
  EfiUsbPortConnectChange = 16,
  EfiUsbPortEnableChange = 17,
  EfiUsbPortSuspendChange = 18,
  EfiUsbPortOverCurrentChange = 19,
  EfiUsbPortResetChange = 20
} EFI_USB_PORT_FEATURE;

Description

The feature values specified in the enumeration variable have special meaning. Each value indicates its bit index in the port status and status change bitmaps, if combines these two bitmaps into a 32-bit bitmap.

Port Feature For SetRootHubPortFeature For ClearRootHubPortFeature
EfiUsbPortEnable Enable the given port of the root hub. Disable the given port of the root hub.
EfiUsbPortSuspend Put the given port into suspend state. Restore the given port from the previous suspend state.
EfiUsbPortReset Reset the given port of the root hub. Clear the RESET signal for the given port of the root hub.
EfiUsbPortPower Power the given port. Shutdown the power from the given port.
EfiUsbPortOwner N/A. Releases the port ownership of this port to companion host controller.
EfiUsbPortConnectChange N/A. Clear USB_PORT_STAT_C_CONNECTION bit of the given port of the root hub.
EfiUsbPortEnableChange N/A. Clear USB_PORT_STAT_C_ENABLE bit of the given port of the root hub.
EfiUsbPortSuspendChange N/A. Clear USB_PORT_STAT_C_SUSPEND bit of the given port of the root hub.
EfiUsbPortOverCurrentChange N/A. Clear USB_PORT_STAT_C_OVERCURRENT bit of the given port of the root hub.
EfiUsbPortResetChange N/A. Clear USB_PORT_STAT_C_RESET bit of the given port of the root hub.

Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) 2008 UEFI Forum, Inc. Used with permission.

Personal tools