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

Go to the source code of this file.

Data Structures

struct  musb_request
struct  musb_ep


enum  buffer_map_state { UN_MAPPED = 0, PRE_MAPPED, MUSB_MAPPED }


struct usb_requestmusb_alloc_request (struct usb_ep *ep, gfp_t gfp_flags)
void musb_free_request (struct usb_ep *ep, struct usb_request *req)
void musb_g_tx (struct musb *musb, u8 epnum)
void musb_g_rx (struct musb *musb, u8 epnum)
int musb_gadget_setup (struct musb *)
void musb_gadget_cleanup (struct musb *)
void musb_g_giveback (struct musb_ep *, struct usb_request *, int)
void musb_ep_restart (struct musb *, struct musb_request *)


struct usb_ep_ops musb_g_ep0_ops

Enumeration Type Documentation


Definition at line 40 of file musb_gadget.h.

Function Documentation

struct usb_request* musb_alloc_request ( struct usb_ep ep,
gfp_t  gfp_flags 

Definition at line 1264 of file musb_gadget.c.

void musb_ep_restart ( struct musb ,
struct musb_request  

Definition at line 1304 of file musb_gadget.c.

void musb_free_request ( struct usb_ep ep,
struct usb_request req 

Definition at line 1287 of file musb_gadget.c.

void musb_g_giveback ( struct musb_ep ,
struct usb_request ,

Definition at line 178 of file musb_gadget.c.

void musb_g_rx ( struct musb musb,
u8  epnum 

Definition at line 908 of file musb_gadget.c.

void musb_g_tx ( struct musb musb,
u8  epnum 

Definition at line 492 of file musb_gadget.c.

void musb_gadget_cleanup ( struct musb )

Definition at line 1908 of file musb_gadget.c.

int musb_gadget_setup ( struct musb )

Definition at line 1865 of file musb_gadget.c.

Variable Documentation

struct usb_ep_ops musb_g_ep0_ops

Definition at line 1075 of file musb_gadget_ep0.c.