iPXE
|
A USB port. More...
#include <usb.h>
Data Fields | |
struct usb_hub * | hub |
USB hub. More... | |
unsigned int | address |
Port address. More... | |
unsigned int | protocol |
Port protocol. More... | |
unsigned int | speed |
Port speed. More... | |
int | disconnected |
Port disconnection has been detected. More... | |
int | attached |
Port has an attached device. More... | |
struct usb_device * | usb |
Currently attached device (if in use) More... | |
struct list_head | changed |
List of changed ports. More... | |
struct usb_hub* usb_port::hub |
USB hub.
Definition at line 814 of file usb.h.
Referenced by acm_probe(), alloc_usb_hub(), axge_probe(), dm96xx_probe(), ecm_probe(), efi_usb_path(), efi_usb_sync_transfer(), efi_usb_timer(), ehci_device_open(), ehci_endpoint_capabilities(), free_usb_bus(), free_usb_hub(), hub_probe(), hub_remove(), imux_probe(), iphone_probe(), ncm_probe(), register_usb_hub(), uhci_device_open(), unregister_usb_hub(), usb_control(), usb_depth(), usb_endpoint_clear_tt(), usb_endpoint_open(), usb_port(), usb_probe_all(), usb_root_hub_port(), usb_route_string(), usb_transaction_translator(), usbio_device_open(), usbio_endpoint_open(), usbkbd_probe(), xhci_device_open(), and xhci_root_open().
unsigned int usb_port::address |
Port address.
Definition at line 816 of file usb.h.
Referenced by ehci_endpoint_capabilities(), usb_route_string(), xhci_device_address(), and xhci_device_open().
unsigned int usb_port::protocol |
Port protocol.
Definition at line 818 of file usb.h.
Referenced by alloc_usb_hub(), and hub_probe().
int usb_port::disconnected |
Port disconnection has been detected.
This should be set whenever the underlying hardware reports a connection status change.
Definition at line 826 of file usb.h.
Referenced by hub_remove().
struct usb_device* usb_port::usb |
Currently attached device (if in use)
Note that this field will be NULL if the attached device has been freed (e.g. because there were no drivers found).
Definition at line 834 of file usb.h.
Referenced by alloc_usb_hub(), ehci_endpoint_capabilities(), hub_remove(), register_usb(), unregister_usb(), usb_endpoint_clear_tt(), usb_message(), usb_stream(), xhci_device_address(), and xhci_device_open().
struct list_head usb_port::changed |
List of changed ports.
Definition at line 836 of file usb.h.
Referenced by free_usb_bus(), and usb_hotplug().