iPXE
Data Fields
usb_device Struct Reference

A USB device. More...

#include <usb.h>

Data Fields

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

Detailed Description

A USB device.

Definition at line 706 of file usb.h.

Field Documentation

◆ name

char usb_device::name[32]

◆ port

struct usb_port* usb_device::port

◆ speed

unsigned int usb_device::speed

◆ list

struct list_head usb_device::list

List of devices on this bus.

Definition at line 714 of file usb.h.

Referenced by register_usb(), and unregister_usb().

◆ address

unsigned int usb_device::address

◆ device

struct usb_device_descriptor usb_device::device

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

◆ functions

struct list_head usb_device::functions

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

struct usb_device_host_operations* usb_device::host

Host controller operations.

Definition at line 723 of file usb.h.

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

◆ priv

void* usb_device::priv

Host controller private data.

Definition at line 725 of file usb.h.

Referenced by usb_get_hostdata(), and usb_set_hostdata().

◆ ep

struct usb_endpoint* usb_device::ep[32]

◆ control

struct usb_endpoint usb_device::control

Control endpoint.

Definition at line 731 of file usb.h.

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

◆ complete

struct list_head usb_device::complete

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

◆ language

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: