linux/include/linux/mfd/wm831x/irq.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * include/linux/mfd/wm831x/irq.h -- Interrupt controller for WM831x
 *
 * Copyright 2009 Wolfson Microelectronics PLC.
 *
 * Author: Mark Brown <[email protected]>
 */

#ifndef __MFD_WM831X_IRQ_H__
#define __MFD_WM831X_IRQ_H__

/* Interrupt number assignments within Linux */
#define WM831X_IRQ_TEMP_THW
#define WM831X_IRQ_GPIO_1
#define WM831X_IRQ_GPIO_2
#define WM831X_IRQ_GPIO_3
#define WM831X_IRQ_GPIO_4
#define WM831X_IRQ_GPIO_5
#define WM831X_IRQ_GPIO_6
#define WM831X_IRQ_GPIO_7
#define WM831X_IRQ_GPIO_8
#define WM831X_IRQ_GPIO_9
#define WM831X_IRQ_GPIO_10
#define WM831X_IRQ_GPIO_11
#define WM831X_IRQ_GPIO_12
#define WM831X_IRQ_GPIO_13
#define WM831X_IRQ_GPIO_14
#define WM831X_IRQ_GPIO_15
#define WM831X_IRQ_GPIO_16
#define WM831X_IRQ_ON
#define WM831X_IRQ_PPM_SYSLO
#define WM831X_IRQ_PPM_PWR_SRC
#define WM831X_IRQ_PPM_USB_CURR
#define WM831X_IRQ_WDOG_TO
#define WM831X_IRQ_RTC_PER
#define WM831X_IRQ_RTC_ALM
#define WM831X_IRQ_CHG_BATT_HOT
#define WM831X_IRQ_CHG_BATT_COLD
#define WM831X_IRQ_CHG_BATT_FAIL
#define WM831X_IRQ_CHG_OV
#define WM831X_IRQ_CHG_END
#define WM831X_IRQ_CHG_TO
#define WM831X_IRQ_CHG_MODE
#define WM831X_IRQ_CHG_START
#define WM831X_IRQ_TCHDATA
#define WM831X_IRQ_TCHPD
#define WM831X_IRQ_AUXADC_DATA
#define WM831X_IRQ_AUXADC_DCOMP1
#define WM831X_IRQ_AUXADC_DCOMP2
#define WM831X_IRQ_AUXADC_DCOMP3
#define WM831X_IRQ_AUXADC_DCOMP4
#define WM831X_IRQ_CS1
#define WM831X_IRQ_CS2
#define WM831X_IRQ_HC_DC1
#define WM831X_IRQ_HC_DC2
#define WM831X_IRQ_UV_LDO1
#define WM831X_IRQ_UV_LDO2
#define WM831X_IRQ_UV_LDO3
#define WM831X_IRQ_UV_LDO4
#define WM831X_IRQ_UV_LDO5
#define WM831X_IRQ_UV_LDO6
#define WM831X_IRQ_UV_LDO7
#define WM831X_IRQ_UV_LDO8
#define WM831X_IRQ_UV_LDO9
#define WM831X_IRQ_UV_LDO10
#define WM831X_IRQ_UV_DC1
#define WM831X_IRQ_UV_DC2
#define WM831X_IRQ_UV_DC3
#define WM831X_IRQ_UV_DC4

#define WM831X_NUM_IRQS

/*
 * R16400 (0x4010) - System Interrupts
 */
#define WM831X_PS_INT
#define WM831X_PS_INT_MASK
#define WM831X_PS_INT_SHIFT
#define WM831X_PS_INT_WIDTH
#define WM831X_TEMP_INT
#define WM831X_TEMP_INT_MASK
#define WM831X_TEMP_INT_SHIFT
#define WM831X_TEMP_INT_WIDTH
#define WM831X_GP_INT
#define WM831X_GP_INT_MASK
#define WM831X_GP_INT_SHIFT
#define WM831X_GP_INT_WIDTH
#define WM831X_ON_PIN_INT
#define WM831X_ON_PIN_INT_MASK
#define WM831X_ON_PIN_INT_SHIFT
#define WM831X_ON_PIN_INT_WIDTH
#define WM831X_WDOG_INT
#define WM831X_WDOG_INT_MASK
#define WM831X_WDOG_INT_SHIFT
#define WM831X_WDOG_INT_WIDTH
#define WM831X_TCHDATA_INT
#define WM831X_TCHDATA_INT_MASK
#define WM831X_TCHDATA_INT_SHIFT
#define WM831X_TCHDATA_INT_WIDTH
#define WM831X_TCHPD_INT
#define WM831X_TCHPD_INT_MASK
#define WM831X_TCHPD_INT_SHIFT
#define WM831X_TCHPD_INT_WIDTH
#define WM831X_AUXADC_INT
#define WM831X_AUXADC_INT_MASK
#define WM831X_AUXADC_INT_SHIFT
#define WM831X_AUXADC_INT_WIDTH
#define WM831X_PPM_INT
#define WM831X_PPM_INT_MASK
#define WM831X_PPM_INT_SHIFT
#define WM831X_PPM_INT_WIDTH
#define WM831X_CS_INT
#define WM831X_CS_INT_MASK
#define WM831X_CS_INT_SHIFT
#define WM831X_CS_INT_WIDTH
#define WM831X_RTC_INT
#define WM831X_RTC_INT_MASK
#define WM831X_RTC_INT_SHIFT
#define WM831X_RTC_INT_WIDTH
#define WM831X_OTP_INT
#define WM831X_OTP_INT_MASK
#define WM831X_OTP_INT_SHIFT
#define WM831X_OTP_INT_WIDTH
#define WM831X_CHILD_INT
#define WM831X_CHILD_INT_MASK
#define WM831X_CHILD_INT_SHIFT
#define WM831X_CHILD_INT_WIDTH
#define WM831X_CHG_INT
#define WM831X_CHG_INT_MASK
#define WM831X_CHG_INT_SHIFT
#define WM831X_CHG_INT_WIDTH
#define WM831X_HC_INT
#define WM831X_HC_INT_MASK
#define WM831X_HC_INT_SHIFT
#define WM831X_HC_INT_WIDTH
#define WM831X_UV_INT
#define WM831X_UV_INT_MASK
#define WM831X_UV_INT_SHIFT
#define WM831X_UV_INT_WIDTH

