Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
usb-ohci-pxa27x.h File Reference

Go to the source code of this file.

Data Structures

struct  pxaohci_platform_data
 

Macros

#define ENABLE_PORT1   (1 << 0)
 
#define ENABLE_PORT2   (1 << 1)
 
#define ENABLE_PORT3   (1 << 2)
 
#define ENABLE_PORT_ALL   (ENABLE_PORT1 | ENABLE_PORT2 | ENABLE_PORT3)
 
#define POWER_SENSE_LOW   (1 << 3)
 
#define POWER_CONTROL_LOW   (1 << 4)
 
#define NO_OC_PROTECTION   (1 << 5)
 
#define OC_MODE_GLOBAL   (0 << 6)
 
#define OC_MODE_PERPORT   (1 << 6)
 
#define PMM_NPS_MODE   1
 
#define PMM_GLOBAL_MODE   2
 
#define PMM_PERPORT_MODE   3
 

Functions

void pxa_set_ohci_info (struct pxaohci_platform_data *info)
 

Macro Definition Documentation

#define ENABLE_PORT1   (1 << 0)

Definition at line 11 of file usb-ohci-pxa27x.h.

#define ENABLE_PORT2   (1 << 1)

Definition at line 12 of file usb-ohci-pxa27x.h.

#define ENABLE_PORT3   (1 << 2)

Definition at line 13 of file usb-ohci-pxa27x.h.

#define ENABLE_PORT_ALL   (ENABLE_PORT1 | ENABLE_PORT2 | ENABLE_PORT3)

Definition at line 14 of file usb-ohci-pxa27x.h.

#define NO_OC_PROTECTION   (1 << 5)

Definition at line 18 of file usb-ohci-pxa27x.h.

#define OC_MODE_GLOBAL   (0 << 6)

Definition at line 19 of file usb-ohci-pxa27x.h.

#define OC_MODE_PERPORT   (1 << 6)

Definition at line 20 of file usb-ohci-pxa27x.h.

#define PMM_GLOBAL_MODE   2

Definition at line 28 of file usb-ohci-pxa27x.h.

#define PMM_NPS_MODE   1

Definition at line 27 of file usb-ohci-pxa27x.h.

#define PMM_PERPORT_MODE   3

Definition at line 29 of file usb-ohci-pxa27x.h.

#define POWER_CONTROL_LOW   (1 << 4)

Definition at line 17 of file usb-ohci-pxa27x.h.

#define POWER_SENSE_LOW   (1 << 3)

Definition at line 16 of file usb-ohci-pxa27x.h.

Function Documentation

void pxa_set_ohci_info ( struct pxaohci_platform_data info)