#include "usbhub.h"
#include <adt/list.h>
#include <bool.h>
#include <ddf/driver.h>
#include <fibril_synch.h>
#include <usb/classes/hub.h>
#include <usb/usb.h>
#include <usb/debug.h>
#include <usb/dev/request.h>
Go to the source code of this file.
Functions | |
usb_hub_descriptor_t * | usb_create_deserialized_hub_desriptor (void *serialized_descriptor) |
create deserialized desriptor structure out of serialized descriptor | |
void * | usb_create_serialized_hub_descriptor (usb_hub_descriptor_t *descriptor) |
create uint8_t array with serialized descriptor | |
void | usb_deserialize_hub_desriptor (void *serialized_descriptor, usb_hub_descriptor_t *descriptor) |
deserialize descriptor into given pointer | |
static int | usb_hub_clear_feature (usb_pipe_t *pipe, usb_hub_class_feature_t feature) |
Clear feature on hub port. | |
static int | usb_hub_clear_port_feature (usb_pipe_t *pipe, int port_index, usb_hub_class_feature_t feature) |
Clear feature on hub port. | |
static void | usb_hub_set_descriptor_request (usb_device_request_setup_packet_t *request) |
Set the device request to be a get hub descriptor request. | |
static int | usb_hub_set_feature (usb_pipe_t *pipe, usb_hub_class_feature_t feature) |
Clear feature on hub port. | |
static int | usb_hub_set_port_feature (usb_pipe_t *pipe, int port_index, usb_hub_class_feature_t feature) |
Clear feature on hub port. | |
void | usb_serialize_hub_descriptor (usb_hub_descriptor_t *descriptor, void *serialized_descriptor) |
serialize descriptor into given buffer |
Definition in file usbhub_private.h.