iPXE
|
A USB device. More...
#include <usb.h>
Data Fields | |
char | name [32] |
Name. More... | |
struct usb_port * | port |
USB port. More... | |
unsigned int | speed |
Device speed. More... | |
struct list_head | list |
List of devices on this bus. More... | |
unsigned int | address |
Device address, if assigned. More... | |
struct usb_device_descriptor | device |
Device descriptor. More... | |
struct list_head | functions |
List of functions. More... | |
struct usb_device_host_operations * | host |
Host controller operations. More... | |
void * | priv |
Host controller private data. More... | |
struct usb_endpoint * | ep [32] |
Endpoint list. More... | |
struct usb_endpoint | control |
Control endpoint. More... | |
struct list_head | complete |
Completed control transfers. More... | |
unsigned int | language |
Default language ID (if known) More... | |
char usb_device::name[32] |
Name.
Definition at line 724 of file usb.h.
Referenced by alloc_usb(), alloc_usb_hub(), ehci_device_address(), ehci_endpoint_close(), ehci_endpoint_poll(), ehci_root_clear_tt(), register_usb(), uhci_device_address(), uhci_endpoint_poll(), uhci_root_clear_tt(), unregister_usb(), usb_autoconfigure(), usb_complete_err(), usb_config_descriptor(), usb_control(), usb_describe(), usb_endpoint_clear_halt(), usb_endpoint_clear_tt(), usb_endpoint_mtu(), usb_endpoint_open(), usb_endpoint_reset(), usb_get_default_language(), usb_message(), usb_probe_all(), usb_stream(), usb_used(), xhci_address_device(), xhci_device_open(), and xhci_root_clear_tt().
struct usb_port* usb_device::port |
USB port.
Definition at line 726 of file usb.h.
Referenced by acm_probe(), alloc_usb(), alloc_usb_hub(), axge_probe(), dm96xx_probe(), ecm_probe(), efi_usb_path(), efi_usb_sync_transfer(), efi_usb_timer(), ehci_device_open(), free_usb_bus(), hub_probe(), hub_remove(), imux_probe(), iphone_probe(), ncm_probe(), register_usb(), uhci_device_open(), unregister_usb(), usb_control(), usb_depth(), usb_endpoint_open(), usb_message(), usb_probe_all(), usb_root_hub_port(), usb_route_string(), usb_stream(), usb_transaction_translator(), usbio_device_open(), usbio_endpoint_open(), usbkbd_probe(), and xhci_device_open().
unsigned int usb_device::speed |
Device speed.
Definition at line 728 of file usb.h.
Referenced by ehci_endpoint_characteristics(), register_usb(), uhci_endpoint_open(), usb_endpoint_described(), usb_transaction_translator(), and xhci_device_address().
struct list_head usb_device::list |
List of devices on this bus.
Definition at line 730 of file usb.h.
Referenced by find_usb(), register_usb(), and unregister_usb().
unsigned int usb_device::address |
Device address, if assigned.
Definition at line 732 of file usb.h.
Referenced by ehci_device_address(), ehci_device_close(), ehci_endpoint_capabilities(), ehci_endpoint_characteristics(), find_usb(), hub_clear_tt(), register_usb(), uhci_device_address(), uhci_device_close(), uhci_endpoint_open(), unregister_usb(), usb_probe_all(), and xhci_address_device().
struct usb_device_descriptor usb_device::device |
Device descriptor.
Definition at line 734 of file usb.h.
Referenced by efi_usb_get_device_descriptor(), register_usb(), unregister_usb(), usb_autoconfigure(), usb_describe(), usb_probe_all(), and usb_settings_fetch().
struct list_head usb_device::functions |
List of functions.
Definition at line 736 of file usb.h.
Referenced by alloc_usb(), free_usb(), usb_probe_all(), usb_remove_all(), and usbio_interface().
struct usb_device_host_operations* usb_device::host |
Host controller operations.
Definition at line 739 of file usb.h.
Referenced by alloc_usb(), register_usb(), and unregister_usb().
void* usb_device::priv |
Host controller private data.
Definition at line 741 of file usb.h.
Referenced by usb_get_hostdata(), and usb_set_hostdata().
struct usb_endpoint* usb_device::ep[32] |
Endpoint list.
Definition at line 744 of file usb.h.
Referenced by ehci_endpoint_capabilities(), ehci_endpoint_characteristics(), ehci_endpoint_close(), ehci_endpoint_open(), ehci_endpoint_poll(), free_usb(), hub_clear_tt(), uhci_endpoint_open(), uhci_endpoint_poll(), usb_complete_err(), usb_control_complete(), usb_deconfigure(), usb_endpoint(), usb_endpoint_clear_halt(), usb_endpoint_clear_tt(), usb_endpoint_close(), usb_endpoint_described(), usb_endpoint_mtu(), usb_endpoint_open(), usb_endpoint_reset(), usb_message(), usb_stream(), usbio_interface(), and xhci_endpoint_open().
struct usb_endpoint usb_device::control |
Control endpoint.
Definition at line 747 of file usb.h.
Referenced by alloc_usb(), register_usb(), unregister_usb(), and usb_control().
struct list_head usb_device::complete |
Completed control transfers.
Definition at line 749 of file usb.h.
Referenced by alloc_usb(), free_usb(), unregister_usb(), usb_control(), and usb_control_complete().
unsigned int usb_device::language |
Default language ID (if known)
Definition at line 752 of file usb.h.
Referenced by usb_get_string_descriptor().