Lines Matching +full:0 +full:x0200

14  * R16387 (0x4003) - Power State
16 #define WM831X_CHIP_ON 0x8000 /* CHIP_ON */
17 #define WM831X_CHIP_ON_MASK 0x8000 /* CHIP_ON */
20 #define WM831X_CHIP_SLP 0x4000 /* CHIP_SLP */
21 #define WM831X_CHIP_SLP_MASK 0x4000 /* CHIP_SLP */
24 #define WM831X_REF_LP 0x1000 /* REF_LP */
25 #define WM831X_REF_LP_MASK 0x1000 /* REF_LP */
28 #define WM831X_PWRSTATE_DLY_MASK 0x0C00 /* PWRSTATE_DLY - [11:10] */
31 #define WM831X_SWRST_DLY 0x0200 /* SWRST_DLY */
32 #define WM831X_SWRST_DLY_MASK 0x0200 /* SWRST_DLY */
35 #define WM831X_USB100MA_STARTUP_MASK 0x0030 /* USB100MA_STARTUP - [5:4] */
38 #define WM831X_USB_CURR_STS 0x0008 /* USB_CURR_STS */
39 #define WM831X_USB_CURR_STS_MASK 0x0008 /* USB_CURR_STS */
42 #define WM831X_USB_ILIM_MASK 0x0007 /* USB_ILIM - [2:0] */
43 #define WM831X_USB_ILIM_SHIFT 0 /* USB_ILIM - [2:0] */
44 #define WM831X_USB_ILIM_WIDTH 3 /* USB_ILIM - [2:0] */
47 * R16397 (0x400D) - System Status
49 #define WM831X_THW_STS 0x8000 /* THW_STS */
50 #define WM831X_THW_STS_MASK 0x8000 /* THW_STS */
53 #define WM831X_PWR_SRC_BATT 0x0400 /* PWR_SRC_BATT */
54 #define WM831X_PWR_SRC_BATT_MASK 0x0400 /* PWR_SRC_BATT */
57 #define WM831X_PWR_WALL 0x0200 /* PWR_WALL */
58 #define WM831X_PWR_WALL_MASK 0x0200 /* PWR_WALL */
61 #define WM831X_PWR_USB 0x0100 /* PWR_USB */
62 #define WM831X_PWR_USB_MASK 0x0100 /* PWR_USB */
65 #define WM831X_MAIN_STATE_MASK 0x001F /* MAIN_STATE - [4:0] */
66 #define WM831X_MAIN_STATE_SHIFT 0 /* MAIN_STATE - [4:0] */
67 #define WM831X_MAIN_STATE_WIDTH 5 /* MAIN_STATE - [4:0] */
70 * R16456 (0x4048) - Charger Control 1
72 #define WM831X_CHG_ENA 0x8000 /* CHG_ENA */
73 #define WM831X_CHG_ENA_MASK 0x8000 /* CHG_ENA */
76 #define WM831X_CHG_FRC 0x4000 /* CHG_FRC */
77 #define WM831X_CHG_FRC_MASK 0x4000 /* CHG_FRC */
80 #define WM831X_CHG_ITERM_MASK 0x1C00 /* CHG_ITERM - [12:10] */
83 #define WM831X_CHG_FAST 0x0020 /* CHG_FAST */
84 #define WM831X_CHG_FAST_MASK 0x0020 /* CHG_FAST */
87 #define WM831X_CHG_IMON_ENA 0x0002 /* CHG_IMON_ENA */
88 #define WM831X_CHG_IMON_ENA_MASK 0x0002 /* CHG_IMON_ENA */
91 #define WM831X_CHG_CHIP_TEMP_MON 0x0001 /* CHG_CHIP_TEMP_MON */
92 #define WM831X_CHG_CHIP_TEMP_MON_MASK 0x0001 /* CHG_CHIP_TEMP_MON */
93 #define WM831X_CHG_CHIP_TEMP_MON_SHIFT 0 /* CHG_CHIP_TEMP_MON */
97 * R16457 (0x4049) - Charger Control 2
99 #define WM831X_CHG_OFF_MSK 0x4000 /* CHG_OFF_MSK */
100 #define WM831X_CHG_OFF_MSK_MASK 0x4000 /* CHG_OFF_MSK */
103 #define WM831X_CHG_TIME_MASK 0x0F00 /* CHG_TIME - [11:8] */
106 #define WM831X_CHG_TRKL_ILIM_MASK 0x00C0 /* CHG_TRKL_ILIM - [7:6] */
109 #define WM831X_CHG_VSEL_MASK 0x0030 /* CHG_VSEL - [5:4] */
112 #define WM831X_CHG_FAST_ILIM_MASK 0x000F /* CHG_FAST_ILIM - [3:0] */
113 #define WM831X_CHG_FAST_ILIM_SHIFT 0 /* CHG_FAST_ILIM - [3:0] */
114 #define WM831X_CHG_FAST_ILIM_WIDTH 4 /* CHG_FAST_ILIM - [3:0] */
117 * R16458 (0x404A) - Charger Status
119 #define WM831X_BATT_OV_STS 0x8000 /* BATT_OV_STS */
120 #define WM831X_BATT_OV_STS_MASK 0x8000 /* BATT_OV_STS */
123 #define WM831X_CHG_STATE_MASK 0x7000 /* CHG_STATE - [14:12] */
126 #define WM831X_BATT_HOT_STS 0x0800 /* BATT_HOT_STS */
127 #define WM831X_BATT_HOT_STS_MASK 0x0800 /* BATT_HOT_STS */
130 #define WM831X_BATT_COLD_STS 0x0400 /* BATT_COLD_STS */
131 #define WM831X_BATT_COLD_STS_MASK 0x0400 /* BATT_COLD_STS */
134 #define WM831X_CHG_TOPOFF 0x0200 /* CHG_TOPOFF */
135 #define WM831X_CHG_TOPOFF_MASK 0x0200 /* CHG_TOPOFF */
138 #define WM831X_CHG_ACTIVE 0x0100 /* CHG_ACTIVE */
139 #define WM831X_CHG_ACTIVE_MASK 0x0100 /* CHG_ACTIVE */
142 #define WM831X_CHG_TIME_ELAPSED_MASK 0x00FF /* CHG_TIME_ELAPSED - [7:0] */
143 #define WM831X_CHG_TIME_ELAPSED_SHIFT 0 /* CHG_TIME_ELAPSED - [7:0] */
144 #define WM831X_CHG_TIME_ELAPSED_WIDTH 8 /* CHG_TIME_ELAPSED - [7:0] */
146 #define WM831X_CHG_STATE_OFF (0 << WM831X_CHG_STATE_SHIFT)
154 * R16459 (0x404B) - Backup Charger Control
156 #define WM831X_BKUP_CHG_ENA 0x8000 /* BKUP_CHG_ENA */
157 #define WM831X_BKUP_CHG_ENA_MASK 0x8000 /* BKUP_CHG_ENA */
160 #define WM831X_BKUP_CHG_STS 0x4000 /* BKUP_CHG_STS */
161 #define WM831X_BKUP_CHG_STS_MASK 0x4000 /* BKUP_CHG_STS */
164 #define WM831X_BKUP_CHG_MODE 0x1000 /* BKUP_CHG_MODE */
165 #define WM831X_BKUP_CHG_MODE_MASK 0x1000 /* BKUP_CHG_MODE */
168 #define WM831X_BKUP_BATT_DET_ENA 0x0800 /* BKUP_BATT_DET_ENA */
169 #define WM831X_BKUP_BATT_DET_ENA_MASK 0x0800 /* BKUP_BATT_DET_ENA */
172 #define WM831X_BKUP_BATT_STS 0x0400 /* BKUP_BATT_STS */
173 #define WM831X_BKUP_BATT_STS_MASK 0x0400 /* BKUP_BATT_STS */
176 #define WM831X_BKUP_CHG_VLIM 0x0010 /* BKUP_CHG_VLIM */
177 #define WM831X_BKUP_CHG_VLIM_MASK 0x0010 /* BKUP_CHG_VLIM */
180 #define WM831X_BKUP_CHG_ILIM_MASK 0x0003 /* BKUP_CHG_ILIM - [1:0] */
181 #define WM831X_BKUP_CHG_ILIM_SHIFT 0 /* BKUP_CHG_ILIM - [1:0] */
182 #define WM831X_BKUP_CHG_ILIM_WIDTH 2 /* BKUP_CHG_ILIM - [1:0] */