/*
 * R16401 (0x4011) - Interrupt Status 1
 */
#define WM831X_PPM_SYSLO_EINT
#define WM831X_PPM_SYSLO_EINT_MASK
#define WM831X_PPM_SYSLO_EINT_SHIFT
#define WM831X_PPM_SYSLO_EINT_WIDTH
#define WM831X_PPM_PWR_SRC_EINT
#define WM831X_PPM_PWR_SRC_EINT_MASK
#define WM831X_PPM_PWR_SRC_EINT_SHIFT
#define WM831X_PPM_PWR_SRC_EINT_WIDTH
#define WM831X_PPM_USB_CURR_EINT
#define WM831X_PPM_USB_CURR_EINT_MASK
#define WM831X_PPM_USB_CURR_EINT_SHIFT
#define WM831X_PPM_USB_CURR_EINT_WIDTH
#define WM831X_ON_PIN_EINT
#define WM831X_ON_PIN_EINT_MASK
#define WM831X_ON_PIN_EINT_SHIFT
#define WM831X_ON_PIN_EINT_WIDTH
#define WM831X_WDOG_TO_EINT
#define WM831X_WDOG_TO_EINT_MASK
#define WM831X_WDOG_TO_EINT_SHIFT
#define WM831X_WDOG_TO_EINT_WIDTH
#define WM831X_TCHDATA_EINT
#define WM831X_TCHDATA_EINT_MASK
#define WM831X_TCHDATA_EINT_SHIFT
#define WM831X_TCHDATA_EINT_WIDTH
#define WM831X_TCHPD_EINT
#define WM831X_TCHPD_EINT_MASK
#define WM831X_TCHPD_EINT_SHIFT
#define WM831X_TCHPD_EINT_WIDTH
#define WM831X_AUXADC_DATA_EINT
#define WM831X_AUXADC_DATA_EINT_MASK
#define WM831X_AUXADC_DATA_EINT_SHIFT
#define WM831X_AUXADC_DATA_EINT_WIDTH
#define WM831X_AUXADC_DCOMP4_EINT
#define WM831X_AUXADC_DCOMP4_EINT_MASK
#define WM831X_AUXADC_DCOMP4_EINT_SHIFT
#define WM831X_AUXADC_DCOMP4_EINT_WIDTH
#define WM831X_AUXADC_DCOMP3_EINT
#define WM831X_AUXADC_DCOMP3_EINT_MASK
#define WM831X_AUXADC_DCOMP3_EINT_SHIFT
#define WM831X_AUXADC_DCOMP3_EINT_WIDTH
#define WM831X_AUXADC_DCOMP2_EINT
#define WM831X_AUXADC_DCOMP2_EINT_MASK
#define WM831X_AUXADC_DCOMP2_EINT_SHIFT
#define WM831X_AUXADC_DCOMP2_EINT_WIDTH
#define WM831X_AUXADC_DCOMP1_EINT
#define WM831X_AUXADC_DCOMP1_EINT_MASK
#define WM831X_AUXADC_DCOMP1_EINT_SHIFT
#define WM831X_AUXADC_DCOMP1_EINT_WIDTH
#define WM831X_RTC_PER_EINT
#define WM831X_RTC_PER_EINT_MASK
#define WM831X_RTC_PER_EINT_SHIFT
#define WM831X_RTC_PER_EINT_WIDTH
#define WM831X_RTC_ALM_EINT
#define WM831X_RTC_ALM_EINT_MASK
#define WM831X_RTC_ALM_EINT_SHIFT
#define WM831X_RTC_ALM_EINT_WIDTH
#define WM831X_TEMP_THW_EINT
#define WM831X_TEMP_THW_EINT_MASK
#define WM831X_TEMP_THW_EINT_SHIFT
#define WM831X_TEMP_THW_EINT_WIDTH

/*
 * R16402 (0x4012) - Interrupt Status 2
 */
