iPXE
|
A USB I/O protocol device. More...
#include <usbio.h>
Data Fields | |
EFI_HANDLE | handle |
EFI device handle. More... | |
EFI_USB_IO_PROTOCOL * | io |
USB I/O protocol. More... | |
struct device | dev |
Generic device. More... | |
struct usb_configuration_descriptor * | config |
Configuration descriptor. More... | |
EFI_DEVICE_PATH_PROTOCOL * | path |
Device path. More... | |
USB_DEVICE_PATH * | usbpath |
Final component of USB device path. More... | |
uint8_t | first |
First interface number. More... | |
struct usbio_interface * | interface |
USB I/O protocol interfaces. More... | |
struct usb_bus * | bus |
USB bus. More... | |
struct list_head | endpoints |
List of endpoints. More... | |
A USB I/O protocol device.
We model each externally-provided USB I/O protocol device as a host controller containing a root hub with a single port.
EFI_HANDLE usbio_device::handle |
EFI device handle.
Definition at line 128 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_config(), usbio_control_poll(), usbio_endpoint_open(), usbio_interface(), usbio_interfaces(), usbio_interrupt_callback(), usbio_interrupt_open(), usbio_open(), usbio_path(), and usbio_start().
EFI_USB_IO_PROTOCOL* usbio_device::io |
USB I/O protocol.
Definition at line 130 of file usbio.h.
Referenced by usbio_config(), usbio_interfaces(), and usbio_start().
struct device usbio_device::dev |
Generic device.
Definition at line 132 of file usbio.h.
Referenced by usbio_start(), and usbio_stop().
struct usb_configuration_descriptor* usbio_device::config |
Configuration descriptor.
Definition at line 135 of file usbio.h.
Referenced by usbio_config(), usbio_control_poll(), usbio_interface(), usbio_interfaces(), usbio_start(), and usbio_stop().
EFI_DEVICE_PATH_PROTOCOL* usbio_device::path |
Device path.
Definition at line 138 of file usbio.h.
Referenced by usbio_open(), usbio_path(), usbio_start(), and usbio_stop().
USB_DEVICE_PATH* usbio_device::usbpath |
Final component of USB device path.
Definition at line 140 of file usbio.h.
Referenced by usbio_open(), and usbio_path().
uint8_t usbio_device::first |
First interface number.
Definition at line 143 of file usbio.h.
Referenced by usbio_interface(), and usbio_interfaces().
struct usbio_interface* usbio_device::interface |
USB I/O protocol interfaces.
Definition at line 145 of file usbio.h.
Referenced by usbio_close(), usbio_control_poll(), usbio_interfaces(), usbio_open(), usbio_start(), and usbio_stop().
struct usb_bus* usbio_device::bus |
struct list_head usbio_device::endpoints |
List of endpoints.
Definition at line 150 of file usbio.h.
Referenced by usbio_bus_poll(), and usbio_start().