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

Go to the source code of this file.

Macros

#define WM831X_CHIP_ON   0x8000 /* CHIP_ON */
 
#define WM831X_CHIP_ON_MASK   0x8000 /* CHIP_ON */
 
#define WM831X_CHIP_ON_SHIFT   15 /* CHIP_ON */
 
#define WM831X_CHIP_ON_WIDTH   1 /* CHIP_ON */
 
#define WM831X_CHIP_SLP   0x4000 /* CHIP_SLP */
 
#define WM831X_CHIP_SLP_MASK   0x4000 /* CHIP_SLP */
 
#define WM831X_CHIP_SLP_SHIFT   14 /* CHIP_SLP */
 
#define WM831X_CHIP_SLP_WIDTH   1 /* CHIP_SLP */
 
#define WM831X_REF_LP   0x1000 /* REF_LP */
 
#define WM831X_REF_LP_MASK   0x1000 /* REF_LP */
 
#define WM831X_REF_LP_SHIFT   12 /* REF_LP */
 
#define WM831X_REF_LP_WIDTH   1 /* REF_LP */
 
#define WM831X_PWRSTATE_DLY_MASK   0x0C00 /* PWRSTATE_DLY - [11:10] */
 
#define WM831X_PWRSTATE_DLY_SHIFT   10 /* PWRSTATE_DLY - [11:10] */
 
#define WM831X_PWRSTATE_DLY_WIDTH   2 /* PWRSTATE_DLY - [11:10] */
 
#define WM831X_SWRST_DLY   0x0200 /* SWRST_DLY */
 
#define WM831X_SWRST_DLY_MASK   0x0200 /* SWRST_DLY */
 
#define WM831X_SWRST_DLY_SHIFT   9 /* SWRST_DLY */
 
#define WM831X_SWRST_DLY_WIDTH   1 /* SWRST_DLY */
 
#define WM831X_USB100MA_STARTUP_MASK   0x0030 /* USB100MA_STARTUP - [5:4] */
 
#define WM831X_USB100MA_STARTUP_SHIFT   4 /* USB100MA_STARTUP - [5:4] */
 
#define WM831X_USB100MA_STARTUP_WIDTH   2 /* USB100MA_STARTUP - [5:4] */
 
#define WM831X_USB_CURR_STS   0x0008 /* USB_CURR_STS */
 
#define WM831X_USB_CURR_STS_MASK   0x0008 /* USB_CURR_STS */
 
#define WM831X_USB_CURR_STS_SHIFT   3 /* USB_CURR_STS */
 
#define WM831X_USB_CURR_STS_WIDTH   1 /* USB_CURR_STS */
 
#define WM831X_USB_ILIM_MASK   0x0007 /* USB_ILIM - [2:0] */
 
#define WM831X_USB_ILIM_SHIFT   0 /* USB_ILIM - [2:0] */
 
#define WM831X_USB_ILIM_WIDTH   3 /* USB_ILIM - [2:0] */
 
#define WM831X_THW_STS   0x8000 /* THW_STS */
 
#define WM831X_THW_STS_MASK   0x8000 /* THW_STS */
 
#define WM831X_THW_STS_SHIFT   15 /* THW_STS */
 
#define WM831X_THW_STS_WIDTH   1 /* THW_STS */
 
#define WM831X_PWR_SRC_BATT   0x0400 /* PWR_SRC_BATT */
 
#define WM831X_PWR_SRC_BATT_MASK   0x0400 /* PWR_SRC_BATT */
 
#define WM831X_PWR_SRC_BATT_SHIFT   10 /* PWR_SRC_BATT */
 
#define WM831X_PWR_SRC_BATT_WIDTH   1 /* PWR_SRC_BATT */
 
#define WM831X_PWR_WALL   0x0200 /* PWR_WALL */
 
#define WM831X_PWR_WALL_MASK   0x0200 /* PWR_WALL */
 
#define WM831X_PWR_WALL_SHIFT   9 /* PWR_WALL */
 
#define WM831X_PWR_WALL_WIDTH   1 /* PWR_WALL */
 
#define WM831X_PWR_USB   0x0100 /* PWR_USB */
 
#define WM831X_PWR_USB_MASK   0x0100 /* PWR_USB */
 
#define WM831X_PWR_USB_SHIFT   8 /* PWR_USB */
 
#define WM831X_PWR_USB_WIDTH   1 /* PWR_USB */
 
#define WM831X_MAIN_STATE_MASK   0x001F /* MAIN_STATE - [4:0] */
 
#define WM831X_MAIN_STATE_SHIFT   0 /* MAIN_STATE - [4:0] */
 
