remote_usbhc.c File Reference

#include <async.h>
#include <errno.h>
#include <assert.h>
#include "usbhc_iface.h"
#include "ddf/driver.h"

Go to the source code of this file.

Data Structures

struct  async_transaction_t

Defines

#define HACK_MAX_PACKET_SIZE   8
#define HACK_MAX_PACKET_SIZE_INTERRUPT_IN   4
#define USB_MAX_PAYLOAD_SIZE   1020

Functions

static async_transaction_tasync_transaction_create (ipc_callid_t caller)
static void async_transaction_destroy (async_transaction_t *trans)
static void callback_in (ddf_fun_t *fun, int outcome, size_t actual_size, void *arg)
static void callback_out (ddf_fun_t *fun, int outcome, void *arg)
static void remote_usbhc_bind_address (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_bulk_in (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_bulk_out (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_control_read (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_control_write (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_find_by_address (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_in_transfer (ddf_fun_t *fun, ipc_callid_t callid, ipc_call_t *call, usbhc_iface_transfer_in_t transfer_func)
 Process an incoming transfer.
static void remote_usbhc_interrupt_in (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_interrupt_out (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_out_transfer (ddf_fun_t *fun, ipc_callid_t callid, ipc_call_t *call, usbhc_iface_transfer_out_t transfer_func)
 Process an outgoing transfer (both OUT and SETUP).
static void remote_usbhc_register_endpoint (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_release_address (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_request_address (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)
static void remote_usbhc_unregister_endpoint (ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *)

Variables

remote_iface_t remote_usbhc_iface
 Remote USB host controller interface structure.
static remote_iface_func_ptr_t remote_usbhc_iface_ops []
 Remote USB host controller interface operations.


Detailed Description

Definition in file remote_usbhc.c.


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