iPXE
Data Fields
usbio_device Struct Reference

A USB I/O protocol device. More...

#include <usbio.h>

Data Fields

EFI_HANDLE handle
 EFI device handle. More...
 
EFI_USB_IO_PROTOCOLio
 USB I/O protocol. More...
 
struct device dev
 Generic device. More...
 
struct usb_configuration_descriptorconfig
 Configuration descriptor. More...
 
EFI_DEVICE_PATH_PROTOCOLpath
 Device path. More...
 
USB_DEVICE_PATHusbpath
 Final component of USB device path. More...
 
uint8_t first
 First interface number. More...
 
struct usbio_interfaceinterface
 USB I/O protocol interfaces. More...
 
struct usb_busbus
 USB bus. More...
 
struct list_head endpoints
 List of endpoints. More...
 

Detailed Description

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.

Definition at line 126 of file usbio.h.

Field Documentation

◆ handle

EFI_HANDLE usbio_device::handle

◆ io

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().

◆ dev

struct device usbio_device::dev

Generic device.

Definition at line 132 of file usbio.h.

Referenced by usbio_start(), and usbio_stop().

◆ config

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().

◆ path

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().

◆ usbpath

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().

◆ first

uint8_t usbio_device::first

First interface number.

Definition at line 143 of file usbio.h.

Referenced by usbio_interface(), and usbio_interfaces().

◆ interface

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().

◆ bus

struct usb_bus* usbio_device::bus

USB bus.

Definition at line 148 of file usbio.h.

Referenced by usbio_start(), and usbio_stop().

◆ endpoints

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().


The documentation for this struct was generated from the following file: