#include <adt/list.h>
#include <usbhc_iface.h>
#include <usb/usb.h>
#include <usb/host/endpoint.h>
Go to the source code of this file.
Data Structures | |
struct | usb_transfer_batch |
Typedefs | |
typedef usb_transfer_batch | usb_transfer_batch_t |
Functions | |
void | usb_transfer_batch_call_in_and_dispose (usb_transfer_batch_t *instance) |
Helper function, calls callback and correctly destroys batch structure. | |
void | usb_transfer_batch_call_out_and_dispose (usb_transfer_batch_t *instance) |
Helper function calls callback and correctly destroys batch structure. | |
void | usb_transfer_batch_dispose (usb_transfer_batch_t *instance) |
Correctly dispose all used data structures. | |
void | usb_transfer_batch_finish (usb_transfer_batch_t *instance) |
Mark batch as finished and continue with next step. | |
static void | usb_transfer_batch_finish_error (usb_transfer_batch_t *instance, int error) |
static usb_transfer_batch_t * | usb_transfer_batch_from_link (link_t *l) |
void | usb_transfer_batch_init (usb_transfer_batch_t *instance, endpoint_t *ep, char *buffer, char *data_buffer, size_t buffer_size, char *setup_buffer, size_t setup_size, usbhc_iface_transfer_in_callback_t func_in, usbhc_iface_transfer_out_callback_t func_out, void *arg, ddf_fun_t *fun, void *private_data, void(*private_data_dtor)(void *p_data)) |
Definition in file batch.h.