Lines Matching +full:0 +full:x1c00
17 #define WM8350_BATTERY_CHARGER_CONTROL_1 0xA8
18 #define WM8350_BATTERY_CHARGER_CONTROL_2 0xA9
19 #define WM8350_BATTERY_CHARGER_CONTROL_3 0xAA
22 * R168 (0xA8) - Battery Charger Control 1
24 #define WM8350_CHG_ENA_R168 0x8000
25 #define WM8350_CHG_THR 0x2000
26 #define WM8350_CHG_EOC_SEL_MASK 0x1C00
27 #define WM8350_CHG_TRICKLE_TEMP_CHOKE 0x0200
28 #define WM8350_CHG_TRICKLE_USB_CHOKE 0x0100
29 #define WM8350_CHG_RECOVER_T 0x0080
30 #define WM8350_CHG_END_ACT 0x0040
31 #define WM8350_CHG_FAST 0x0020
32 #define WM8350_CHG_FAST_USB_THROTTLE 0x0010
33 #define WM8350_CHG_NTC_MON 0x0008
34 #define WM8350_CHG_BATT_HOT_MON 0x0004
35 #define WM8350_CHG_BATT_COLD_MON 0x0002
36 #define WM8350_CHG_CHIP_TEMP_MON 0x0001
39 * R169 (0xA9) - Battery Charger Control 2
41 #define WM8350_CHG_ACTIVE 0x8000
42 #define WM8350_CHG_PAUSE 0x4000
43 #define WM8350_CHG_STS_MASK 0x3000
44 #define WM8350_CHG_TIME_MASK 0x0F00
45 #define WM8350_CHG_MASK_WALL_FB 0x0080
46 #define WM8350_CHG_TRICKLE_SEL 0x0040
47 #define WM8350_CHG_VSEL_MASK 0x0030
48 #define WM8350_CHG_ISEL_MASK 0x000F
49 #define WM8350_CHG_STS_OFF 0x0000
50 #define WM8350_CHG_STS_TRICKLE 0x1000
51 #define WM8350_CHG_STS_FAST 0x2000
54 * R170 (0xAA) - Battery Charger Control 3
56 #define WM8350_CHG_THROTTLE_T_MASK 0x0060
57 #define WM8350_CHG_SMART 0x0010
58 #define WM8350_CHG_TIMER_ADJT_MASK 0x000F
63 #define WM8350_IRQ_CHG_BAT_HOT 0
77 #define WM8350_CHG_TRICKLE_50mA (0 << 6)
79 #define WM8350_CHG_4_05V (0 << 4)
83 #define WM8350_CHG_FAST_LIMIT_mA(x) ((x / 50) & 0xf)
84 #define WM8350_CHG_EOC_mA(x) (((x - 10) & 0x7) << 10)
85 #define WM8350_CHG_TRICKLE_3_1V (0 << 13)
91 #define WM8350_USB_VOLTAGE_READBACK 0x9C
92 #define WM8350_LINE_VOLTAGE_READBACK 0x9D
93 #define WM8350_BATT_VOLTAGE_READBACK 0x9E