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

Go to the source code of this file.

Data Structures

struct  arizona_micd_config
 
struct  arizona_pdata
 

Macros

#define ARIZONA_GPN_DIR   0x8000 /* GPN_DIR */
 
#define ARIZONA_GPN_DIR_MASK   0x8000 /* GPN_DIR */
 
#define ARIZONA_GPN_DIR_SHIFT   15 /* GPN_DIR */
 
#define ARIZONA_GPN_DIR_WIDTH   1 /* GPN_DIR */
 
#define ARIZONA_GPN_PU   0x4000 /* GPN_PU */
 
#define ARIZONA_GPN_PU_MASK   0x4000 /* GPN_PU */
 
#define ARIZONA_GPN_PU_SHIFT   14 /* GPN_PU */
 
#define ARIZONA_GPN_PU_WIDTH   1 /* GPN_PU */
 
#define ARIZONA_GPN_PD   0x2000 /* GPN_PD */
 
#define ARIZONA_GPN_PD_MASK   0x2000 /* GPN_PD */
 
#define ARIZONA_GPN_PD_SHIFT   13 /* GPN_PD */
 
#define ARIZONA_GPN_PD_WIDTH   1 /* GPN_PD */
 
#define ARIZONA_GPN_LVL   0x0800 /* GPN_LVL */
 
#define ARIZONA_GPN_LVL_MASK   0x0800 /* GPN_LVL */
 
#define ARIZONA_GPN_LVL_SHIFT   11 /* GPN_LVL */
 
#define ARIZONA_GPN_LVL_WIDTH   1 /* GPN_LVL */
 
#define ARIZONA_GPN_POL   0x0400 /* GPN_POL */
 
#define ARIZONA_GPN_POL_MASK   0x0400 /* GPN_POL */
 
#define ARIZONA_GPN_POL_SHIFT   10 /* GPN_POL */
 
#define ARIZONA_GPN_POL_WIDTH   1 /* GPN_POL */
 
#define ARIZONA_GPN_OP_CFG   0x0200 /* GPN_OP_CFG */
 
#define ARIZONA_GPN_OP_CFG_MASK   0x0200 /* GPN_OP_CFG */
 
#define ARIZONA_GPN_OP_CFG_SHIFT   9 /* GPN_OP_CFG */
 
#define ARIZONA_GPN_OP_CFG_WIDTH   1 /* GPN_OP_CFG */
 
#define ARIZONA_GPN_DB   0x0100 /* GPN_DB */
 
#define ARIZONA_GPN_DB_MASK   0x0100 /* GPN_DB */
 
#define ARIZONA_GPN_DB_SHIFT   8 /* GPN_DB */
 
#define ARIZONA_GPN_DB_WIDTH   1 /* GPN_DB */
 
#define ARIZONA_GPN_FN_MASK   0x007F /* GPN_FN - [6:0] */
 
#define ARIZONA_GPN_FN_SHIFT   0 /* GPN_FN - [6:0] */
 
#define ARIZONA_GPN_FN_WIDTH   7 /* GPN_FN - [6:0] */
 
#define ARIZONA_MAX_GPIO   5
 
#define ARIZONA_32KZ_MCLK1   1
 
#define ARIZONA_32KZ_MCLK2   2
 
#define ARIZONA_32KZ_NONE   3
 
#define ARIZONA_MAX_INPUT   4
 
#define ARIZONA_DMIC_MICVDD   0
 
#define ARIZONA_DMIC_MICBIAS1   1
 
#define ARIZONA_DMIC_MICBIAS2   2
 
#define ARIZONA_DMIC_MICBIAS3   3
 
#define ARIZONA_INMODE_DIFF   0
 
#define ARIZONA_INMODE_SE   1
 
#define ARIZONA_INMODE_DMIC   2
 
#define ARIZONA_MAX_OUTPUT   6
 
#define ARIZONA_MAX_PDM_SPK   2
 

Macro Definition Documentation

#define ARIZONA_32KZ_MCLK1   1

Definition at line 48 of file pdata.h.

#define ARIZONA_32KZ_MCLK2   2

Definition at line 49 of file pdata.h.

#define ARIZONA_32KZ_NONE   3

Definition at line 50 of file pdata.h.

#define ARIZONA_DMIC_MICBIAS1   1

Definition at line 55 of file pdata.h.

#define ARIZONA_DMIC_MICBIAS2   2

Definition at line 56 of file pdata.h.

#define ARIZONA_DMIC_MICBIAS3   3

Definition at line 57 of file pdata.h.

#define ARIZONA_DMIC_MICVDD   0

Definition at line 54 of file pdata.h.

#define ARIZONA_GPN_DB   0x0100 /* GPN_DB */

