Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
g_zero.h File Reference
#include <linux/usb/composite.h>

Go to the source code of this file.

Functions

struct usb_requestalloc_ep_req (struct usb_ep *ep, int len)
 
void free_ep_req (struct usb_ep *ep, struct usb_request *req)
 
void disable_endpoints (struct usb_composite_dev *cdev, struct usb_ep *in, struct usb_ep *out, struct usb_ep *iso_in, struct usb_ep *iso_out)
 
int sourcesink_add (struct usb_composite_dev *cdev, bool autoresume)
 
int loopback_add (struct usb_composite_dev *cdev, bool autoresume)
 

Variables

unsigned buflen
 
struct usb_descriptor_headerotg_desc []
 

Function Documentation

struct usb_request* alloc_ep_req ( struct usb_ep ep,
int  len 
)
read

Definition at line 161 of file zero.c.

void disable_endpoints ( struct usb_composite_dev cdev,
struct usb_ep in,
struct usb_ep out,
struct usb_ep iso_in,
struct usb_ep iso_out 
)

Definition at line 199 of file zero.c.

void free_ep_req ( struct usb_ep ep,
struct usb_request req 
)

Definition at line 180 of file zero.c.

int loopback_add ( struct usb_composite_dev cdev,
bool  autoresume 
)

loopback_add - add a loopback testing configuration to a device : the device to support the loopback configuration

Definition at line 406 of file f_loopback.c.

int sourcesink_add ( struct usb_composite_dev cdev,
bool  autoresume 
)

sourcesink_add - add a source/sink testing configuration to a device : the device to support the configuration

Definition at line 873 of file f_sourcesink.c.

Variable Documentation

unsigned buflen

Definition at line 308 of file file_storage.c.