iPXE
|
USB hub driver operations. More...
#include <usb.h>
Data Fields | |
int(* | open )(struct usb_hub *hub) |
Open hub. More... | |
void(* | close )(struct usb_hub *hub) |
Close hub. More... | |
int(* | enable )(struct usb_hub *hub, struct usb_port *port) |
Enable port. More... | |
int(* | disable )(struct usb_hub *hub, struct usb_port *port) |
Disable port. More... | |
int(* | speed )(struct usb_hub *hub, struct usb_port *port) |
Update port speed. More... | |
int(* | clear_tt )(struct usb_hub *hub, struct usb_port *port, struct usb_endpoint *ep) |
Clear transaction translator buffer. More... | |
int( * usb_hub_driver_operations::open) (struct usb_hub *hub) |
Open hub.
hub | USB hub |
rc | Return status code |
Definition at line 891 of file usb.h.
Referenced by register_usb_hub().
void( * usb_hub_driver_operations::close) (struct usb_hub *hub) |
Close hub.
hub | USB hub |
Definition at line 896 of file usb.h.
Referenced by register_usb_hub(), and unregister_usb_hub().
Enable port.
hub | USB hub |
port | USB port |
rc | Return status code |
Definition at line 903 of file usb.h.
Referenced by register_usb().
Disable port.
hub | USB hub |
port | USB port |
rc | Return status code |
Definition at line 910 of file usb.h.
Referenced by unregister_usb().
Update port speed.
hub | USB hub |
port | USB port |
rc | Return status code |
Definition at line 917 of file usb.h.
Referenced by register_usb(), and usb_hotplugged().
int( * usb_hub_driver_operations::clear_tt) (struct usb_hub *hub, struct usb_port *port, struct usb_endpoint *ep) |
Clear transaction translator buffer.
hub | USB hub |
port | USB port |
ep | USB endpoint |
rc | Return status code |
Definition at line 925 of file usb.h.
Referenced by usb_endpoint_clear_tt().