#define WM831X_CHG_BATT_HOT_EINT
#define WM831X_CHG_BATT_HOT_EINT_MASK
#define WM831X_CHG_BATT_HOT_EINT_SHIFT
#define WM831X_CHG_BATT_HOT_EINT_WIDTH
#define WM831X_CHG_BATT_COLD_EINT
#define WM831X_CHG_BATT_COLD_EINT_MASK
#define WM831X_CHG_BATT_COLD_EINT_SHIFT
#define WM831X_CHG_BATT_COLD_EINT_WIDTH
#define WM831X_CHG_BATT_FAIL_EINT
#define WM831X_CHG_BATT_FAIL_EINT_MASK
#define WM831X_CHG_BATT_FAIL_EINT_SHIFT
#define WM831X_CHG_BATT_FAIL_EINT_WIDTH
#define WM831X_CHG_OV_EINT
#define WM831X_CHG_OV_EINT_MASK
#define WM831X_CHG_OV_EINT_SHIFT
#define WM831X_CHG_OV_EINT_WIDTH
#define WM831X_CHG_END_EINT
#define WM831X_CHG_END_EINT_MASK
#define WM831X_CHG_END_EINT_SHIFT
#define WM831X_CHG_END_EINT_WIDTH
#define WM831X_CHG_TO_EINT
#define WM831X_CHG_TO_EINT_MASK
#define WM831X_CHG_TO_EINT_SHIFT
#define WM831X_CHG_TO_EINT_WIDTH
#define WM831X_CHG_MODE_EINT
#define WM831X_CHG_MODE_EINT_MASK
#define WM831X_CHG_MODE_EINT_SHIFT
#define WM831X_CHG_MODE_EINT_WIDTH
#define WM831X_CHG_START_EINT
#define WM831X_CHG_START_EINT_MASK
#define WM831X_CHG_START_EINT_SHIFT
#define WM831X_CHG_START_EINT_WIDTH
#define WM831X_CS2_EINT
#define WM831X_CS2_EINT_MASK
#define WM831X_CS2_EINT_SHIFT
#define WM831X_CS2_EINT_WIDTH
#define WM831X_CS1_EINT
#define WM831X_CS1_EINT_MASK
#define WM831X_CS1_EINT_SHIFT
#define WM831X_CS1_EINT_WIDTH
#define WM831X_OTP_CMD_END_EINT
#define WM831X_OTP_CMD_END_EINT_MASK
#define WM831X_OTP_CMD_END_EINT_SHIFT
#define WM831X_OTP_CMD_END_EINT_WIDTH
#define WM831X_OTP_ERR_EINT
#define WM831X_OTP_ERR_EINT_MASK
#define WM831X_OTP_ERR_EINT_SHIFT
#define WM831X_OTP_ERR_EINT_WIDTH
#define WM831X_PS_POR_EINT
#define WM831X_PS_POR_EINT_MASK
#define WM831X_PS_POR_EINT_SHIFT
#define WM831X_PS_POR_EINT_WIDTH
#define WM831X_PS_SLEEP_OFF_EINT
#define WM831X_PS_SLEEP_OFF_EINT_MASK
#define WM831X_PS_SLEEP_OFF_EINT_SHIFT
#define WM831X_PS_SLEEP_OFF_EINT_WIDTH
#define WM831X_PS_ON_WAKE_EINT
#define WM831X_PS_ON_WAKE_EINT_MASK
#define WM831X_PS_ON_WAKE_EINT_SHIFT
#define WM831X_PS_ON_WAKE_EINT_WIDTH

/*
 * R16403 (0x4013) - Interrupt Status 3
 */
#define WM831X_UV_LDO10_EINT
#define WM831X_UV_LDO10_EINT_MASK
#define WM831X_UV_LDO10_EINT_SHIFT
#define WM831X_UV_LDO10_EINT_WIDTH
#define WM831X_UV_LDO9_EINT
#define WM831X_UV_LDO9_EINT_MASK
#define WM831X_UV_LDO9_EINT_SHIFT
#define WM831X_UV_LDO9_EINT_WIDTH
#define WM831X_UV_LDO8_EINT
#define WM831X_UV_LDO8_EINT_MASK
#define WM831X_UV_LDO8_EINT_SHIFT
#define WM831X_UV_LDO8_EINT_WIDTH
#define WM831X_UV_LDO7_EINT
#define WM831X_UV_LDO7_EINT_MASK
#define WM831X_UV_LDO7_EINT_SHIFT
#define WM831X_UV_LDO7_EINT_WIDTH
#define WM831X_UV_LDO6_EINT
#define WM831X_UV_LDO6_EINT_MASK
#define WM831X_UV_LDO6_EINT_SHIFT
#define WM831X_UV_LDO6_EINT_WIDTH
#define WM831X_UV_LDO5_EINT
#define WM831X_UV_LDO5_EINT_MASK
#define WM831X_UV_LDO5_EINT_SHIFT
#define WM831X_UV_LDO5_EINT_WIDTH
#define WM831X_UV_LDO4_EINT
#define WM831X_UV_LDO4_EINT_MASK
#define WM831X_UV_LDO4_EINT_SHIFT
#define WM831X_UV_LDO4_EINT_WIDTH
#define WM831X_UV_LDO3_EINT
#define WM831X_UV_LDO3_EINT_MASK
#define WM831X_UV_LDO3_EINT_SHIFT
#define WM831X_UV_LDO3_EINT_WIDTH
#define WM831X_UV_LDO2_EINT
#define WM831X_UV_LDO2_EINT_MASK
#define WM831X_UV_LDO2_EINT_SHIFT
#define WM831X_UV_LDO2_EINT_WIDTH
#define WM831X_UV_LDO1_EINT
#define WM831X_UV_LDO1_EINT_MASK
#define WM831X_UV_LDO1_EINT_SHIFT
#define WM831X_UV_LDO1_EINT_WIDTH

