Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
usb_function Struct Reference

#include <composite.h>

Public Member Functions

 DECLARE_BITMAP (endpoints, 32)
 
 DECLARE_BITMAP (endpoints, 32)
 

Data Fields

const charname
 
struct usb_gadget_strings ** strings
 
struct usb_descriptor_header ** descriptors
 
struct usb_descriptor_header ** hs_descriptors
 
struct usb_descriptor_header ** ss_descriptors
 
struct usb_configurationconfig
 
int(* bind )(struct usb_configuration *, struct usb_function *)
 
void(* unbind )(struct usb_configuration *, struct usb_function *)
 
int(* set_alt )(struct usb_function *, unsigned interface, unsigned alt)
 
int(* get_alt )(struct usb_function *, unsigned interface)
 
void(* disable )(struct usb_function *)
 
int(* setup )(struct usb_function *, const struct usb_ctrlrequest *)
 
void(* suspend )(struct usb_function *)
 
void(* resume )(struct usb_function *)
 
int(* get_status )(struct usb_function *)
 
int(* func_suspend )(struct usb_function *, u8 suspend_opt)
 
struct list_head list
 

Detailed Description

Definition at line 112 of file composite.h.

Member Function Documentation

DECLARE_BITMAP ( endpoints  ,
32   
)
DECLARE_BITMAP ( endpoints  ,
32   
)

Field Documentation

Definition at line 128 of file composite.h.

Definition at line 119 of file composite.h.

struct usb_descriptor_header ** descriptors

Definition at line 115 of file composite.h.

void(* disable)(struct usb_function *)

Definition at line 138 of file composite.h.

int(* func_suspend)(struct usb_function *, u8 suspend_opt)

Definition at line 146 of file composite.h.

int(* get_alt)(struct usb_function *, unsigned interface)

Definition at line 136 of file composite.h.

int(* get_status)(struct usb_function *)

Definition at line 145 of file composite.h.

struct usb_descriptor_header ** hs_descriptors

Definition at line 116 of file composite.h.

Definition at line 150 of file composite.h.

const char * name

Definition at line 113 of file composite.h.

void(* resume)(struct usb_function *)

Definition at line 142 of file composite.h.

int(* set_alt)(struct usb_function *, unsigned interface, unsigned alt)

Definition at line 134 of file composite.h.

Definition at line 139 of file composite.h.

struct usb_descriptor_header ** ss_descriptors

Definition at line 117 of file composite.h.

Definition at line 114 of file composite.h.

void(* suspend)(struct usb_function *)

Definition at line 141 of file composite.h.

Definition at line 130 of file composite.h.


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