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

Go to the source code of this file.

Data Structures

struct  wm831x_backlight_pdata
 
struct  wm831x_backup_pdata
 
struct  wm831x_battery_pdata
 
struct  wm831x_buckv_pdata
 
struct  wm831x_status_pdata
 
struct  wm831x_touch_pdata
 
struct  wm831x_watchdog_pdata
 
struct  wm831x_pdata
 

Macros

#define WM831X_MAX_STATUS   2
 
#define WM831X_MAX_DCDC   4
 
#define WM831X_MAX_EPE   2
 
#define WM831X_MAX_LDO   11
 
#define WM831X_MAX_ISINK   2
 
#define WM831X_GPIO_CONFIGURE   0x10000
 
#define WM831X_GPIO_NUM   16
 

Enumerations

enum  wm831x_status_src {
  WM831X_STATUS_PRESERVE = 0, WM831X_STATUS_OTP = 1, WM831X_STATUS_POWER = 2, WM831X_STATUS_CHARGER = 3,
  WM831X_STATUS_MANUAL = 4
}
 
enum  wm831x_watchdog_action { WM831X_WDOG_NONE = 0, WM831X_WDOG_INTERRUPT = 1, WM831X_WDOG_RESET = 2, WM831X_WDOG_WAKE = 3 }
 

Macro Definition Documentation

#define WM831X_GPIO_CONFIGURE   0x10000

Definition at line 108 of file pdata.h.

#define WM831X_GPIO_NUM   16

Definition at line 109 of file pdata.h.

#define WM831X_MAX_DCDC   4

Definition at line 103 of file pdata.h.

#define WM831X_MAX_EPE   2

Definition at line 104 of file pdata.h.

#define WM831X_MAX_ISINK   2

Definition at line 106 of file pdata.h.

#define WM831X_MAX_LDO   11

Definition at line 105 of file pdata.h.

#define WM831X_MAX_STATUS   2

Definition at line 102 of file pdata.h.

Enumeration Type Documentation

Enumerator:
WM831X_STATUS_PRESERVE 
WM831X_STATUS_OTP 
WM831X_STATUS_POWER 
WM831X_STATUS_CHARGER 
WM831X_STATUS_MANUAL 

Definition at line 64 of file pdata.h.

Enumerator:
WM831X_WDOG_NONE 
WM831X_WDOG_INTERRUPT 
WM831X_WDOG_RESET 
WM831X_WDOG_WAKE 

Definition at line 89 of file pdata.h.