Lines Matching +full:6 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0+ */
183 #define MAX77843_SYS_IRQ_SYSUVLO_INT BIT(0)
184 #define MAX77843_SYS_IRQ_SYSOVLO_INT BIT(1)
185 #define MAX77843_SYS_IRQ_TSHDN_INT BIT(2)
186 #define MAX77843_SYS_IRQ_TM_INT BIT(3)
190 #define MAX77843_MAINCTRL1_BIASEN_MASK BIT(MAINCTRL1_BIASEN_SHIFT)
194 #define MCONFIG_MEN_SHIFT 6
197 #define MAX77843_MCONFIG_MODE_MASK BIT(MCONFIG_MODE_SHIFT)
198 #define MAX77843_MCONFIG_MEN_MASK BIT(MCONFIG_MEN_SHIFT)
202 #define MAX77843_CHG_BYP_I BIT(0)
203 #define MAX77843_CHG_BATP_I BIT(2)
204 #define MAX77843_CHG_BAT_I BIT(3)
205 #define MAX77843_CHG_CHG_I BIT(4)
206 #define MAX77843_CHG_WCIN_I BIT(5)
207 #define MAX77843_CHG_CHGIN_I BIT(6)
208 #define MAX77843_CHG_AICL_I BIT(7)
211 #define MAX77843_CHG_BYP_OK BIT(0)
212 #define MAX77843_CHG_BATP_OK BIT(2)
213 #define MAX77843_CHG_BAT_OK BIT(3)
214 #define MAX77843_CHG_CHG_OK BIT(4)
215 #define MAX77843_CHG_WCIN_OK BIT(5)
216 #define MAX77843_CHG_CHGIN_OK BIT(6)
217 #define MAX77843_CHG_AICL_OK BIT(7)
220 #define MAX77843_CHG_BAT_DTLS BIT(0)
263 #define MAX77843_CHG_OTG_ILIMIT_500 (0x00 << 6)
264 #define MAX77843_CHG_OTG_ILIMIT_900 (0x01 << 6)
265 #define MAX77843_CHG_OTG_ILIMIT_1200 (0x02 << 6)
266 #define MAX77843_CHG_OTG_ILIMIT_1500 (0x03 << 6)
285 #define MAX77843_MUIC_ADC BIT(0)
286 #define MAX77843_MUIC_ADCERROR BIT(2)
287 #define MAX77843_MUIC_ADC1K BIT(3)
289 #define MAX77843_MUIC_CHGTYP BIT(0)
290 #define MAX77843_MUIC_CHGDETRUN BIT(1)
291 #define MAX77843_MUIC_DCDTMR BIT(2)
292 #define MAX77843_MUIC_DXOVP BIT(3)
293 #define MAX77843_MUIC_VBVOLT BIT(4)
295 #define MAX77843_MUIC_VBADC BIT(0)
296 #define MAX77843_MUIC_VDNMON BIT(1)
297 #define MAX77843_MUIC_DNRES BIT(2)
298 #define MAX77843_MUIC_MPNACK BIT(3)
299 #define MAX77843_MUIC_MRXBUFOW BIT(4)
300 #define MAX77843_MUIC_MRXTRF BIT(5)
301 #define MAX77843_MUIC_MRXPERR BIT(6)
302 #define MAX77843_MUIC_MRXRDY BIT(7)
310 #define MAX77843_INTSRCMASK_CHGR_MASK BIT(MAX77843_INTSRCMASK_CHGR)
311 #define MAX77843_INTSRCMASK_SYS_MASK BIT(MAX77843_INTSRCMASK_SYS)
312 #define MAX77843_INTSRCMASK_FG_MASK BIT(MAX77843_INTSRCMASK_FG)
313 #define MAX77843_INTSRCMASK_MUIC_MASK BIT(MAX77843_INTSRCMASK_MUIC)
321 #define MAX77843_MUIC_STATUS1_ADCERROR_SHIFT 6
327 #define MAX77843_MUIC_STATUS2_VBVOLT_SHIFT 6
331 #define MAX77843_MUIC_STATUS3_MPNACK_SHIFT 6
334 #define MAX77843_MUIC_STATUS1_ADCERROR_MASK BIT(MAX77843_MUIC_STATUS1_ADCERROR_SHIFT)
335 #define MAX77843_MUIC_STATUS1_ADC1K_MASK BIT(MAX77843_MUIC_STATUS1_ADC1K_SHIFT)
337 #define MAX77843_MUIC_STATUS2_CHGDETRUN_MASK BIT(MAX77843_MUIC_STATUS2_CHGDETRUN_SHIFT)
338 #define MAX77843_MUIC_STATUS2_DCDTMR_MASK BIT(MAX77843_MUIC_STATUS2_DCDTMR_SHIFT)
339 #define MAX77843_MUIC_STATUS2_DXOVP_MASK BIT(MAX77843_MUIC_STATUS2_DXOVP_SHIFT)
340 #define MAX77843_MUIC_STATUS2_VBVOLT_MASK BIT(MAX77843_MUIC_STATUS2_VBVOLT_SHIFT)
342 #define MAX77843_MUIC_STATUS3_VDNMON_MASK BIT(MAX77843_MUIC_STATUS3_VDNMON_SHIFT)
343 #define MAX77843_MUIC_STATUS3_DNRES_MASK BIT(MAX77843_MUIC_STATUS3_DNRES_SHIFT)
344 #define MAX77843_MUIC_STATUS3_MPNACK_MASK BIT(MAX77843_MUIC_STATUS3_MPNACK_SHIFT)
349 #define MAX77843_MUIC_CONTROL1_NOBCCOMP_SHIFT 6
355 #define MAX77843_MUIC_CONTROL2_USBCPINT_SHIFT 6
361 #define MAX77843_MUIC_CONTROL4_ADCMODE_SHIFT 6
365 #define MAX77843_MUIC_CONTROL1_IDBEN_MASK BIT(MAX77843_MUIC_CONTROL1_IDBEN_SHIFT)
366 #define MAX77843_MUIC_CONTROL1_NOBCCOMP_MASK BIT(MAX77843_MUIC_CONTROL1_NOBCCOMP_SHIFT)
367 #define MAX77843_MUIC_CONTROL2_LOWPWR_MASK BIT(MAX77843_MUIC_CONTROL2_LOWPWR_SHIFT)
368 #define MAX77843_MUIC_CONTROL2_ADCEN_MASK BIT(MAX77843_MUIC_CONTROL2_ADCEN_SHIFT)
369 #define MAX77843_MUIC_CONTROL2_CPEN_MASK BIT(MAX77843_MUIC_CONTROL2_CPEN_SHIFT)
370 #define MAX77843_MUIC_CONTROL2_ACC_DET_MASK BIT(MAX77843_MUIC_CONTROL2_ACC_DET_SHIFT)
371 #define MAX77843_MUIC_CONTROL2_USBCPINT_MASK BIT(MAX77843_MUIC_CONTROL2_USBCPINT_SHIFT)
372 #define MAX77843_MUIC_CONTROL2_RCPS_MASK BIT(MAX77843_MUIC_CONTROL2_RCPS_SHIFT)
375 #define MAX77843_MUIC_CONTROL4_USBAUTO_MASK BIT(MAX77843_MUIC_CONTROL4_USBAUTO_SHIFT)
376 #define MAX77843_MUIC_CONTROL4_FCTAUTO_MASK BIT(MAX77843_MUIC_CONTROL4_FCTAUTO_SHIFT)
423 #define SAFEOUTCTRL_ENSAFEOUT1_SHIFT 6
427 BIT(SAFEOUTCTRL_ENSAFEOUT1_SHIFT)
429 BIT(SAFEOUTCTRL_ENSAFEOUT2_SHIFT)