/*
 * R16404 (0x4014) - Interrupt Status 4
 */
#define WM831X_HC_DC2_EINT
#define WM831X_HC_DC2_EINT_MASK
#define WM831X_HC_DC2_EINT_SHIFT
#define WM831X_HC_DC2_EINT_WIDTH
#define WM831X_HC_DC1_EINT
#define WM831X_HC_DC1_EINT_MASK
#define WM831X_HC_DC1_EINT_SHIFT
#define WM831X_HC_DC1_EINT_WIDTH
#define WM831X_UV_DC4_EINT
#define WM831X_UV_DC4_EINT_MASK
#define WM831X_UV_DC4_EINT_SHIFT
#define WM831X_UV_DC4_EINT_WIDTH
#define WM831X_UV_DC3_EINT
#define WM831X_UV_DC3_EINT_MASK
#define WM831X_UV_DC3_EINT_SHIFT
#define WM831X_UV_DC3_EINT_WIDTH
#define WM831X_UV_DC2_EINT
#define WM831X_UV_DC2_EINT_MASK
#define WM831X_UV_DC2_EINT_SHIFT
#define WM831X_UV_DC2_EINT_WIDTH
#define WM831X_UV_DC1_EINT
#define WM831X_UV_DC1_EINT_MASK
#define WM831X_UV_DC1_EINT_SHIFT
#define WM831X_UV_DC1_EINT_WIDTH

/*
 * R16405 (0x4015) - Interrupt Status 5
 */
#define WM831X_GP16_EINT
#define WM831X_GP16_EINT_MASK
#define WM831X_GP16_EINT_SHIFT
#define WM831X_GP16_EINT_WIDTH
#define WM831X_GP15_EINT
#define WM831X_GP15_EINT_MASK
#define WM831X_GP15_EINT_SHIFT
#define WM831X_GP15_EINT_WIDTH
#define WM831X_GP14_EINT
#define WM831X_GP14_EINT_MASK
#define WM831X_GP14_EINT_SHIFT
#define WM831X_GP14_EINT_WIDTH
#define WM831X_GP13_EINT
#define WM831X_GP13_EINT_MASK
#define WM831X_GP13_EINT_SHIFT
#define WM831X_GP13_EINT_WIDTH
#define WM831X_GP12_EINT
#define WM831X_GP12_EINT_MASK
#define WM831X_GP12_EINT_SHIFT
#define WM831X_GP12_EINT_WIDTH
#define WM831X_GP11_EINT
#define WM831X_GP11_EINT_MASK
#define WM831X_GP11_EINT_SHIFT
#define WM831X_GP11_EINT_WIDTH
#define WM831X_GP10_EINT
#define WM831X_GP10_EINT_MASK
#define WM831X_GP10_EINT_SHIFT
#define WM831X_GP10_EINT_WIDTH
#define WM831X_GP9_EINT
#define WM831X_GP9_EINT_MASK
#define WM831X_GP9_EINT_SHIFT
#define WM831X_GP9_EINT_WIDTH
#define WM831X_GP8_EINT
#define WM831X_GP8_EINT_MASK
#define WM831X_GP8_EINT_SHIFT
#define WM831X_GP8_EINT_WIDTH
#define WM831X_GP7_EINT
#define WM831X_GP7_EINT_MASK
#define WM831X_GP7_EINT_SHIFT
#define WM831X_GP7_EINT_WIDTH
#define WM831X_GP6_EINT
#define WM831X_GP6_EINT_MASK
#define WM831X_GP6_EINT_SHIFT
#define WM831X_GP6_EINT_WIDTH
#define WM831X_GP5_EINT
#define WM831X_GP5_EINT_MASK
#define WM831X_GP5_EINT_SHIFT
#define WM831X_GP5_EINT_WIDTH
#define WM831X_GP4_EINT
#define WM831X_GP4_EINT_MASK
#define WM831X_GP4_EINT_SHIFT
#define WM831X_GP4_EINT_WIDTH
#define WM831X_GP3_EINT
#define WM831X_GP3_EINT_MASK
#define WM831X_GP3_EINT_SHIFT
#define WM831X_GP3_EINT_WIDTH
#define WM831X_GP2_EINT
#define WM831X_GP2_EINT_MASK
#define WM831X_GP2_EINT_SHIFT
#define WM831X_GP2_EINT_WIDTH
#define WM831X_GP1_EINT
#define WM831X_GP1_EINT_MASK
#define WM831X_GP1_EINT_SHIFT
#define WM831X_GP1_EINT_WIDTH