#define WM831X_MAIN_STATE_WIDTH   5 /* MAIN_STATE - [4:0] */
 
#define WM831X_CHG_ENA   0x8000 /* CHG_ENA */
 
#define WM831X_CHG_ENA_MASK   0x8000 /* CHG_ENA */
 
#define WM831X_CHG_ENA_SHIFT   15 /* CHG_ENA */
 
#define WM831X_CHG_ENA_WIDTH   1 /* CHG_ENA */
 
#define WM831X_CHG_FRC   0x4000 /* CHG_FRC */
 
#define WM831X_CHG_FRC_MASK   0x4000 /* CHG_FRC */
 
#define WM831X_CHG_FRC_SHIFT   14 /* CHG_FRC */
 
#define WM831X_CHG_FRC_WIDTH   1 /* CHG_FRC */
 
#define WM831X_CHG_ITERM_MASK   0x1C00 /* CHG_ITERM - [12:10] */
 
#define WM831X_CHG_ITERM_SHIFT   10 /* CHG_ITERM - [12:10] */
 
#define WM831X_CHG_ITERM_WIDTH   3 /* CHG_ITERM - [12:10] */
 
#define WM831X_CHG_FAST   0x0020 /* CHG_FAST */
 
#define WM831X_CHG_FAST_MASK   0x0020 /* CHG_FAST */
 
#define WM831X_CHG_FAST_SHIFT   5 /* CHG_FAST */
 
#define WM831X_CHG_FAST_WIDTH   1 /* CHG_FAST */
 
#define WM831X_CHG_IMON_ENA   0x0002 /* CHG_IMON_ENA */
 
#define WM831X_CHG_IMON_ENA_MASK   0x0002 /* CHG_IMON_ENA */
 
#define WM831X_CHG_IMON_ENA_SHIFT   1 /* CHG_IMON_ENA */
 
#define WM831X_CHG_IMON_ENA_WIDTH   1 /* CHG_IMON_ENA */
 
#define WM831X_CHG_CHIP_TEMP_MON   0x0001 /* CHG_CHIP_TEMP_MON */
 
#define WM831X_CHG_CHIP_TEMP_MON_MASK   0x0001 /* CHG_CHIP_TEMP_MON */
 
#define WM831X_CHG_CHIP_TEMP_MON_SHIFT   0 /* CHG_CHIP_TEMP_MON */
 
#define WM831X_CHG_CHIP_TEMP_MON_WIDTH   1 /* CHG_CHIP_TEMP_MON */
 
#define WM831X_CHG_OFF_MSK   0x4000 /* CHG_OFF_MSK */
 
#define WM831X_CHG_OFF_MSK_MASK   0x4000 /* CHG_OFF_MSK */
 
#define WM831X_CHG_OFF_MSK_SHIFT   14 /* CHG_OFF_MSK */
 
#define WM831X_CHG_OFF_MSK_WIDTH   1 /* CHG_OFF_MSK */
 
#define WM831X_CHG_TIME_MASK   0x0F00 /* CHG_TIME - [11:8] */
 
#define WM831X_CHG_TIME_SHIFT   8 /* CHG_TIME - [11:8] */
 
#define WM831X_CHG_TIME_WIDTH   4 /* CHG_TIME - [11:8] */
 
#define WM831X_CHG_TRKL_ILIM_MASK   0x00C0 /* CHG_TRKL_ILIM - [7:6] */
 
#define WM831X_CHG_TRKL_ILIM_SHIFT   6 /* CHG_TRKL_ILIM - [7:6] */
 
#define WM831X_CHG_TRKL_ILIM_WIDTH   2 /* CHG_TRKL_ILIM - [7:6] */
 
#define WM831X_CHG_VSEL_MASK   0x0030 /* CHG_VSEL - [5:4] */
 
#define WM831X_CHG_VSEL_SHIFT   4 /* CHG_VSEL - [5:4] */
 
#define WM831X_CHG_VSEL_WIDTH   2 /* CHG_VSEL - [5:4] */
 
#define WM831X_CHG_FAST_ILIM_MASK   0x000F /* CHG_FAST_ILIM - [3:0] */
 
#define WM831X_CHG_FAST_ILIM_SHIFT   0 /* CHG_FAST_ILIM - [3:0] */
 
#define WM831X_CHG_FAST_ILIM_WIDTH   4 /* CHG_FAST_ILIM - [3:0] */
 
#define WM831X_BATT_OV_STS   0x8000 /* BATT_OV_STS */
 
#define WM831X_BATT_OV_STS_MASK   0x8000 /* BATT_OV_STS */
 
