Interface for the USB module. More...
Classes | |
| struct | usb_configuration_info |
| Container for a specific configuration descriptor of a device. More... | |
| struct | usb_endpoint_info |
| Container for endpoint descriptors and their Haiku USB stack identifiers. More... | |
| struct | usb_interface_info |
| Container for interface descriptors and their Haiku USB stack identifiers. More... | |
| struct | usb_interface_list |
| List of interfaces available to a configuration. More... | |
| struct | usb_module_info |
| Interface for drivers to interact with Haiku's USB stack. More... | |
| struct | usb_notify_hooks |
| Hooks that the USB stack can callback in case of events. More... | |
| struct | usb_support_descriptor |
| Description of device descriptor that the driver can handle. More... | |
Macros | |
| #define | B_USB_MODULE_NAME "bus_managers/usb/v3.1" |
| The identifier string for the USB Stack interface module. | |
Typedefs | |
| typedef void(* | usb_callback_func) (void *cookie, status_t status, void *data, size_t actualLength) |
| Callback function for asynchronous transfers. | |
| typedef struct usb_configuration_info | usb_configuration_info |
| Container for USB configuration descriptors. | |
| typedef usb_id | usb_device |
| Uniquely identify USB devices. | |
| typedef struct usb_endpoint_info | usb_endpoint_info |
| Container for USB endpoint descriptors. | |
| typedef uint32 | usb_id |
| Uniquely identify various USB objects that are used in the module. | |
| typedef usb_id | usb_interface |
| Uniquely identify USB interfaces. | |
| typedef struct usb_interface_info | usb_interface_info |
| Container for USB interface descriptors. | |
| typedef struct usb_interface_list | usb_interface_list |
| Container that holds a list of USB interface descriptors. | |
| typedef struct usb_module_info | usb_module_info |
| The main interface object. See the usb_module_info documentation. | |
| typedef usb_id | usb_pipe |
| Uniquely identify USB pipes. | |
Interface for the USB module.
| typedef void(* usb_callback_func)(void *cookie, status_t status, void *data, size_t actualLength) |
Callback function for asynchronous transfers.
| cookie | The cookie you supplied when you queued the transfer. | ||||||||||||||||||||
| status | The status of the transfer. This is one of the following:
| ||||||||||||||||||||
| data | The provided buffer. | ||||||||||||||||||||
| actualLength | The amount of bytes read or written during the transfer. |
Container for USB configuration descriptors.
Container for USB endpoint descriptors.
Container for USB interface descriptors.
Container that holds a list of USB interface descriptors.