/*
 * R16407 (0x4017) - IRQ Config
 */
#define WM831X_IRQ_OD
#define WM831X_IRQ_OD_MASK
#define WM831X_IRQ_OD_SHIFT
#define WM831X_IRQ_OD_WIDTH
#define WM831X_IM_IRQ
#define WM831X_IM_IRQ_MASK
#define WM831X_IM_IRQ_SHIFT
#define WM831X_IM_IRQ_WIDTH

/*
 * R16408 (0x4018) - System Interrupts Mask
 */
#define WM831X_IM_PS_INT
#define WM831X_IM_PS_INT_MASK
#define WM831X_IM_PS_INT_SHIFT
#define WM831X_IM_PS_INT_WIDTH
#define WM831X_IM_TEMP_INT
#define WM831X_IM_TEMP_INT_MASK
#define WM831X_IM_TEMP_INT_SHIFT
#define WM831X_IM_TEMP_INT_WIDTH
#define WM831X_IM_GP_INT
#define WM831X_IM_GP_INT_MASK
#define WM831X_IM_GP_INT_SHIFT
#define WM831X_IM_GP_INT_WIDTH
#define WM831X_IM_ON_PIN_INT
#define WM831X_IM_ON_PIN_INT_MASK
#define WM831X_IM_ON_PIN_INT_SHIFT
#define WM831X_IM_ON_PIN_INT_WIDTH
#define WM831X_IM_WDOG_INT
#define WM831X_IM_WDOG_INT_MASK
#define WM831X_IM_WDOG_INT_SHIFT
#define WM831X_IM_WDOG_INT_WIDTH
#define WM831X_IM_TCHDATA_INT
#define WM831X_IM_TCHDATA_INT_MASK
#define WM831X_IM_TCHDATA_INT_SHIFT
#define WM831X_IM_TCHDATA_INT_WIDTH
#define WM831X_IM_TCHPD_INT
#define WM831X_IM_TCHPD_INT_MASK
#define WM831X_IM_TCHPD_INT_SHIFT
#define WM831X_IM_TCHPD_INT_WIDTH
#define WM831X_IM_AUXADC_INT
#define WM831X_IM_AUXADC_INT_MASK
#define WM831X_IM_AUXADC_INT_SHIFT
#define WM831X_IM_AUXADC_INT_WIDTH
#define WM831X_IM_PPM_INT
#define WM831X_IM_PPM_INT_MASK
#define WM831X_IM_PPM_INT_SHIFT
#define WM831X_IM_PPM_INT_WIDTH
#define WM831X_IM_CS_INT
#define WM831X_IM_CS_INT_MASK
#define WM831X_IM_CS_INT_SHIFT
#define WM831X_IM_CS_INT_WIDTH
#define WM831X_IM_RTC_INT
#define WM831X_IM_RTC_INT_MASK
#define WM831X_IM_RTC_INT_SHIFT
#define WM831X_IM_RTC_INT_WIDTH
#define WM831X_IM_OTP_INT
#define WM831X_IM_OTP_INT_MASK
#define WM831X_IM_OTP_INT_SHIFT
#define WM831X_IM_OTP_INT_WIDTH
#define WM831X_IM_CHILD_INT
#define WM831X_IM_CHILD_INT_MASK
#define WM831X_IM_CHILD_INT_SHIFT
#define WM831X_IM_CHILD_INT_WIDTH
#define WM831X_IM_CHG_INT
#define WM831X_IM_CHG_INT_MASK
#define WM831X_IM_CHG_INT_SHIFT
#define WM831X_IM_CHG_INT_WIDTH
#define WM831X_IM_HC_INT
#define WM831X_IM_HC_INT_MASK
#define WM831X_IM_HC_INT_SHIFT
#define WM831X_IM_HC_INT_WIDTH
#define WM831X_IM_UV_INT
#define WM831X_IM_UV_INT_MASK
#define WM831X_IM_UV_INT_SHIFT
#define WM831X_IM_UV_INT_WIDTH

/*
 * R16409 (0x4019) - Interrupt Status 1 Mask
 */
