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

#include <gadget.h>

Data Fields

int(* get_frame )(struct usb_gadget *)
 
int(* wakeup )(struct usb_gadget *)
 
int(* set_selfpowered )(struct usb_gadget *, int is_selfpowered)
 
int(* vbus_session )(struct usb_gadget *, int is_active)
 
int(* vbus_draw )(struct usb_gadget *, unsigned mA)
 
int(* pullup )(struct usb_gadget *, int is_on)
 
int(* ioctl )(struct usb_gadget *, unsigned code, unsigned long param)
 
void(* get_config_params )(struct usb_dcd_config_params *)
 
int(* udc_start )(struct usb_gadget *, struct usb_gadget_driver *)
 
int(* udc_stop )(struct usb_gadget *, struct usb_gadget_driver *)
 
int(* start )(struct usb_gadget_driver *, int(*bind)(struct usb_gadget *, struct usb_gadget_driver *driver))
 
int(* stop )(struct usb_gadget_driver *)
 

Detailed Description

Definition at line 460 of file gadget.h.

Field Documentation

void(* get_config_params)(struct usb_dcd_config_params *)

Definition at line 469 of file gadget.h.

int(* get_frame)(struct usb_gadget *)

Definition at line 461 of file gadget.h.

int(* ioctl)(struct usb_gadget *, unsigned code, unsigned long param)

Definition at line 467 of file gadget.h.

int(* pullup)(struct usb_gadget *, int is_on)

Definition at line 466 of file gadget.h.

int(* set_selfpowered)(struct usb_gadget *, int is_selfpowered)

Definition at line 463 of file gadget.h.

Definition at line 476 of file gadget.h.

Definition at line 479 of file gadget.h.

Definition at line 470 of file gadget.h.

Definition at line 472 of file gadget.h.

int(* vbus_draw)(struct usb_gadget *, unsigned mA)

Definition at line 465 of file gadget.h.

int(* vbus_session)(struct usb_gadget *, int is_active)

Definition at line 464 of file gadget.h.

int(* wakeup)(struct usb_gadget *)

Definition at line 462 of file gadget.h.


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