Turnstone Operating System
|
USB device driver. More...
#include <driver/usb.h>
#include <hashmap.h>
#include <logging.h>
#include <time/timer.h>
#include <strings.h>
Functions | |
MODULE ("turnstone.kernel.hw.usb") | |
void | usb_device_print_desc (usb_device_desc_t device_desc) |
boolean_t | usb_device_get_langs (usb_device_t *usb_device, wchar_t *langs) |
boolean_t | usb_device_get_string (usb_device_t *usb_device, wchar_t lang_id, uint32_t str_index, wchar_t *str) |
void | usb_device_free (usb_device_t *usb_device) |
boolean_t | usb_device_request (usb_device_t *usb_device, usb_request_type_t request_type, usb_request_recipient_t request_recipient, usb_request_direction_t request_direction, uint32_t request, uint16_t value, uint16_t index, uint16_t length, void *data) |
int8_t | usb_device_init (usb_device_t *parent, usb_controller_t *controller, uint32_t port, uint32_t speed) |
Variables | |
hashmap_t * | usb_devices = NULL |
USB device driver.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.