iPXE
Data Fields
usb_device Struct Reference

A USB device. More...

#include <usb.h>

Data Fields

char name [32]
 Name.
struct usb_portport
 USB port.
unsigned int speed
 Device speed.
struct list_head list
 List of devices on this bus.
unsigned int address
 Device address, if assigned.
struct usb_device_descriptor device
 Device descriptor.
struct list_head functions
 List of functions.
struct usb_device_host_operationshost
 Host controller operations.
void * priv
 Host controller private data.
struct usb_endpointep [32]
 Endpoint list.
struct usb_endpoint control
 Control endpoint.
struct list_head complete
 Completed control transfers.
unsigned int language
 Default language ID (if known)

Detailed Description

A USB device.

Definition at line 706 of file usb.h.


Field Documentation

char usb_device::name[32]
unsigned int usb_device::speed

List of devices on this bus.

Definition at line 714 of file usb.h.

Referenced by register_usb(), and unregister_usb().

unsigned int usb_device::address

Device descriptor.

Definition at line 718 of file usb.h.

Referenced by efi_usb_get_device_descriptor(), register_usb(), usb_autoconfigure(), usb_describe(), and usb_probe_all().

List of functions.

Definition at line 720 of file usb.h.

Referenced by alloc_usb(), free_usb(), usb_probe_all(), usb_remove_all(), and usbio_interface().

Host controller operations.

Definition at line 723 of file usb.h.

Referenced by alloc_usb(), register_usb(), and unregister_usb().

Host controller private data.

Definition at line 725 of file usb.h.

Endpoint list.

Definition at line 728 of file usb.h.

Referenced by free_usb(), usb_deconfigure(), usb_endpoint(), usb_endpoint_close(), and usb_endpoint_open().

Control endpoint.

Definition at line 731 of file usb.h.

Referenced by alloc_usb(), register_usb(), unregister_usb(), and usb_control().

Completed control transfers.

Definition at line 733 of file usb.h.

Referenced by alloc_usb(), free_usb(), unregister_usb(), usb_control(), and usb_control_complete().

unsigned int usb_device::language

Default language ID (if known)

Definition at line 736 of file usb.h.

Referenced by usb_get_string_descriptor().


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