Go to the source code of this file.
|
enum | usb_phy_events {
USB_EVENT_NONE,
USB_EVENT_VBUS,
USB_EVENT_ID,
USB_EVENT_CHARGER,
USB_EVENT_ENUMERATED
} |
|
enum | usb_phy_type { USB_PHY_TYPE_UNDEFINED,
USB_PHY_TYPE_USB2,
USB_PHY_TYPE_USB3
} |
|
enum | usb_otg_state {
OTG_STATE_UNDEFINED = 0,
OTG_STATE_B_IDLE,
OTG_STATE_B_SRP_INIT,
OTG_STATE_B_PERIPHERAL,
OTG_STATE_B_WAIT_ACON,
OTG_STATE_B_HOST,
OTG_STATE_A_IDLE,
OTG_STATE_A_WAIT_VRISE,
OTG_STATE_A_WAIT_BCON,
OTG_STATE_A_HOST,
OTG_STATE_A_SUSPEND,
OTG_STATE_A_PERIPHERAL,
OTG_STATE_A_WAIT_VFALL,
OTG_STATE_A_VBUS_ERR
} |
|
- Enumerator:
OTG_STATE_UNDEFINED |
|
OTG_STATE_B_IDLE |
|
OTG_STATE_B_SRP_INIT |
|
OTG_STATE_B_PERIPHERAL |
|
OTG_STATE_B_WAIT_ACON |
|
OTG_STATE_B_HOST |
|
OTG_STATE_A_IDLE |
|
OTG_STATE_A_WAIT_VRISE |
|
OTG_STATE_A_WAIT_BCON |
|
OTG_STATE_A_HOST |
|
OTG_STATE_A_SUSPEND |
|
OTG_STATE_A_PERIPHERAL |
|
OTG_STATE_A_WAIT_VFALL |
|
OTG_STATE_A_VBUS_ERR |
|
Definition at line 30 of file phy.h.
- Enumerator:
USB_EVENT_NONE |
|
USB_EVENT_VBUS |
|
USB_EVENT_ID |
|
USB_EVENT_CHARGER |
|
USB_EVENT_ENUMERATED |
|
Definition at line 14 of file phy.h.
- Enumerator:
USB_PHY_TYPE_UNDEFINED |
|
USB_PHY_TYPE_USB2 |
|
USB_PHY_TYPE_USB3 |
|
Definition at line 23 of file phy.h.
usb_add_phy - declare the USB PHY : the USB phy to be used; or NULL - the type of this PHY
This call is exclusively for use by phy drivers, which coordinate the activities of drivers for host and peripheral controllers, and in some cases for VBUS current regulation.
Definition at line 156 of file otg.c.
usb_remove_phy - remove the OTG PHY : the USB OTG PHY to be removed;
This reverts the effects of usb_add_phy
Definition at line 193 of file otg.c.