Go to the documentation of this file.
15 #ifndef __MFD_WM8994_CORE_H__
16 #define __MFD_WM8994_CORE_H__
31 #define WM8994_NUM_GPIO_REGS 11
32 #define WM8994_NUM_LDO_REGS 2
33 #define WM8994_NUM_IRQ_REGS 2
35 #define WM8994_IRQ_TEMP_SHUT 0
36 #define WM8994_IRQ_MIC1_DET 1
37 #define WM8994_IRQ_MIC1_SHRT 2
38 #define WM8994_IRQ_MIC2_DET 3
39 #define WM8994_IRQ_MIC2_SHRT 4
40 #define WM8994_IRQ_FLL1_LOCK 5
41 #define WM8994_IRQ_FLL2_LOCK 6
42 #define WM8994_IRQ_SRC1_LOCK 7
43 #define WM8994_IRQ_SRC2_LOCK 8
44 #define WM8994_IRQ_AIF1DRC1_SIG_DET 9
45 #define WM8994_IRQ_AIF1DRC2_SIG_DET 10
46 #define WM8994_IRQ_AIF2DRC_SIG_DET 11
47 #define WM8994_IRQ_FIFOS_ERR 12
48 #define WM8994_IRQ_WSEQ_DONE 13
49 #define WM8994_IRQ_DCS_DONE 14
50 #define WM8994_IRQ_TEMP_WARN 15
53 #define WM8994_IRQ_GPIO(x) (x + WM8994_IRQ_TEMP_WARN)
86 unsigned short mask,
unsigned short val);
94 static inline int wm8994_request_irq(
struct wm8994 *
wm8994,
int irq,
104 static inline void wm8994_free_irq(
struct wm8994 *wm8994,
int irq,
void *data)