Definition at line 38 of file pdata.h.

#define ARIZONA_GPN_DB_MASK   0x0100 /* GPN_DB */

Definition at line 39 of file pdata.h.

#define ARIZONA_GPN_DB_SHIFT   8 /* GPN_DB */

Definition at line 40 of file pdata.h.

#define ARIZONA_GPN_DB_WIDTH   1 /* GPN_DB */

Definition at line 41 of file pdata.h.

#define ARIZONA_GPN_DIR   0x8000 /* GPN_DIR */

Definition at line 14 of file pdata.h.

#define ARIZONA_GPN_DIR_MASK   0x8000 /* GPN_DIR */

Definition at line 15 of file pdata.h.

#define ARIZONA_GPN_DIR_SHIFT   15 /* GPN_DIR */

Definition at line 16 of file pdata.h.

#define ARIZONA_GPN_DIR_WIDTH   1 /* GPN_DIR */

Definition at line 17 of file pdata.h.

#define ARIZONA_GPN_FN_MASK   0x007F /* GPN_FN - [6:0] */

Definition at line 42 of file pdata.h.

#define ARIZONA_GPN_FN_SHIFT   0 /* GPN_FN - [6:0] */

Definition at line 43 of file pdata.h.

#define ARIZONA_GPN_FN_WIDTH   7 /* GPN_FN - [6:0] */

Definition at line 44 of file pdata.h.

#define ARIZONA_GPN_LVL   0x0800 /* GPN_LVL */

Definition at line 26 of file pdata.h.

#define ARIZONA_GPN_LVL_MASK   0x0800 /* GPN_LVL */

Definition at line 27 of file pdata.h.

#define ARIZONA_GPN_LVL_SHIFT   11 /* GPN_LVL */

Definition at line 28 of file pdata.h.

#define ARIZONA_GPN_LVL_WIDTH   1 /* GPN_LVL */

Definition at line 29 of file pdata.h.

#define ARIZONA_GPN_OP_CFG   0x0200 /* GPN_OP_CFG */

Definition at line 34 of file pdata.h.

#define ARIZONA_GPN_OP_CFG_MASK   0x0200 /* GPN_OP_CFG */

Definition at line 35 of file pdata.h.

#define ARIZONA_GPN_OP_CFG_SHIFT   9 /* GPN_OP_CFG */

Definition at line 36 of file pdata.h.

#define ARIZONA_GPN_OP_CFG_WIDTH   1 /* GPN_OP_CFG */

Definition at line 37 of file pdata.h.

#define ARIZONA_GPN_PD   0x2000 /* GPN_PD */

Definition at line 22 of file pdata.h.

#define ARIZONA_GPN_PD_MASK   0x2000 /* GPN_PD */

Definition at line 23 of file pdata.h.

#define ARIZONA_GPN_PD_SHIFT   13 /* GPN_PD */

Definition at line 24 of file pdata.h.

#define ARIZONA_GPN_PD_WIDTH   1 /* GPN_PD */

Definition at line 25 of file pdata.h.

#define ARIZONA_GPN_POL   0x0400 /* GPN_POL */

Definition at line 30 of file pdata.h.

#define ARIZONA_GPN_POL_MASK   0x0400 /* GPN_POL */

Definition at line 31 of file pdata.h.

#define ARIZONA_GPN_POL_SHIFT   10 /* GPN_POL */

Definition at line 32 of file pdata.h.

#define ARIZONA_GPN_POL_WIDTH   1 /* GPN_POL */

Definition at line 33 of file pdata.h.

#define ARIZONA_GPN_PU   0x4000 /* GPN_PU */

Definition at line 18 of file pdata.h.

#define ARIZONA_GPN_PU_MASK   0x4000 /* GPN_PU */

Definition at line 19 of file pdata.h.

#define ARIZONA_GPN_PU_SHIFT   14 /* GPN_PU */

Definition at line 20 of file pdata.h.

#define ARIZONA_GPN_PU_WIDTH   1 /* GPN_PU */

Definition at line 21 of file pdata.h.

#define ARIZONA_INMODE_DIFF   0

Definition at line 59 of file pdata.h.

#define ARIZONA_INMODE_DMIC   2

Definition at line 61 of file pdata.h.

#define ARIZONA_INMODE_SE   1

Definition at line 60 of file pdata.h.

#define ARIZONA_MAX_GPIO   5

Definition at line 46 of file pdata.h.

#define ARIZONA_MAX_INPUT   4

Definition at line 52 of file pdata.h.

#define ARIZONA_MAX_OUTPUT   6

Definition at line 63 of file pdata.h.

#define ARIZONA_MAX_PDM_SPK   2

Definition at line 65 of file pdata.h.