Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
usb_ep_ops Struct Reference

#include <gadget.h>

Data Fields

int(* enable )(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc)
 
int(* disable )(struct usb_ep *ep)
 
struct usb_request *(* alloc_request )(struct usb_ep *ep, gfp_t gfp_flags)
 
void(* free_request )(struct usb_ep *ep, struct usb_request *req)
 
int(* queue )(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags)
 
int(* dequeue )(struct usb_ep *ep, struct usb_request *req)
 
int(* set_halt )(struct usb_ep *ep, int value)
 
int(* set_wedge )(struct usb_ep *ep)
 
int(* fifo_status )(struct usb_ep *ep)
 
void(* fifo_flush )(struct usb_ep *ep)
 

Detailed Description

Definition at line 122 of file gadget.h.

Field Documentation

struct usb_request*(* alloc_request)(struct usb_ep *ep, gfp_t gfp_flags)
read

Definition at line 127 of file gadget.h.

int(* dequeue)(struct usb_ep *ep, struct usb_request *req)

Definition at line 133 of file gadget.h.

int(* disable)(struct usb_ep *ep)

Definition at line 125 of file gadget.h.

Definition at line 123 of file gadget.h.

void(* fifo_flush)(struct usb_ep *ep)

Definition at line 139 of file gadget.h.

int(* fifo_status)(struct usb_ep *ep)

Definition at line 138 of file gadget.h.

void(* free_request)(struct usb_ep *ep, struct usb_request *req)

Definition at line 129 of file gadget.h.

int(* queue)(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags)

Definition at line 131 of file gadget.h.

int(* set_halt)(struct usb_ep *ep, int value)

Definition at line 135 of file gadget.h.

int(* set_wedge)(struct usb_ep *ep)

Definition at line 136 of file gadget.h.


The documentation for this struct was generated from the following file: