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_iso_packet_descriptor |
| The descriptor for data packets of isochronous transfers. 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... | |
Defines | |
| #define | B_USB_MODULE_NAME "bus_managers/usb/v3" |
| The identifier string for the USB Stack interface module. | |
| #define | USB_ISO_ASAP 0x01 |
Typedefs | |
| typedef void(*) | usb_callback_func (void *cookie, status_t status, void *data, size_t actualLength) |
| Callback function for asynchronous transfers. | |
| typedef usb_configuration_info | usb_configuration_info |
| Container for USB configuration descriptors. | |
| typedef usb_id | usb_device |
| Uniquely identify USB devices. | |
| typedef 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 usb_interface_info | usb_interface_info |
| Container for USB interface descriptors. | |
| typedef usb_interface_list | usb_interface_list |
| Container that holds a list of USB interface descriptors. | |
| typedef 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. | |
| 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 that holds a list of USB interface descriptors.