#include <stdint.h>
#include <fibril.h>
#include <ddf/driver.h>
#include <usb/hc.h>
Go to the source code of this file.
Data Structures | |
struct | uhci_port |
UHCI port structure. More... | |
Defines | |
#define | STATUS_ALWAYS_ONE (1 << 7) |
#define | STATUS_CONNECTED (1 << 0) |
#define | STATUS_CONNECTED_CHANGED (1 << 1) |
#define | STATUS_ENABLED (1 << 2) |
#define | STATUS_ENABLED_CHANGED (1 << 3) |
#define | STATUS_IN_RESET (1 << 9) |
#define | STATUS_LINE_D_MINUS (1 << 5) |
#define | STATUS_LINE_D_PLUS (1 << 4) |
#define | STATUS_LOW_SPEED (1 << 8) |
#define | STATUS_RESUME (1 << 6) |
#define | STATUS_SUSPEND (1 << 12) |
Typedefs | |
typedef uint16_t | port_status_t |
typedef uhci_port | uhci_port_t |
UHCI port structure. | |
Functions | |
void | uhci_port_fini (uhci_port_t *port) |
Cleanup UHCI root hub port instance. | |
int | uhci_port_init (uhci_port_t *port, port_status_t *address, unsigned number, unsigned usec, ddf_dev_t *rh) |
Initialize UHCI root hub port instance. |
Definition in file port.h.