#include <sys/types.h>
#include <ipc/devman.h>
#include <ddf/driver.h>
#include <bool.h>
#include <usb/usb.h>
Go to the source code of this file.
Data Structures | |
| struct | usb_hc_connection_t | 
| Connection to the host controller driver.  More... | |
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.   | |
| int | usb_resolve_device_handle (const char *dev_path, devman_handle_t *out_hc_handle, usb_address_t *out_dev_addr, devman_handle_t *out_dev_handle) | 
| Resolve handle and address of USB device from its path.   | |
Definition in file hc.h.
 1.4.7