#include <usb/usb.h>
#include <usb/dev/pipes.h>
#include <usb/debug.h>
#include <usb/hc.h>
#include <usbhc_iface.h>
#include <usb_iface.h>
#include <devman.h>
#include <errno.h>
#include <assert.h>
#include "pipepriv.h"
Go to the source code of this file.
Defines | |
#define | IPC_AGAIN_DELAY (1000 * 2) |
Functions | |
static usb_address_t | get_my_address (int phone, ddf_dev_t *dev) |
Tell USB address assigned to given device. | |
int | usb_device_connection_initialize (usb_device_connection_t *connection, devman_handle_t host_controller_handle, usb_address_t device_address) |
Initialize connection to USB device. | |
int | usb_device_connection_initialize_from_device (usb_device_connection_t *connection, ddf_dev_t *dev) |
Initialize connection to USB device. | |
int | usb_device_connection_initialize_on_default_address (usb_device_connection_t *dev_connection, usb_hc_connection_t *hc_connection) |
Initialize connection to USB device on default address. | |
int | usb_device_get_assigned_interface (ddf_dev_t *device) |
Tell USB interface assigned to given device. | |
void | usb_pipe_end_long_transfer (usb_pipe_t *pipe) |
Terminate a long transfer on a pipe. | |
void | usb_pipe_start_long_transfer (usb_pipe_t *pipe) |
Prepare pipe for a long transfer. |
Definition in file pipes.c.