iPXE
Data Fields
usb_function Struct Reference

A USB function. More...

#include <usb.h>

Data Fields

const char * name
 Name.
struct usb_deviceusb
 USB device.
struct usb_function_descriptor desc
 Function descriptor.
struct device dev
 Generic device.
struct list_head list
 List of functions within this USB device.
struct usb_driverdriver
 Driver.
void * priv
 Driver private data.
struct usb_device_idid
 Driver device ID.
uint8_t interface [0]
 List of interface numbers.

Detailed Description

A USB function.

A USB function represents an association of interfaces within a USB device.

Definition at line 657 of file usb.h.


Field Documentation

const char* usb_function::name

Function descriptor.

Definition at line 663 of file usb.h.

Referenced by efi_usb_probe(), usb_probe(), usb_probe_all(), usbio_interface(), usbnet_comms_describe(), and usbnet_data_describe().

List of functions within this USB device.

Definition at line 667 of file usb.h.

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

Driver.

Definition at line 670 of file usb.h.

Referenced by usb_probe(), and usb_remove().

Driver private data.

Definition at line 672 of file usb.h.

Driver device ID.

Definition at line 674 of file usb.h.

Referenced by hub_probe(), and usb_probe().

List of interface numbers.

This must be the last field within the structure.

Definition at line 680 of file usb.h.

Referenced by efi_usb_probe(), usb_probe_all(), usbhid_describe(), usbio_interface(), usbkbd_probe(), usbkbd_set_leds(), usbnet_comms_describe(), and usbnet_data_describe().


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