Lines Matching +full:0 +full:xcb
23 #define DA7219_ACCDET_STATUS_A 0xC0
24 #define DA7219_ACCDET_STATUS_B 0xC1
25 #define DA7219_ACCDET_IRQ_EVENT_A 0xC2
26 #define DA7219_ACCDET_IRQ_EVENT_B 0xC3
27 #define DA7219_ACCDET_IRQ_MASK_A 0xC4
28 #define DA7219_ACCDET_IRQ_MASK_B 0xC5
29 #define DA7219_ACCDET_CONFIG_1 0xC6
30 #define DA7219_ACCDET_CONFIG_2 0xC7
31 #define DA7219_ACCDET_CONFIG_3 0xC8
32 #define DA7219_ACCDET_CONFIG_4 0xC9
33 #define DA7219_ACCDET_CONFIG_5 0xCA
34 #define DA7219_ACCDET_CONFIG_6 0xCB
35 #define DA7219_ACCDET_CONFIG_7 0xCC
36 #define DA7219_ACCDET_CONFIG_8 0xCD
43 /* DA7219_ACCDET_STATUS_A = 0xC0 */
44 #define DA7219_JACK_INSERTION_STS_SHIFT 0
45 #define DA7219_JACK_INSERTION_STS_MASK (0x1 << 0)
47 #define DA7219_JACK_TYPE_STS_MASK (0x1 << 1)
49 #define DA7219_JACK_PIN_ORDER_STS_MASK (0x1 << 2)
51 #define DA7219_MICBIAS_UP_STS_MASK (0x1 << 3)
53 /* DA7219_ACCDET_STATUS_B = 0xC1 */
54 #define DA7219_BUTTON_TYPE_STS_SHIFT 0
55 #define DA7219_BUTTON_TYPE_STS_MASK (0xFF << 0)
57 /* DA7219_ACCDET_IRQ_EVENT_A = 0xC2 */
58 #define DA7219_E_JACK_INSERTED_SHIFT 0
59 #define DA7219_E_JACK_INSERTED_MASK (0x1 << 0)
61 #define DA7219_E_JACK_REMOVED_MASK (0x1 << 1)
63 #define DA7219_E_JACK_DETECT_COMPLETE_MASK (0x1 << 2)
65 /* DA7219_ACCDET_IRQ_EVENT_B = 0xC3 */
66 #define DA7219_E_BUTTON_A_PRESSED_SHIFT 0
67 #define DA7219_E_BUTTON_A_PRESSED_MASK (0x1 << 0)
69 #define DA7219_E_BUTTON_B_PRESSED_MASK (0x1 << 1)
71 #define DA7219_E_BUTTON_C_PRESSED_MASK (0x1 << 2)
73 #define DA7219_E_BUTTON_D_PRESSED_MASK (0x1 << 3)
75 #define DA7219_E_BUTTON_D_RELEASED_MASK (0x1 << 4)
77 #define DA7219_E_BUTTON_C_RELEASED_MASK (0x1 << 5)
79 #define DA7219_E_BUTTON_B_RELEASED_MASK (0x1 << 6)
81 #define DA7219_E_BUTTON_A_RELEASED_MASK (0x1 << 7)
83 /* DA7219_ACCDET_IRQ_MASK_A = 0xC4 */
84 #define DA7219_M_JACK_INSERTED_SHIFT 0
85 #define DA7219_M_JACK_INSERTED_MASK (0x1 << 0)
87 #define DA7219_M_JACK_REMOVED_MASK (0x1 << 1)
89 #define DA7219_M_JACK_DETECT_COMPLETE_MASK (0x1 << 2)
91 /* DA7219_ACCDET_IRQ_MASK_B = 0xC5 */
92 #define DA7219_M_BUTTON_A_PRESSED_SHIFT 0
93 #define DA7219_M_BUTTON_A_PRESSED_MASK (0x1 << 0)
95 #define DA7219_M_BUTTON_B_PRESSED_MASK (0x1 << 1)
97 #define DA7219_M_BUTTON_C_PRESSED_MASK (0x1 << 2)
99 #define DA7219_M_BUTTON_D_PRESSED_MASK (0x1 << 3)
101 #define DA7219_M_BUTTON_D_RELEASED_MASK (0x1 << 4)
103 #define DA7219_M_BUTTON_C_RELEASED_MASK (0x1 << 5)
105 #define DA7219_M_BUTTON_B_RELEASED_MASK (0x1 << 6)
107 #define DA7219_M_BUTTON_A_RELEASED_MASK (0x1 << 7)
109 /* DA7219_ACCDET_CONFIG_1 = 0xC6 */
110 #define DA7219_ACCDET_EN_SHIFT 0
111 #define DA7219_ACCDET_EN_MASK (0x1 << 0)
113 #define DA7219_BUTTON_CONFIG_MASK (0x7 << 1)
115 #define DA7219_MIC_DET_THRESH_MASK (0x3 << 4)
117 #define DA7219_JACK_TYPE_DET_EN_MASK (0x1 << 6)
119 #define DA7219_PIN_ORDER_DET_EN_MASK (0x1 << 7)
121 /* DA7219_ACCDET_CONFIG_2 = 0xC7 */
122 #define DA7219_ACCDET_PAUSE_SHIFT 0
123 #define DA7219_ACCDET_PAUSE_MASK (0x1 << 0)
125 #define DA7219_JACKDET_DEBOUNCE_MASK (0x7 << 1)
127 #define DA7219_JACK_DETECT_RATE_MASK (0x3 << 4)
129 #define DA7219_JACKDET_REM_DEB_MASK (0x3 << 6)
131 /* DA7219_ACCDET_CONFIG_3 = 0xC8 */
132 #define DA7219_A_D_BUTTON_THRESH_SHIFT 0
133 #define DA7219_A_D_BUTTON_THRESH_MASK (0xFF << 0)
135 /* DA7219_ACCDET_CONFIG_4 = 0xC9 */
136 #define DA7219_D_B_BUTTON_THRESH_SHIFT 0
137 #define DA7219_D_B_BUTTON_THRESH_MASK (0xFF << 0)
139 /* DA7219_ACCDET_CONFIG_5 = 0xCA */
140 #define DA7219_B_C_BUTTON_THRESH_SHIFT 0
141 #define DA7219_B_C_BUTTON_THRESH_MASK (0xFF << 0)
143 /* DA7219_ACCDET_CONFIG_6 = 0xCB */
144 #define DA7219_C_MIC_BUTTON_THRESH_SHIFT 0
145 #define DA7219_C_MIC_BUTTON_THRESH_MASK (0xFF << 0)
147 /* DA7219_ACCDET_CONFIG_7 = 0xCC */
148 #define DA7219_BUTTON_AVERAGE_SHIFT 0
149 #define DA7219_BUTTON_AVERAGE_MASK (0x3 << 0)
151 #define DA7219_ADC_1_BIT_REPEAT_MASK (0x3 << 2)
153 #define DA7219_PIN_ORDER_FORCE_MASK (0x1 << 4)
155 #define DA7219_JACK_TYPE_FORCE_MASK (0x1 << 5)
157 /* DA7219_ACCDET_CONFIG_8 = 0xCD */
158 #define DA7219_HPTEST_EN_SHIFT 0
159 #define DA7219_HPTEST_EN_MASK (0x1 << 0)
161 #define DA7219_HPTEST_RES_SEL_MASK (0x3 << 1)
162 #define DA7219_HPTEST_RES_SEL_1KOHMS (0x0 << 1)
164 #define DA7219_HPTEST_COMP_MASK (0x1 << 4)
176 #define DA7219_AAD_HPTEST_RAMP_FREQ 0x28
177 #define DA7219_AAD_HPTEST_RAMP_FREQ_INT_OSC 0x4D
182 DA7219_AAD_IRQ_REG_A = 0,