hc.c File Reference

General communication with host controller driver (implementation). More...

#include <devman.h>
#include <async.h>
#include <dev_iface.h>
#include <usb_iface.h>
#include <usbhc_iface.h>
#include <usb/hc.h>
#include <usb/debug.h>
#include <errno.h>
#include <assert.h>

Go to the source code of this file.

Functions

int usb_ddf_get_hc_handle_by_class (size_t class_index, devman_handle_t *hc_handle)
 Get host controller handle by its class index.
int usb_hc_connection_close (usb_hc_connection_t *connection)
 Close connection to the host controller.
int usb_hc_connection_initialize (usb_hc_connection_t *connection, devman_handle_t hc_handle)
 Manually initialize connection to USB host controller.
int usb_hc_connection_initialize_from_device (usb_hc_connection_t *connection, ddf_dev_t *device)
 Initialize connection to USB host controller.
bool usb_hc_connection_is_opened (const usb_hc_connection_t *connection)
 Tells whether connection to host controller is opened.
int usb_hc_connection_open (usb_hc_connection_t *connection)
 Open connection to host controller.
int usb_hc_find (devman_handle_t device_handle, devman_handle_t *hc_handle)
 Find host controller handle that is ancestor of given device.
int usb_hc_get_address_by_handle (devman_handle_t dev_handle)
 Tell USB address assigned to device with given handle.
int usb_hc_get_handle_by_address (usb_hc_connection_t *connection, usb_address_t address, devman_handle_t *handle)
 Get handle of USB device with given address.


Detailed Description

General communication with host controller driver (implementation).

Definition in file hc.c.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7