#define WM831X_IM_PPM_SYSLO_EINT
#define WM831X_IM_PPM_SYSLO_EINT_MASK
#define WM831X_IM_PPM_SYSLO_EINT_SHIFT
#define WM831X_IM_PPM_SYSLO_EINT_WIDTH
#define WM831X_IM_PPM_PWR_SRC_EINT
#define WM831X_IM_PPM_PWR_SRC_EINT_MASK
#define WM831X_IM_PPM_PWR_SRC_EINT_SHIFT
#define WM831X_IM_PPM_PWR_SRC_EINT_WIDTH
#define WM831X_IM_PPM_USB_CURR_EINT
#define WM831X_IM_PPM_USB_CURR_EINT_MASK
#define WM831X_IM_PPM_USB_CURR_EINT_SHIFT
#define WM831X_IM_PPM_USB_CURR_EINT_WIDTH
#define WM831X_IM_ON_PIN_EINT
#define WM831X_IM_ON_PIN_EINT_MASK
#define WM831X_IM_ON_PIN_EINT_SHIFT
#define WM831X_IM_ON_PIN_EINT_WIDTH
#define WM831X_IM_WDOG_TO_EINT
#define WM831X_IM_WDOG_TO_EINT_MASK
#define WM831X_IM_WDOG_TO_EINT_SHIFT
#define WM831X_IM_WDOG_TO_EINT_WIDTH
#define WM831X_IM_TCHDATA_EINT
#define WM831X_IM_TCHDATA_EINT_MASK
#define WM831X_IM_TCHDATA_EINT_SHIFT
#define WM831X_IM_TCHDATA_EINT_WIDTH
#define WM831X_IM_TCHPD_EINT
#define WM831X_IM_TCHPD_EINT_MASK
#define WM831X_IM_TCHPD_EINT_SHIFT
#define WM831X_IM_TCHPD_EINT_WIDTH
#define WM831X_IM_AUXADC_DATA_EINT
#define WM831X_IM_AUXADC_DATA_EINT_MASK
#define WM831X_IM_AUXADC_DATA_EINT_SHIFT
#define WM831X_IM_AUXADC_DATA_EINT_WIDTH
#define WM831X_IM_AUXADC_DCOMP4_EINT
#define WM831X_IM_AUXADC_DCOMP4_EINT_MASK
#define WM831X_IM_AUXADC_DCOMP4_EINT_SHIFT
#define WM831X_IM_AUXADC_DCOMP4_EINT_WIDTH
#define WM831X_IM_AUXADC_DCOMP3_EINT
#define WM831X_IM_AUXADC_DCOMP3_EINT_MASK
#define WM831X_IM_AUXADC_DCOMP3_EINT_SHIFT
#define WM831X_IM_AUXADC_DCOMP3_EINT_WIDTH
#define WM831X_IM_AUXADC_DCOMP2_EINT
#define WM831X_IM_AUXADC_DCOMP2_EINT_MASK
#define WM831X_IM_AUXADC_DCOMP2_EINT_SHIFT
#define WM831X_IM_AUXADC_DCOMP2_EINT_WIDTH
#define WM831X_IM_AUXADC_DCOMP1_EINT
#define WM831X_IM_AUXADC_DCOMP1_EINT_MASK
#define WM831X_IM_AUXADC_DCOMP1_EINT_SHIFT
#define WM831X_IM_AUXADC_DCOMP1_EINT_WIDTH
#define WM831X_IM_RTC_PER_EINT
#define WM831X_IM_RTC_PER_EINT_MASK
#define WM831X_IM_RTC_PER_EINT_SHIFT
#define WM831X_IM_RTC_PER_EINT_WIDTH
#define WM831X_IM_RTC_ALM_EINT
#define WM831X_IM_RTC_ALM_EINT_MASK
#define WM831X_IM_RTC_ALM_EINT_SHIFT
#define WM831X_IM_RTC_ALM_EINT_WIDTH
#define WM831X_IM_TEMP_THW_EINT
#define WM831X_IM_TEMP_THW_EINT_MASK
#define WM831X_IM_TEMP_THW_EINT_SHIFT
#define WM831X_IM_TEMP_THW_EINT_WIDTH

/*
 * R16410 (0x401A) - Interrupt Status 2 Mask
 */
