Lines Matching +full:5 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2015-2017 Dialog Semiconductor
151 * Bit fields
158 #define DA9062AA_WRITE_MODE_MASK BIT(6)
160 #define DA9062AA_REVERT_MASK BIT(7)
166 #define DA9062AA_DVC_BUSY_MASK BIT(2)
172 #define DA9062AA_GPI1_MASK BIT(1)
174 #define DA9062AA_GPI2_MASK BIT(2)
176 #define DA9062AA_GPI3_MASK BIT(3)
178 #define DA9062AA_GPI4_MASK BIT(4)
184 #define DA9062AA_LDO2_ILIM_MASK BIT(1)
186 #define DA9062AA_LDO3_ILIM_MASK BIT(2)
188 #define DA9062AA_LDO4_ILIM_MASK BIT(3)
194 #define DA9062AA_POR_MASK BIT(1)
196 #define DA9062AA_VDD_FAULT_MASK BIT(2)
198 #define DA9062AA_VDD_START_MASK BIT(3)
200 #define DA9062AA_TEMP_CRIT_MASK BIT(4)
201 #define DA9062AA_KEY_RESET_SHIFT 5
202 #define DA9062AA_KEY_RESET_MASK BIT(5)
204 #define DA9062AA_NSHUTDOWN_MASK BIT(6)
206 #define DA9062AA_WAIT_SHUT_MASK BIT(7)
212 #define DA9062AA_E_ALARM_MASK BIT(1)
214 #define DA9062AA_E_TICK_MASK BIT(2)
216 #define DA9062AA_E_WDG_WARN_MASK BIT(3)
218 #define DA9062AA_E_SEQ_RDY_MASK BIT(4)
219 #define DA9062AA_EVENTS_B_SHIFT 5
220 #define DA9062AA_EVENTS_B_MASK BIT(5)
222 #define DA9062AA_EVENTS_C_MASK BIT(6)
226 #define DA9062AA_E_TEMP_MASK BIT(1)
228 #define DA9062AA_E_LDO_LIM_MASK BIT(3)
229 #define DA9062AA_E_DVC_RDY_SHIFT 5
230 #define DA9062AA_E_DVC_RDY_MASK BIT(5)
232 #define DA9062AA_E_VDD_WARN_MASK BIT(7)
238 #define DA9062AA_E_GPI1_MASK BIT(1)
240 #define DA9062AA_E_GPI2_MASK BIT(2)
242 #define DA9062AA_E_GPI3_MASK BIT(3)
244 #define DA9062AA_E_GPI4_MASK BIT(4)
250 #define DA9062AA_M_ALARM_MASK BIT(1)
252 #define DA9062AA_M_TICK_MASK BIT(2)
254 #define DA9062AA_M_WDG_WARN_MASK BIT(3)
256 #define DA9062AA_M_SEQ_RDY_MASK BIT(4)
260 #define DA9062AA_M_TEMP_MASK BIT(1)
262 #define DA9062AA_M_LDO_LIM_MASK BIT(3)
263 #define DA9062AA_M_DVC_RDY_SHIFT 5
264 #define DA9062AA_M_DVC_RDY_MASK BIT(5)
266 #define DA9062AA_M_VDD_WARN_MASK BIT(7)
272 #define DA9062AA_M_GPI1_MASK BIT(1)
274 #define DA9062AA_M_GPI2_MASK BIT(2)
276 #define DA9062AA_M_GPI3_MASK BIT(3)
278 #define DA9062AA_M_GPI4_MASK BIT(4)
284 #define DA9062AA_POWER_EN_MASK BIT(1)
286 #define DA9062AA_POWER1_EN_MASK BIT(2)
288 #define DA9062AA_STANDBY_MASK BIT(3)
290 #define DA9062AA_M_SYSTEM_EN_MASK BIT(4)
291 #define DA9062AA_M_POWER_EN_SHIFT 5
292 #define DA9062AA_M_POWER_EN_MASK BIT(5)
294 #define DA9062AA_M_POWER1_EN_MASK BIT(6)
298 #define DA9062AA_WATCHDOG_PD_MASK BIT(1)
300 #define DA9062AA_FREEZE_EN_MASK BIT(2)
302 #define DA9062AA_NRES_MODE_MASK BIT(3)
304 #define DA9062AA_NONKEY_LOCK_MASK BIT(4)
305 #define DA9062AA_NFREEZE_SHIFT 5
306 #define DA9062AA_NFREEZE_MASK (0x03 << 5)
308 #define DA9062AA_BUCK_SLOWSTART_MASK BIT(7)
314 #define DA9062AA_AUTO_BOOT_MASK BIT(3)
316 #define DA9062AA_OTPREAD_EN_MASK BIT(4)
317 #define DA9062AA_SLEW_RATE_SHIFT 5
318 #define DA9062AA_SLEW_RATE_MASK (0x03 << 5)
320 #define DA9062AA_DEF_SUPPLY_MASK BIT(7)
330 #define DA9062AA_RTC_MODE_SD_MASK BIT(1)
332 #define DA9062AA_RTC_EN_MASK BIT(2)
334 #define DA9062AA_V_LOCK_MASK BIT(7)
340 #define DA9062AA_SHUTDOWN_MASK BIT(1)
342 #define DA9062AA_WAKE_UP_MASK BIT(2)
348 #define DA9062AA_PMIF_DIS_MASK BIT(2)
350 #define DA9062AA_CLDR_PAUSE_MASK BIT(4)
351 #define DA9062AA_BBAT_DIS_SHIFT 5
352 #define DA9062AA_BBAT_DIS_MASK BIT(5)
354 #define DA9062AA_OUT32K_PAUSE_MASK BIT(6)
356 #define DA9062AA_PMCONT_DIS_MASK BIT(7)
362 #define DA9062AA_GPIO0_TYPE_MASK BIT(2)
364 #define DA9062AA_GPIO0_WEN_MASK BIT(3)
368 #define DA9062AA_GPIO1_TYPE_MASK BIT(6)
370 #define DA9062AA_GPIO1_WEN_MASK BIT(7)
376 #define DA9062AA_GPIO2_TYPE_MASK BIT(2)
378 #define DA9062AA_GPIO2_WEN_MASK BIT(3)
382 #define DA9062AA_GPIO3_TYPE_MASK BIT(6)
384 #define DA9062AA_GPIO3_WEN_MASK BIT(7)
390 #define DA9062AA_GPIO4_TYPE_MASK BIT(2)
392 #define DA9062AA_GPIO4_WEN_MASK BIT(3)
398 #define DA9062AA_GPIO1_WKUP_MODE_MASK BIT(1)
400 #define DA9062AA_GPIO2_WKUP_MODE_MASK BIT(2)
402 #define DA9062AA_GPIO3_WKUP_MODE_MASK BIT(3)
404 #define DA9062AA_GPIO4_WKUP_MODE_MASK BIT(4)
410 #define DA9062AA_GPIO1_MODE_MASK BIT(1)
412 #define DA9062AA_GPIO2_MODE_MASK BIT(2)
414 #define DA9062AA_GPIO3_MODE_MASK BIT(3)
416 #define DA9062AA_GPIO4_MODE_MASK BIT(4)
438 #define DA9062AA_BUCK2_CONF_MASK BIT(3)
439 #define DA9062AA_VBUCK2_GPI_SHIFT 5
440 #define DA9062AA_VBUCK2_GPI_MASK (0x03 << 5)
448 #define DA9062AA_BUCK1_CONF_MASK BIT(3)
449 #define DA9062AA_VBUCK1_GPI_SHIFT 5
450 #define DA9062AA_VBUCK1_GPI_MASK (0x03 << 5)
458 #define DA9062AA_BUCK4_CONF_MASK BIT(3)
459 #define DA9062AA_VBUCK4_GPI_SHIFT 5
460 #define DA9062AA_VBUCK4_GPI_MASK (0x03 << 5)
468 #define DA9062AA_BUCK3_CONF_MASK BIT(3)
469 #define DA9062AA_VBUCK3_GPI_SHIFT 5
470 #define DA9062AA_VBUCK3_GPI_MASK (0x03 << 5)
478 #define DA9062AA_LDO1_PD_DIS_MASK BIT(3)
479 #define DA9062AA_VLDO1_GPI_SHIFT 5
480 #define DA9062AA_VLDO1_GPI_MASK (0x03 << 5)
482 #define DA9062AA_LDO1_CONF_MASK BIT(7)
490 #define DA9062AA_LDO2_PD_DIS_MASK BIT(3)
491 #define DA9062AA_VLDO2_GPI_SHIFT 5
492 #define DA9062AA_VLDO2_GPI_MASK (0x03 << 5)
494 #define DA9062AA_LDO2_CONF_MASK BIT(7)
502 #define DA9062AA_LDO3_PD_DIS_MASK BIT(3)
503 #define DA9062AA_VLDO3_GPI_SHIFT 5
504 #define DA9062AA_VLDO3_GPI_MASK (0x03 << 5)
506 #define DA9062AA_LDO3_CONF_MASK BIT(7)
514 #define DA9062AA_LDO4_PD_DIS_MASK BIT(3)
515 #define DA9062AA_VLDO4_GPI_SHIFT 5
516 #define DA9062AA_VLDO4_GPI_MASK (0x03 << 5)
518 #define DA9062AA_LDO4_CONF_MASK BIT(7)
524 #define DA9062AA_VBUCK2_SEL_MASK BIT(1)
526 #define DA9062AA_VBUCK4_SEL_MASK BIT(2)
528 #define DA9062AA_VBUCK3_SEL_MASK BIT(3)
530 #define DA9062AA_VLDO1_SEL_MASK BIT(4)
531 #define DA9062AA_VLDO2_SEL_SHIFT 5
532 #define DA9062AA_VLDO2_SEL_MASK BIT(5)
534 #define DA9062AA_VLDO3_SEL_MASK BIT(6)
536 #define DA9062AA_VLDO4_SEL_MASK BIT(7)
542 #define DA9062AA_RTC_READ_MASK BIT(7)
564 #define DA9062AA_MONITOR_MASK BIT(6)
588 #define DA9062AA_TICK_TYPE_MASK BIT(4)
589 #define DA9062AA_TICK_WAKE_SHIFT 5
590 #define DA9062AA_TICK_WAKE_MASK BIT(5)
596 #define DA9062AA_ALARM_ON_MASK BIT(6)
598 #define DA9062AA_TICK_ON_MASK BIT(7)
708 #define DA9062AA_WAIT_MODE_MASK BIT(4)
709 #define DA9062AA_TIME_OUT_SHIFT 5
710 #define DA9062AA_TIME_OUT_MASK BIT(5)
718 #define DA9062AA_CRYSTAL_MASK BIT(3)
720 #define DA9062AA_DELAY_MODE_MASK BIT(4)
721 #define DA9062AA_OUT_CLOCK_SHIFT 5
722 #define DA9062AA_OUT_CLOCK_MASK BIT(5)
724 #define DA9062AA_RTC_CLOCK_MASK BIT(6)
726 #define DA9062AA_EN_32KOUT_MASK BIT(7)
749 #define DA9062AA_BUCK2_PD_DIS_SHIFT 5
750 #define DA9062AA_BUCK2_PD_DIS_MASK BIT(5)
755 #define DA9062AA_BUCK1_PD_DIS_SHIFT 5
756 #define DA9062AA_BUCK1_PD_DIS_MASK BIT(5)
762 #define DA9062AA_BUCK4_VTTR_EN_MASK BIT(3)
764 #define DA9062AA_BUCK4_VTT_EN_MASK BIT(4)
765 #define DA9062AA_BUCK4_PD_DIS_SHIFT 5
766 #define DA9062AA_BUCK4_PD_DIS_MASK BIT(5)
771 #define DA9062AA_BUCK3_PD_DIS_SHIFT 5
772 #define DA9062AA_BUCK3_PD_DIS_MASK BIT(5)
780 #define DA9062AA_BUCK2_SL_A_MASK BIT(7)
786 #define DA9062AA_BUCK1_SL_A_MASK BIT(7)
792 #define DA9062AA_BUCK4_SL_A_MASK BIT(7)
798 #define DA9062AA_BUCK3_SL_A_MASK BIT(7)
800 /* DA9062AA_VLDO[1-4]_A common */
807 #define DA9062AA_LDO1_SL_A_MASK BIT(7)
813 #define DA9062AA_LDO2_SL_A_MASK BIT(7)
819 #define DA9062AA_LDO3_SL_A_MASK BIT(7)
825 #define DA9062AA_LDO4_SL_A_MASK BIT(7)
831 #define DA9062AA_BUCK2_SL_B_MASK BIT(7)
837 #define DA9062AA_BUCK1_SL_B_MASK BIT(7)
843 #define DA9062AA_BUCK4_SL_B_MASK BIT(7)
849 #define DA9062AA_BUCK3_SL_B_MASK BIT(7)
855 #define DA9062AA_LDO1_SL_B_MASK BIT(7)
861 #define DA9062AA_LDO2_SL_B_MASK BIT(7)
867 #define DA9062AA_LDO3_SL_B_MASK BIT(7)
873 #define DA9062AA_LDO4_SL_B_MASK BIT(7)
889 #define DA9062AA_PM_O_TYPE_MASK BIT(2)
891 #define DA9062AA_IRQ_TYPE_MASK BIT(3)
893 #define DA9062AA_PM_IF_V_MASK BIT(4)
894 #define DA9062AA_PM_IF_FMP_SHIFT 5
895 #define DA9062AA_PM_IF_FMP_MASK BIT(5)
897 #define DA9062AA_PM_IF_HSM_MASK BIT(6)
907 #define DA9062AA_BUCK_ACTV_DISCHRG_MASK BIT(2)
909 #define DA9062AA_BUCK1_CLK_INV_MASK BIT(3)
911 #define DA9062AA_BUCK4_CLK_INV_MASK BIT(4)
913 #define DA9062AA_BUCK3_CLK_INV_MASK BIT(6)
919 #define DA9062AA_NIRQ_MODE_MASK BIT(1)
921 #define DA9062AA_SYSTEM_EN_RD_MASK BIT(2)
922 #define DA9062AA_FORCE_RESET_SHIFT 5
923 #define DA9062AA_FORCE_RESET_MASK BIT(5)
929 #define DA9062AA_BUCK2_AUTO_MASK BIT(1)
931 #define DA9062AA_BUCK4_AUTO_MASK BIT(2)
933 #define DA9062AA_BUCK3_AUTO_MASK BIT(4)
939 #define DA9062AA_LDO2_AUTO_MASK BIT(1)
941 #define DA9062AA_LDO3_AUTO_MASK BIT(2)
943 #define DA9062AA_LDO4_AUTO_MASK BIT(3)
947 #define DA9062AA_BUCK1_2_MERGE_MASK BIT(3)
948 #define DA9062AA_BUCK2_OD_SHIFT 5
949 #define DA9062AA_BUCK2_OD_MASK BIT(5)
951 #define DA9062AA_BUCK1_OD_MASK BIT(6)
957 #define DA9062AA_nONKEY_SD_MASK BIT(2)
959 #define DA9062AA_WATCHDOG_SD_MASK BIT(3)
961 #define DA9062AA_KEY_SD_MODE_MASK BIT(4)
962 #define DA9062AA_HOST_SD_MODE_SHIFT 5
963 #define DA9062AA_HOST_SD_MODE_MASK BIT(5)
965 #define DA9062AA_INT_SD_MODE_MASK BIT(6)
967 #define DA9062AA_LDO_SD_MASK BIT(7)
977 #define DA9062AA_TWOWIRE_TO_MASK BIT(6)
979 #define DA9062AA_IF_RESET_MASK BIT(7)
985 #define DA9062AA_GPIO1_PUPD_MASK BIT(1)
987 #define DA9062AA_GPIO2_PUPD_MASK BIT(2)
989 #define DA9062AA_GPIO3_PUPD_MASK BIT(3)
991 #define DA9062AA_GPIO4_PUPD_MASK BIT(4)
995 #define DA9062AA_NSHUTDOWN_PU_MASK BIT(1)
997 #define DA9062AA_WDG_MODE_MASK BIT(3)