#define WM831X_BATT_OV_STS_SHIFT   15 /* BATT_OV_STS */
 
#define WM831X_BATT_OV_STS_WIDTH   1 /* BATT_OV_STS */
 
#define WM831X_CHG_STATE_MASK   0x7000 /* CHG_STATE - [14:12] */
 
#define WM831X_CHG_STATE_SHIFT   12 /* CHG_STATE - [14:12] */
 
#define WM831X_CHG_STATE_WIDTH   3 /* CHG_STATE - [14:12] */
 
#define WM831X_BATT_HOT_STS   0x0800 /* BATT_HOT_STS */
 
#define WM831X_BATT_HOT_STS_MASK   0x0800 /* BATT_HOT_STS */
 
#define WM831X_BATT_HOT_STS_SHIFT   11 /* BATT_HOT_STS */
 
#define WM831X_BATT_HOT_STS_WIDTH   1 /* BATT_HOT_STS */
 
#define WM831X_BATT_COLD_STS   0x0400 /* BATT_COLD_STS */
 
#define WM831X_BATT_COLD_STS_MASK   0x0400 /* BATT_COLD_STS */
 
#define WM831X_BATT_COLD_STS_SHIFT   10 /* BATT_COLD_STS */
 
#define WM831X_BATT_COLD_STS_WIDTH   1 /* BATT_COLD_STS */
 
#define WM831X_CHG_TOPOFF   0x0200 /* CHG_TOPOFF */
 
#define WM831X_CHG_TOPOFF_MASK   0x0200 /* CHG_TOPOFF */
 
#define WM831X_CHG_TOPOFF_SHIFT   9 /* CHG_TOPOFF */
 
#define WM831X_CHG_TOPOFF_WIDTH   1 /* CHG_TOPOFF */
 
#define WM831X_CHG_ACTIVE   0x0100 /* CHG_ACTIVE */
 
#define WM831X_CHG_ACTIVE_MASK   0x0100 /* CHG_ACTIVE */
 
#define WM831X_CHG_ACTIVE_SHIFT   8 /* CHG_ACTIVE */
 
#define WM831X_CHG_ACTIVE_WIDTH   1 /* CHG_ACTIVE */
 
#define WM831X_CHG_TIME_ELAPSED_MASK   0x00FF /* CHG_TIME_ELAPSED - [7:0] */
 
#define WM831X_CHG_TIME_ELAPSED_SHIFT   0 /* CHG_TIME_ELAPSED - [7:0] */
 
#define WM831X_CHG_TIME_ELAPSED_WIDTH   8 /* CHG_TIME_ELAPSED - [7:0] */
 
#define WM831X_CHG_STATE_OFF   (0 << WM831X_CHG_STATE_SHIFT)
 
#define WM831X_CHG_STATE_TRICKLE   (1 << WM831X_CHG_STATE_SHIFT)
 
#define WM831X_CHG_STATE_FAST   (2 << WM831X_CHG_STATE_SHIFT)
 
#define WM831X_CHG_STATE_TRICKLE_OT   (3 << WM831X_CHG_STATE_SHIFT)
 
#define WM831X_CHG_STATE_FAST_OT   (4 << WM831X_CHG_STATE_SHIFT)
 
#define WM831X_CHG_STATE_DEFECTIVE   (5 << WM831X_CHG_STATE_SHIFT)
 
#define WM831X_BKUP_CHG_ENA   0x8000 /* BKUP_CHG_ENA */
 
#define WM831X_BKUP_CHG_ENA_MASK   0x8000 /* BKUP_CHG_ENA */
 
#define WM831X_BKUP_CHG_ENA_SHIFT   15 /* BKUP_CHG_ENA */
 
#define WM831X_BKUP_CHG_ENA_WIDTH   1 /* BKUP_CHG_ENA */
 
#define WM831X_BKUP_CHG_STS   0x4000 /* BKUP_CHG_STS */
 
#define WM831X_BKUP_CHG_STS_MASK   0x4000 /* BKUP_CHG_STS */
 
#define WM831X_BKUP_CHG_STS_SHIFT   14 /* BKUP_CHG_STS */
 
#define WM831X_BKUP_CHG_STS_WIDTH   1 /* BKUP_CHG_STS */
 
#define WM831X_BKUP_CHG_MODE   0x1000 /* BKUP_CHG_MODE */
 
#define WM831X_BKUP_CHG_MODE_MASK   0x1000 /* BKUP_CHG_MODE */
 
#define WM831X_BKUP_CHG_MODE_SHIFT   12 /* BKUP_CHG_MODE */
 
#define WM831X_BKUP_CHG_MODE_WIDTH   1 /* BKUP_CHG_MODE */
 
