Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
intel_mid_otg.h File Reference
#include <linux/pm.h>
#include <linux/usb/otg.h>
#include <linux/notifier.h>

Go to the source code of this file.

Data Structures

struct  otg_hsm
 
struct  iotg_ulpi_access_ops
 
struct  intel_mid_otg_xceiv
 

Macros

#define ID_B   0x05
 
#define ID_A   0x04
 
#define ID_ACA_C   0x03
 
#define ID_ACA_B   0x02
 
#define ID_ACA_A   0x01
 
#define OTG_A_DEVICE   0x0
 
#define OTG_B_DEVICE   0x1
 
#define MID_OTG_NOTIFY_CONNECT   0x0001
 
#define MID_OTG_NOTIFY_DISCONN   0x0002
 
#define MID_OTG_NOTIFY_HSUSPEND   0x0003
 
#define MID_OTG_NOTIFY_HRESUME   0x0004
 
#define MID_OTG_NOTIFY_CSUSPEND   0x0005
 
#define MID_OTG_NOTIFY_CRESUME   0x0006
 
#define MID_OTG_NOTIFY_HOSTADD   0x0007
 
#define MID_OTG_NOTIFY_HOSTREMOVE   0x0008
 
#define MID_OTG_NOTIFY_CLIENTADD   0x0009
 
#define MID_OTG_NOTIFY_CLIENTREMOVE   0x000a
 

Macro Definition Documentation

#define ID_A   0x04

Definition at line 49 of file intel_mid_otg.h.

#define ID_ACA_A   0x01

Definition at line 52 of file intel_mid_otg.h.

#define ID_ACA_B   0x02

Definition at line 51 of file intel_mid_otg.h.

#define ID_ACA_C   0x03

Definition at line 50 of file intel_mid_otg.h.

#define ID_B   0x05

Definition at line 48 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_CLIENTADD   0x0009

Definition at line 163 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_CLIENTREMOVE   0x000a

Definition at line 164 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_CONNECT   0x0001

Definition at line 155 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_CRESUME   0x0006

Definition at line 160 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_CSUSPEND   0x0005

Definition at line 159 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_DISCONN   0x0002

Definition at line 156 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_HOSTADD   0x0007

Definition at line 161 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_HOSTREMOVE   0x0008

Definition at line 162 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_HRESUME   0x0004

Definition at line 158 of file intel_mid_otg.h.

#define MID_OTG_NOTIFY_HSUSPEND   0x0003

Definition at line 157 of file intel_mid_otg.h.

#define OTG_A_DEVICE   0x0

Definition at line 101 of file intel_mid_otg.h.

#define OTG_B_DEVICE   0x1

Definition at line 102 of file intel_mid_otg.h.