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

#include <otg.h>

Data Fields

u8 default_a
 
struct usb_phyphy
 
struct usb_bus * host
 
struct usb_gadgetgadget
 
int(* set_host )(struct usb_otg *otg, struct usb_bus *host)
 
int(* set_peripheral )(struct usb_otg *otg, struct usb_gadget *gadget)
 
int(* set_vbus )(struct usb_otg *otg, bool enabled)
 
int(* start_srp )(struct usb_otg *otg)
 
int(* start_hnp )(struct usb_otg *otg)
 

Detailed Description

Definition at line 14 of file otg.h.

Field Documentation

u8 default_a

Definition at line 15 of file otg.h.

struct usb_gadget* gadget

Definition at line 19 of file otg.h.

struct usb_bus* host

Definition at line 18 of file otg.h.

Definition at line 17 of file otg.h.

int(* set_host)(struct usb_otg *otg, struct usb_bus *host)

Definition at line 22 of file otg.h.

int(* set_peripheral)(struct usb_otg *otg, struct usb_gadget *gadget)

Definition at line 25 of file otg.h.

int(* set_vbus)(struct usb_otg *otg, bool enabled)

Definition at line 29 of file otg.h.

int(* start_hnp)(struct usb_otg *otg)

Definition at line 35 of file otg.h.

int(* start_srp)(struct usb_otg *otg)

Definition at line 32 of file otg.h.


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