#define WM831X_BKUP_BATT_DET_ENA   0x0800 /* BKUP_BATT_DET_ENA */
 
#define WM831X_BKUP_BATT_DET_ENA_MASK   0x0800 /* BKUP_BATT_DET_ENA */
 
#define WM831X_BKUP_BATT_DET_ENA_SHIFT   11 /* BKUP_BATT_DET_ENA */
 
#define WM831X_BKUP_BATT_DET_ENA_WIDTH   1 /* BKUP_BATT_DET_ENA */
 
#define WM831X_BKUP_BATT_STS   0x0400 /* BKUP_BATT_STS */
 
#define WM831X_BKUP_BATT_STS_MASK   0x0400 /* BKUP_BATT_STS */
 
#define WM831X_BKUP_BATT_STS_SHIFT   10 /* BKUP_BATT_STS */
 
#define WM831X_BKUP_BATT_STS_WIDTH   1 /* BKUP_BATT_STS */
 
#define WM831X_BKUP_CHG_VLIM   0x0010 /* BKUP_CHG_VLIM */
 
#define WM831X_BKUP_CHG_VLIM_MASK   0x0010 /* BKUP_CHG_VLIM */
 
#define WM831X_BKUP_CHG_VLIM_SHIFT   4 /* BKUP_CHG_VLIM */
 
#define WM831X_BKUP_CHG_VLIM_WIDTH   1 /* BKUP_CHG_VLIM */
 
#define WM831X_BKUP_CHG_ILIM_MASK   0x0003 /* BKUP_CHG_ILIM - [1:0] */
 
#define WM831X_BKUP_CHG_ILIM_SHIFT   0 /* BKUP_CHG_ILIM - [1:0] */
 
#define WM831X_BKUP_CHG_ILIM_WIDTH   2 /* BKUP_CHG_ILIM - [1:0] */
 

Macro Definition Documentation

#define WM831X_BATT_COLD_STS   0x0400 /* BATT_COLD_STS */

Definition at line 135 of file pmu.h.

#define WM831X_BATT_COLD_STS_MASK   0x0400 /* BATT_COLD_STS */

Definition at line 136 of file pmu.h.

#define WM831X_BATT_COLD_STS_SHIFT   10 /* BATT_COLD_STS */

Definition at line 137 of file pmu.h.

#define WM831X_BATT_COLD_STS_WIDTH   1 /* BATT_COLD_STS */

Definition at line 138 of file pmu.h.

#define WM831X_BATT_HOT_STS   0x0800 /* BATT_HOT_STS */

Definition at line 131 of file pmu.h.

#define WM831X_BATT_HOT_STS_MASK   0x0800 /* BATT_HOT_STS */

Definition at line 132 of file pmu.h.

#define WM831X_BATT_HOT_STS_SHIFT   11 /* BATT_HOT_STS */

Definition at line 133 of file pmu.h.

#define WM831X_BATT_HOT_STS_WIDTH   1 /* BATT_HOT_STS */

Definition at line 134 of file pmu.h.

#define WM831X_BATT_OV_STS   0x8000 /* BATT_OV_STS */

Definition at line 124 of file pmu.h.

#define WM831X_BATT_OV_STS_MASK   0x8000 /* BATT_OV_STS */

Definition at line 125 of file pmu.h.

#define WM831X_BATT_OV_STS_SHIFT   15 /* BATT_OV_STS */

Definition at line 126 of file pmu.h.

#define WM831X_BATT_OV_STS_WIDTH   1 /* BATT_OV_STS */

Definition at line 127 of file pmu.h.

#define WM831X_BKUP_BATT_DET_ENA   0x0800 /* BKUP_BATT_DET_ENA */

Definition at line 173 of file pmu.h.

#define WM831X_BKUP_BATT_DET_ENA_MASK   0x0800 /* BKUP_BATT_DET_ENA */

Definition at line 174 of file pmu.h.

#define WM831X_BKUP_BATT_DET_ENA_SHIFT   11 /* BKUP_BATT_DET_ENA */

Definition at line 175 of file pmu.h.

#define WM831X_BKUP_BATT_DET_ENA_WIDTH   1 /* BKUP_BATT_DET_ENA */

Definition at line 176 of file pmu.h.

#define WM831X_BKUP_BATT_STS   0x0400 /* BKUP_BATT_STS */

Definition at line 177 of file pmu.h.

#define WM831X_BKUP_BATT_STS_MASK   0x0400 /* BKUP_BATT_STS */

Definition at line 178 of file pmu.h.

#define WM831X_BKUP_BATT_STS_SHIFT   10 /* BKUP_BATT_STS */