#define WM831X_IM_CHG_BATT_HOT_EINT
#define WM831X_IM_CHG_BATT_HOT_EINT_MASK
#define WM831X_IM_CHG_BATT_HOT_EINT_SHIFT
#define WM831X_IM_CHG_BATT_HOT_EINT_WIDTH
#define WM831X_IM_CHG_BATT_COLD_EINT
#define WM831X_IM_CHG_BATT_COLD_EINT_MASK
#define WM831X_IM_CHG_BATT_COLD_EINT_SHIFT
#define WM831X_IM_CHG_BATT_COLD_EINT_WIDTH
#define WM831X_IM_CHG_BATT_FAIL_EINT
#define WM831X_IM_CHG_BATT_FAIL_EINT_MASK
#define WM831X_IM_CHG_BATT_FAIL_EINT_SHIFT
#define WM831X_IM_CHG_BATT_FAIL_EINT_WIDTH
#define WM831X_IM_CHG_OV_EINT
#define WM831X_IM_CHG_OV_EINT_MASK
#define WM831X_IM_CHG_OV_EINT_SHIFT
#define WM831X_IM_CHG_OV_EINT_WIDTH
#define WM831X_IM_CHG_END_EINT
#define WM831X_IM_CHG_END_EINT_MASK
#define WM831X_IM_CHG_END_EINT_SHIFT
#define WM831X_IM_CHG_END_EINT_WIDTH
#define WM831X_IM_CHG_TO_EINT
#define WM831X_IM_CHG_TO_EINT_MASK
#define WM831X_IM_CHG_TO_EINT_SHIFT
#define WM831X_IM_CHG_TO_EINT_WIDTH
#define WM831X_IM_CHG_MODE_EINT
#define WM831X_IM_CHG_MODE_EINT_MASK
#define WM831X_IM_CHG_MODE_EINT_SHIFT
#define WM831X_IM_CHG_MODE_EINT_WIDTH
#define WM831X_IM_CHG_START_EINT
#define WM831X_IM_CHG_START_EINT_MASK
#define WM831X_IM_CHG_START_EINT_SHIFT
#define WM831X_IM_CHG_START_EINT_WIDTH
#define WM831X_IM_CS2_EINT
#define WM831X_IM_CS2_EINT_MASK
#define WM831X_IM_CS2_EINT_SHIFT
#define WM831X_IM_CS2_EINT_WIDTH
#define WM831X_IM_CS1_EINT
#define WM831X_IM_CS1_EINT_MASK
#define WM831X_IM_CS1_EINT_SHIFT
#define WM831X_IM_CS1_EINT_WIDTH
#define WM831X_IM_OTP_CMD_END_EINT
#define WM831X_IM_OTP_CMD_END_EINT_MASK
#define WM831X_IM_OTP_CMD_END_EINT_SHIFT
#define WM831X_IM_OTP_CMD_END_EINT_WIDTH
#define WM831X_IM_OTP_ERR_EINT
#define WM831X_IM_OTP_ERR_EINT_MASK
#define WM831X_IM_OTP_ERR_EINT_SHIFT
#define WM831X_IM_OTP_ERR_EINT_WIDTH
#define WM831X_IM_PS_POR_EINT
#define WM831X_IM_PS_POR_EINT_MASK
#define WM831X_IM_PS_POR_EINT_SHIFT
#define WM831X_IM_PS_POR_EINT_WIDTH
#define WM831X_IM_PS_SLEEP_OFF_EINT
#define WM831X_IM_PS_SLEEP_OFF_EINT_MASK
#define WM831X_IM_PS_SLEEP_OFF_EINT_SHIFT
#define WM831X_IM_PS_SLEEP_OFF_EINT_WIDTH
#define WM831X_IM_PS_ON_WAKE_EINT
#define WM831X_IM_PS_ON_WAKE_EINT_MASK
#define WM831X_IM_PS_ON_WAKE_EINT_SHIFT
#define WM831X_IM_PS_ON_WAKE_EINT_WIDTH

/*
 * R16411 (0x401B) - Interrupt Status 3 Mask
 */
#define WM831X_IM_UV_LDO10_EINT
#define WM831X_IM_UV_LDO10_EINT_MASK
#define WM831X_IM_UV_LDO10_EINT_SHIFT
#define WM831X_IM_UV_LDO10_EINT_WIDTH
#define WM831X_IM_UV_LDO9_EINT
#define WM831X_IM_UV_LDO9_EINT_MASK
#define WM831X_IM_UV_LDO9_EINT_SHIFT
#define WM831X_IM_UV_LDO9_EINT_WIDTH
#define WM831X_IM_UV_LDO8_EINT
#define WM831X_IM_UV_LDO8_EINT_MASK
#define WM831X_IM_UV_LDO8_EINT_SHIFT
#define WM831X_IM_UV_LDO8_EINT_WIDTH
#define WM831X_IM_UV_LDO7_EINT
#define WM831X_IM_UV_LDO7_EINT_MASK
#define WM831X_IM_UV_LDO7_EINT_SHIFT
#define WM831X_IM_UV_LDO7_EINT_WIDTH
#define WM831X_IM_UV_LDO6_EINT
#define WM831X_IM_UV_LDO6_EINT_MASK
#define WM831X_IM_UV_LDO6_EINT_SHIFT
#define WM831X_IM_UV_LDO6_EINT_WIDTH
#define WM831X_IM_UV_LDO5_EINT
#define WM831X_IM_UV_LDO5_EINT_MASK
#define WM831X_IM_UV_LDO5_EINT_SHIFT
#define WM831X_IM_UV_LDO5_EINT_WIDTH
#define WM831X_IM_UV_LDO4_EINT
#define WM831X_IM_UV_LDO4_EINT_MASK
#define WM831X_IM_UV_LDO4_EINT_SHIFT
#define WM831X_IM_UV_LDO4_EINT_WIDTH
#define WM831X_IM_UV_LDO3_EINT
#define WM831X_IM_UV_LDO3_EINT_MASK
#define WM831X_IM_UV_LDO3_EINT_SHIFT
#define WM831X_IM_UV_LDO3_EINT_WIDTH
#define WM831X_IM_UV_LDO2_EINT
#define WM831X_IM_UV_LDO2_EINT_MASK
#define WM831X_IM_UV_LDO2_EINT_SHIFT
#define WM831X_IM_UV_LDO2_EINT_WIDTH
#define WM831X_IM_UV_LDO1_EINT
#define WM831X_IM_UV_LDO1_EINT_MASK
#define WM831X_IM_UV_LDO1_EINT_SHIFT
#define WM831X_IM_UV_LDO1_EINT_WIDTH

/*
 * R16412 (0x401C) - Interrupt Status 4 Mask
 */
