|
iPXE
|
A USB driver. More...
#include <usb.h>
Data Fields | |
| struct usb_device_id * | ids |
| USB ID table. More... | |
| unsigned int | id_count |
| Number of entries in ID table. More... | |
| struct usb_class_id | class |
| Class ID. More... | |
| unsigned int | score |
| Driver score. More... | |
| int(* | probe )(struct usb_function *func, struct usb_configuration_descriptor *config) |
| Probe device. More... | |
| void(* | remove )(struct usb_function *func) |
| Remove device. More... | |
| struct usb_device_id* usb_driver::ids |
| unsigned int usb_driver::id_count |
Number of entries in ID table.
Definition at line 1410 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 1418 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 1426 of file usb.h.
Referenced by usb_probe().
| void( * usb_driver::remove) (struct usb_function *func) |
Remove device.
| func | USB function |
Definition at line 1433 of file usb.h.
Referenced by usb_remove().
1.8.15