Definition at line 179 of file pmu.h.

#define WM831X_BKUP_BATT_STS_WIDTH   1 /* BKUP_BATT_STS */

Definition at line 180 of file pmu.h.

#define WM831X_BKUP_CHG_ENA   0x8000 /* BKUP_CHG_ENA */

Definition at line 161 of file pmu.h.

#define WM831X_BKUP_CHG_ENA_MASK   0x8000 /* BKUP_CHG_ENA */

Definition at line 162 of file pmu.h.

#define WM831X_BKUP_CHG_ENA_SHIFT   15 /* BKUP_CHG_ENA */

Definition at line 163 of file pmu.h.

#define WM831X_BKUP_CHG_ENA_WIDTH   1 /* BKUP_CHG_ENA */

Definition at line 164 of file pmu.h.

#define WM831X_BKUP_CHG_ILIM_MASK   0x0003 /* BKUP_CHG_ILIM - [1:0] */

Definition at line 185 of file pmu.h.

#define WM831X_BKUP_CHG_ILIM_SHIFT   0 /* BKUP_CHG_ILIM - [1:0] */

Definition at line 186 of file pmu.h.

#define WM831X_BKUP_CHG_ILIM_WIDTH   2 /* BKUP_CHG_ILIM - [1:0] */

Definition at line 187 of file pmu.h.

#define WM831X_BKUP_CHG_MODE   0x1000 /* BKUP_CHG_MODE */

Definition at line 169 of file pmu.h.

#define WM831X_BKUP_CHG_MODE_MASK   0x1000 /* BKUP_CHG_MODE */

Definition at line 170 of file pmu.h.

#define WM831X_BKUP_CHG_MODE_SHIFT   12 /* BKUP_CHG_MODE */

Definition at line 171 of file pmu.h.

#define WM831X_BKUP_CHG_MODE_WIDTH   1 /* BKUP_CHG_MODE */

Definition at line 172 of file pmu.h.

#define WM831X_BKUP_CHG_STS   0x4000 /* BKUP_CHG_STS */

Definition at line 165 of file pmu.h.

#define WM831X_BKUP_CHG_STS_MASK   0x4000 /* BKUP_CHG_STS */

Definition at line 166 of file pmu.h.

#define WM831X_BKUP_CHG_STS_SHIFT   14 /* BKUP_CHG_STS */

Definition at line 167 of file pmu.h.

#define WM831X_BKUP_CHG_STS_WIDTH   1 /* BKUP_CHG_STS */

Definition at line 168 of file pmu.h.

#define WM831X_BKUP_CHG_VLIM   0x0010 /* BKUP_CHG_VLIM */

Definition at line 181 of file pmu.h.

#define WM831X_BKUP_CHG_VLIM_MASK   0x0010 /* BKUP_CHG_VLIM */

Definition at line 182 of file pmu.h.

#define WM831X_BKUP_CHG_VLIM_SHIFT   4 /* BKUP_CHG_VLIM */

Definition at line 183 of file pmu.h.

#define WM831X_BKUP_CHG_VLIM_WIDTH   1 /* BKUP_CHG_VLIM */

Definition at line 184 of file pmu.h.

#define WM831X_CHG_ACTIVE   0x0100 /* CHG_ACTIVE */

Definition at line 143 of file pmu.h.

#define WM831X_CHG_ACTIVE_MASK   0x0100 /* CHG_ACTIVE */

Definition at line 144 of file pmu.h.

#define WM831X_CHG_ACTIVE_SHIFT   8 /* CHG_ACTIVE */

Definition at line 145 of file pmu.h.

#define WM831X_CHG_ACTIVE_WIDTH   1 /* CHG_ACTIVE */

Definition at line 146 of file pmu.h.

#define WM831X_CHG_CHIP_TEMP_MON   0x0001 /* CHG_CHIP_TEMP_MON */

Definition at line 96 of file pmu.h.

#define WM831X_CHG_CHIP_TEMP_MON_MASK   0x0001 /* CHG_CHIP_TEMP_MON */

Definition at line 97 of file pmu.h.

#define WM831X_CHG_CHIP_TEMP_MON_SHIFT   0 /* CHG_CHIP_TEMP_MON */

Definition at line 98 of file pmu.h.

#define WM831X_CHG_CHIP_TEMP_MON_WIDTH   1 /* CHG_CHIP_TEMP_MON */

Definition at line 99 of file pmu.h.

#define WM831X_CHG_ENA   0x8000 /* CHG_ENA */

Definition at line 77 of file pmu.h.

#define WM831X_CHG_ENA_MASK   0x8000 /* CHG_ENA */

