device_keeper.c File Reference

Device keeper structure and functions (implementation). More...

#include <assert.h>
#include <errno.h>
#include <usb/debug.h>
#include <usb/host/device_keeper.h>

Go to the source code of this file.

Functions

usb_address_t device_keeper_get_free_address (usb_device_keeper_t *instance, usb_speed_t speed)
 Get a free USB address.
void usb_device_keeper_bind (usb_device_keeper_t *instance, usb_address_t address, devman_handle_t handle)
 Bind USB address to devman handle.
usb_address_t usb_device_keeper_find (usb_device_keeper_t *instance, devman_handle_t handle)
 Find USB address associated with the device.
bool usb_device_keeper_find_by_address (usb_device_keeper_t *instance, usb_address_t address, devman_handle_t *handle)
 Find devman handle assigned to USB address.
usb_speed_t usb_device_keeper_get_speed (usb_device_keeper_t *instance, usb_address_t address)
 Get speed associated with the address.
void usb_device_keeper_init (usb_device_keeper_t *instance)
 Initialize device keeper structure.
void usb_device_keeper_release (usb_device_keeper_t *instance, usb_address_t address)
 Release used USB address.


Detailed Description

Device keeper structure and functions (implementation).

Definition in file device_keeper.c.


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