#define WM831X_IM_HC_DC2_EINT
#define WM831X_IM_HC_DC2_EINT_MASK
#define WM831X_IM_HC_DC2_EINT_SHIFT
#define WM831X_IM_HC_DC2_EINT_WIDTH
#define WM831X_IM_HC_DC1_EINT
#define WM831X_IM_HC_DC1_EINT_MASK
#define WM831X_IM_HC_DC1_EINT_SHIFT
#define WM831X_IM_HC_DC1_EINT_WIDTH
#define WM831X_IM_UV_DC4_EINT
#define WM831X_IM_UV_DC4_EINT_MASK
#define WM831X_IM_UV_DC4_EINT_SHIFT
#define WM831X_IM_UV_DC4_EINT_WIDTH
#define WM831X_IM_UV_DC3_EINT
#define WM831X_IM_UV_DC3_EINT_MASK
#define WM831X_IM_UV_DC3_EINT_SHIFT
#define WM831X_IM_UV_DC3_EINT_WIDTH
#define WM831X_IM_UV_DC2_EINT
#define WM831X_IM_UV_DC2_EINT_MASK
#define WM831X_IM_UV_DC2_EINT_SHIFT
#define WM831X_IM_UV_DC2_EINT_WIDTH
#define WM831X_IM_UV_DC1_EINT
#define WM831X_IM_UV_DC1_EINT_MASK
#define WM831X_IM_UV_DC1_EINT_SHIFT
#define WM831X_IM_UV_DC1_EINT_WIDTH

/*
 * R16413 (0x401D) - Interrupt Status 5 Mask
 */
#define WM831X_IM_GP16_EINT
#define WM831X_IM_GP16_EINT_MASK
#define WM831X_IM_GP16_EINT_SHIFT
#define WM831X_IM_GP16_EINT_WIDTH
#define WM831X_IM_GP15_EINT
#define WM831X_IM_GP15_EINT_MASK
#define WM831X_IM_GP15_EINT_SHIFT
#define WM831X_IM_GP15_EINT_WIDTH
#define WM831X_IM_GP14_EINT
#define WM831X_IM_GP14_EINT_MASK
#define WM831X_IM_GP14_EINT_SHIFT
#define WM831X_IM_GP14_EINT_WIDTH
#define WM831X_IM_GP13_EINT
#define WM831X_IM_GP13_EINT_MASK
#define WM831X_IM_GP13_EINT_SHIFT
#define WM831X_IM_GP13_EINT_WIDTH
#define WM831X_IM_GP12_EINT
#define WM831X_IM_GP12_EINT_MASK
#define WM831X_IM_GP12_EINT_SHIFT
#define WM831X_IM_GP12_EINT_WIDTH
#define WM831X_IM_GP11_EINT
#define WM831X_IM_GP11_EINT_MASK
#define WM831X_IM_GP11_EINT_SHIFT
#define WM831X_IM_GP11_EINT_WIDTH
#define WM831X_IM_GP10_EINT
#define WM831X_IM_GP10_EINT_MASK
#define WM831X_IM_GP10_EINT_SHIFT
#define WM831X_IM_GP10_EINT_WIDTH
#define WM831X_IM_GP9_EINT
#define WM831X_IM_GP9_EINT_MASK
#define WM831X_IM_GP9_EINT_SHIFT
#define WM831X_IM_GP9_EINT_WIDTH
#define WM831X_IM_GP8_EINT
#define WM831X_IM_GP8_EINT_MASK
#define WM831X_IM_GP8_EINT_SHIFT
#define WM831X_IM_GP8_EINT_WIDTH
#define WM831X_IM_GP7_EINT
#define WM831X_IM_GP7_EINT_MASK
#define WM831X_IM_GP7_EINT_SHIFT
#define WM831X_IM_GP7_EINT_WIDTH
#define WM831X_IM_GP6_EINT
#define WM831X_IM_GP6_EINT_MASK
#define WM831X_IM_GP6_EINT_SHIFT
#define WM831X_IM_GP6_EINT_WIDTH
#define WM831X_IM_GP5_EINT
#define WM831X_IM_GP5_EINT_MASK
#define WM831X_IM_GP5_EINT_SHIFT
#define WM831X_IM_GP5_EINT_WIDTH
#define WM831X_IM_GP4_EINT
#define WM831X_IM_GP4_EINT_MASK
#define WM831X_IM_GP4_EINT_SHIFT
#define WM831X_IM_GP4_EINT_WIDTH
#define WM831X_IM_GP3_EINT
#define WM831X_IM_GP3_EINT_MASK
#define WM831X_IM_GP3_EINT_SHIFT
#define WM831X_IM_GP3_EINT_WIDTH
#define WM831X_IM_GP2_EINT
#define WM831X_IM_GP2_EINT_MASK
#define WM831X_IM_GP2_EINT_SHIFT
#define WM831X_IM_GP2_EINT_WIDTH
#define WM831X_IM_GP1_EINT
#define WM831X_IM_GP1_EINT_MASK
#define WM831X_IM_GP1_EINT_SHIFT
#define WM831X_IM_GP1_EINT_WIDTH


#endif