Definition at line 78 of file pmu.h.

#define WM831X_CHG_ENA_SHIFT   15 /* CHG_ENA */

Definition at line 79 of file pmu.h.

#define WM831X_CHG_ENA_WIDTH   1 /* CHG_ENA */

Definition at line 80 of file pmu.h.

#define WM831X_CHG_FAST   0x0020 /* CHG_FAST */

Definition at line 88 of file pmu.h.

#define WM831X_CHG_FAST_ILIM_MASK   0x000F /* CHG_FAST_ILIM - [3:0] */

Definition at line 117 of file pmu.h.

#define WM831X_CHG_FAST_ILIM_SHIFT   0 /* CHG_FAST_ILIM - [3:0] */

Definition at line 118 of file pmu.h.

#define WM831X_CHG_FAST_ILIM_WIDTH   4 /* CHG_FAST_ILIM - [3:0] */

Definition at line 119 of file pmu.h.

#define WM831X_CHG_FAST_MASK   0x0020 /* CHG_FAST */

Definition at line 89 of file pmu.h.

#define WM831X_CHG_FAST_SHIFT   5 /* CHG_FAST */

Definition at line 90 of file pmu.h.

#define WM831X_CHG_FAST_WIDTH   1 /* CHG_FAST */

Definition at line 91 of file pmu.h.

#define WM831X_CHG_FRC   0x4000 /* CHG_FRC */

Definition at line 81 of file pmu.h.

#define WM831X_CHG_FRC_MASK   0x4000 /* CHG_FRC */

Definition at line 82 of file pmu.h.

#define WM831X_CHG_FRC_SHIFT   14 /* CHG_FRC */

Definition at line 83 of file pmu.h.

#define WM831X_CHG_FRC_WIDTH   1 /* CHG_FRC */

Definition at line 84 of file pmu.h.

#define WM831X_CHG_IMON_ENA   0x0002 /* CHG_IMON_ENA */

Definition at line 92 of file pmu.h.

#define WM831X_CHG_IMON_ENA_MASK   0x0002 /* CHG_IMON_ENA */

Definition at line 93 of file pmu.h.

#define WM831X_CHG_IMON_ENA_SHIFT   1 /* CHG_IMON_ENA */

Definition at line 94 of file pmu.h.

#define WM831X_CHG_IMON_ENA_WIDTH   1 /* CHG_IMON_ENA */

Definition at line 95 of file pmu.h.

#define WM831X_CHG_ITERM_MASK   0x1C00 /* CHG_ITERM - [12:10] */

Definition at line 85 of file pmu.h.

#define WM831X_CHG_ITERM_SHIFT   10 /* CHG_ITERM - [12:10] */

Definition at line 86 of file pmu.h.

#define WM831X_CHG_ITERM_WIDTH   3 /* CHG_ITERM - [12:10] */

Definition at line 87 of file pmu.h.

#define WM831X_CHG_OFF_MSK   0x4000 /* CHG_OFF_MSK */

Definition at line 104 of file pmu.h.

#define WM831X_CHG_OFF_MSK_MASK   0x4000 /* CHG_OFF_MSK */

Definition at line 105 of file pmu.h.

#define WM831X_CHG_OFF_MSK_SHIFT   14 /* CHG_OFF_MSK */

Definition at line 106 of file pmu.h.

#define WM831X_CHG_OFF_MSK_WIDTH   1 /* CHG_OFF_MSK */

Definition at line 107 of file pmu.h.

#define WM831X_CHG_STATE_DEFECTIVE   (5 << WM831X_CHG_STATE_SHIFT)

Definition at line 156 of file pmu.h.

#define WM831X_CHG_STATE_FAST   (2 << WM831X_CHG_STATE_SHIFT)

Definition at line 153 of file pmu.h.

#define WM831X_CHG_STATE_FAST_OT   (4 << WM831X_CHG_STATE_SHIFT)

Definition at line 155 of file pmu.h.

#define WM831X_CHG_STATE_MASK   0x7000 /* CHG_STATE - [14:12] */

Definition at line 128 of file pmu.h.

#define WM831X_CHG_STATE_OFF   (0 << WM831X_CHG_STATE_SHIFT)

Definition at line 151 of file pmu.h.

#define WM831X_CHG_STATE_SHIFT   12 /* CHG_STATE - [14:12] */

Definition at line 129 of file pmu.h.

#define WM831X_CHG_STATE_TRICKLE   (1 << WM831X_CHG_STATE_SHIFT)

Definition at line 152 of file pmu.h.

#define WM831X_CHG_STATE_TRICKLE_OT   (3 << WM831X_CHG_STATE_SHIFT)

