|
iPXE
|
A USB driver. More...
#include <usb.h>
Data Fields | |
| struct usb_device_id * | ids |
| USB ID table. | |
| unsigned int | id_count |
| Number of entries in ID table. | |
| struct usb_class_id | class |
| Class ID. | |
| unsigned int | score |
| Driver score. | |
| int(* | probe )(struct usb_function *func, struct usb_configuration_descriptor *config) |
| Probe device. | |
| void(* | remove )(struct usb_function *func) |
| Remove device. | |
| struct usb_device_id* usb_driver::ids |
| unsigned int usb_driver::id_count |
Number of entries in ID table.
Definition at line 1423 of file usb.h.
Referenced by usb_find_driver().
| struct usb_class_id usb_driver::class |
| unsigned int usb_driver::score |
Driver score.
This is used to determine the preferred configuration for a USB device.
Definition at line 1431 of file usb.h.
Referenced by usb_score().
| int(* usb_driver::probe) (struct usb_function *func, struct usb_configuration_descriptor *config) |
Probe device.
| func | USB function |
| config | Configuration descriptor |
| rc | Return status code |
Definition at line 1439 of file usb.h.
Referenced by usb_probe().
| void(* usb_driver::remove) (struct usb_function *func) |
Remove device.
| func | USB function |
Definition at line 1446 of file usb.h.
Referenced by usb_remove().