Definition at line 154 of file pmu.h.

#define WM831X_CHG_STATE_WIDTH   3 /* CHG_STATE - [14:12] */

Definition at line 130 of file pmu.h.

#define WM831X_CHG_TIME_ELAPSED_MASK   0x00FF /* CHG_TIME_ELAPSED - [7:0] */

Definition at line 147 of file pmu.h.

#define WM831X_CHG_TIME_ELAPSED_SHIFT   0 /* CHG_TIME_ELAPSED - [7:0] */

Definition at line 148 of file pmu.h.

#define WM831X_CHG_TIME_ELAPSED_WIDTH   8 /* CHG_TIME_ELAPSED - [7:0] */

Definition at line 149 of file pmu.h.

#define WM831X_CHG_TIME_MASK   0x0F00 /* CHG_TIME - [11:8] */

Definition at line 108 of file pmu.h.

#define WM831X_CHG_TIME_SHIFT   8 /* CHG_TIME - [11:8] */

Definition at line 109 of file pmu.h.

#define WM831X_CHG_TIME_WIDTH   4 /* CHG_TIME - [11:8] */

Definition at line 110 of file pmu.h.

#define WM831X_CHG_TOPOFF   0x0200 /* CHG_TOPOFF */

Definition at line 139 of file pmu.h.

#define WM831X_CHG_TOPOFF_MASK   0x0200 /* CHG_TOPOFF */

Definition at line 140 of file pmu.h.

#define WM831X_CHG_TOPOFF_SHIFT   9 /* CHG_TOPOFF */

Definition at line 141 of file pmu.h.

#define WM831X_CHG_TOPOFF_WIDTH   1 /* CHG_TOPOFF */

Definition at line 142 of file pmu.h.

#define WM831X_CHG_TRKL_ILIM_MASK   0x00C0 /* CHG_TRKL_ILIM - [7:6] */

Definition at line 111 of file pmu.h.

#define WM831X_CHG_TRKL_ILIM_SHIFT   6 /* CHG_TRKL_ILIM - [7:6] */

Definition at line 112 of file pmu.h.

#define WM831X_CHG_TRKL_ILIM_WIDTH   2 /* CHG_TRKL_ILIM - [7:6] */

Definition at line 113 of file pmu.h.

#define WM831X_CHG_VSEL_MASK   0x0030 /* CHG_VSEL - [5:4] */

Definition at line 114 of file pmu.h.

#define WM831X_CHG_VSEL_SHIFT   4 /* CHG_VSEL - [5:4] */

Definition at line 115 of file pmu.h.

#define WM831X_CHG_VSEL_WIDTH   2 /* CHG_VSEL - [5:4] */

Definition at line 116 of file pmu.h.

#define WM831X_CHIP_ON   0x8000 /* CHIP_ON */

Definition at line 21 of file pmu.h.

#define WM831X_CHIP_ON_MASK   0x8000 /* CHIP_ON */

Definition at line 22 of file pmu.h.

#define WM831X_CHIP_ON_SHIFT   15 /* CHIP_ON */

Definition at line 23 of file pmu.h.

#define WM831X_CHIP_ON_WIDTH   1 /* CHIP_ON */

Definition at line 24 of file pmu.h.

#define WM831X_CHIP_SLP   0x4000 /* CHIP_SLP */

Definition at line 25 of file pmu.h.

#define WM831X_CHIP_SLP_MASK   0x4000 /* CHIP_SLP */

Definition at line 26 of file pmu.h.

#define WM831X_CHIP_SLP_SHIFT   14 /* CHIP_SLP */

Definition at line 27 of file pmu.h.

#define WM831X_CHIP_SLP_WIDTH   1 /* CHIP_SLP */

Definition at line 28 of file pmu.h.

#define WM831X_MAIN_STATE_MASK   0x001F /* MAIN_STATE - [4:0] */

Definition at line 70 of file pmu.h.

#define WM831X_MAIN_STATE_SHIFT   0 /* MAIN_STATE - [4:0] */

Definition at line 71 of file pmu.h.

#define WM831X_MAIN_STATE_WIDTH   5 /* MAIN_STATE - [4:0] */

Definition at line 72 of file pmu.h.

#define WM831X_PWR_SRC_BATT   0x0400 /* PWR_SRC_BATT */

Definition at line 58 of file pmu.h.

#define WM831X_PWR_SRC_BATT_MASK   0x0400 /* PWR_SRC_BATT */

Definition at line 59 of file pmu.h.

#define WM831X_PWR_SRC_BATT_SHIFT   10 /* PWR_SRC_BATT */

Definition at line 60 of file pmu.h.

#define WM831X_PWR_SRC_BATT_WIDTH   1 /* PWR_SRC_BATT */

Definition at line 61 of file pmu.h.

#define WM831X_PWR_USB   0x0100 /* PWR_USB */

Definition at line 66 of file pmu.h.

#define WM831X_PWR_USB_MASK   0x0100 /* PWR_USB */

Definition at line 67 of file pmu.h.

#define WM831X_PWR_USB_SHIFT   8 /* PWR_USB */

Definition at line 68 of file pmu.h.

#define WM831X_PWR_USB_WIDTH   1 /* PWR_USB */

Definition at line 69 of file pmu.h.

#define WM831X_PWR_WALL   0x0200 /* PWR_WALL */

Definition at line 62 of file pmu.h.

#define WM831X_PWR_WALL_MASK   0x0200 /* PWR_WALL */

Definition at line 63 of file pmu.h.

#define WM831X_PWR_WALL_SHIFT   9 /* PWR_WALL */

Definition at line 64 of file pmu.h.

#define WM831X_PWR_WALL_WIDTH   1 /* PWR_WALL */

Definition at line 65 of file pmu.h.

#define WM831X_PWRSTATE_DLY_MASK   0x0C00 /* PWRSTATE_DLY - [11:10] */

Definition at line 33 of file pmu.h.

#define WM831X_PWRSTATE_DLY_SHIFT   10 /* PWRSTATE_DLY - [11:10] */

Definition at line 34 of file pmu.h.

#define WM831X_PWRSTATE_DLY_WIDTH   2 /* PWRSTATE_DLY - [11:10] */

Definition at line 35 of file pmu.h.

#define WM831X_REF_LP   0x1000 /* REF_LP */

Definition at line 29 of file pmu.h.

#define WM831X_REF_LP_MASK   0x1000 /* REF_LP */

Definition at line 30 of file pmu.h.

#define WM831X_REF_LP_SHIFT   12 /* REF_LP */

Definition at line 31 of file pmu.h.

#define WM831X_REF_LP_WIDTH   1 /* REF_LP */

Definition at line 32 of file pmu.h.

#define WM831X_SWRST_DLY   0x0200 /* SWRST_DLY */

Definition at line 36 of file pmu.h.

#define WM831X_SWRST_DLY_MASK   0x0200 /* SWRST_DLY */

Definition at line 37 of file pmu.h.

#define WM831X_SWRST_DLY_SHIFT   9 /* SWRST_DLY */

Definition at line 38 of file pmu.h.

#define WM831X_SWRST_DLY_WIDTH   1 /* SWRST_DLY */

Definition at line 39 of file pmu.h.

#define WM831X_THW_STS   0x8000 /* THW_STS */

Definition at line 54 of file pmu.h.

#define WM831X_THW_STS_MASK   0x8000 /* THW_STS */

Definition at line 55 of file pmu.h.

#define WM831X_THW_STS_SHIFT   15 /* THW_STS */

Definition at line 56 of file pmu.h.

#define WM831X_THW_STS_WIDTH   1 /* THW_STS */

Definition at line 57 of file pmu.h.

#define WM831X_USB100MA_STARTUP_MASK   0x0030 /* USB100MA_STARTUP - [5:4] */

Definition at line 40 of file pmu.h.

#define WM831X_USB100MA_STARTUP_SHIFT   4 /* USB100MA_STARTUP - [5:4] */

Definition at line 41 of file pmu.h.

#define WM831X_USB100MA_STARTUP_WIDTH   2 /* USB100MA_STARTUP - [5:4] */

Definition at line 42 of file pmu.h.

#define WM831X_USB_CURR_STS   0x0008 /* USB_CURR_STS */

Definition at line 43 of file pmu.h.

#define WM831X_USB_CURR_STS_MASK   0x0008 /* USB_CURR_STS */

Definition at line 44 of file pmu.h.

#define WM831X_USB_CURR_STS_SHIFT   3 /* USB_CURR_STS */

Definition at line 45 of file pmu.h.

#define WM831X_USB_CURR_STS_WIDTH   1 /* USB_CURR_STS */

Definition at line 46 of file pmu.h.

#define WM831X_USB_ILIM_MASK   0x0007 /* USB_ILIM - [2:0] */

Definition at line 47 of file pmu.h.

#define WM831X_USB_ILIM_SHIFT   0 /* USB_ILIM - [2:0] */

Definition at line 48 of file pmu.h.

#define WM831X_USB_ILIM_WIDTH   3 /* USB_ILIM - [2:0] */

Definition at line 49 of file pmu.h.