Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | wm8350_read_auxadc (struct wm8350 *wm8350, int channel, int scale, int vref) |
#define WM8350_AUX1_READBACK 0x98 |
Definition at line 21 of file comparator.h.
#define WM8350_AUX2_READBACK 0x99 |
Definition at line 22 of file comparator.h.
#define WM8350_AUX3_READBACK 0x9A |
Definition at line 23 of file comparator.h.
#define WM8350_AUX4_READBACK 0x9B |
Definition at line 24 of file comparator.h.
#define WM8350_AUX_COEFF 1319 |
Definition at line 156 of file comparator.h.
#define WM8350_AUX_RBMODE 0x0002 |
Definition at line 53 of file comparator.h.
#define WM8350_AUXADC_AUX1 0 |
Definition at line 158 of file comparator.h.
#define WM8350_AUXADC_AUX2 1 |
Definition at line 159 of file comparator.h.
#define WM8350_AUXADC_AUX3 2 |
Definition at line 160 of file comparator.h.
#define WM8350_AUXADC_AUX4 3 |
Definition at line 161 of file comparator.h.
#define WM8350_AUXADC_BATT 6 |
Definition at line 164 of file comparator.h.
#define WM8350_AUXADC_CAL 0x0004 |
Definition at line 52 of file comparator.h.
#define WM8350_AUXADC_CRATE_MASK 0x0700 |
Definition at line 51 of file comparator.h.
#define WM8350_AUXADC_CTC 0x4000 |
Definition at line 35 of file comparator.h.
#define WM8350_AUXADC_DATA1_MASK 0x0FFF |
Definition at line 61 of file comparator.h.
#define WM8350_AUXADC_DATA2_MASK 0x0FFF |
Definition at line 68 of file comparator.h.
#define WM8350_AUXADC_DATA3_MASK 0x0FFF |
Definition at line 75 of file comparator.h.
#define WM8350_AUXADC_DATA4_MASK 0x0FFF |
Definition at line 82 of file comparator.h.
#define WM8350_AUXADC_DATA_BATT_MASK 0x0FFF |
Definition at line 97 of file comparator.h.
#define WM8350_AUXADC_DATA_CHIPTEMP_MASK 0x0FFF |
Definition at line 102 of file comparator.h.
#define WM8350_AUXADC_DATA_LINE_MASK 0x0FFF |
Definition at line 92 of file comparator.h.
#define WM8350_AUXADC_DATA_USB_MASK 0x0FFF |
Definition at line 87 of file comparator.h.
#define WM8350_AUXADC_HIB_MODE 0x1000 |
Definition at line 37 of file comparator.h.
#define WM8350_AUXADC_LINE 5 |
Definition at line 163 of file comparator.h.
#define WM8350_AUXADC_MASKMODE_MASK 0x3000 |
Definition at line 50 of file comparator.h.
#define WM8350_AUXADC_POLL 0x2000 |
Definition at line 36 of file comparator.h.
#define WM8350_AUXADC_REF1 0x1000 |
Definition at line 60 of file comparator.h.
#define WM8350_AUXADC_REF2 0x1000 |
Definition at line 67 of file comparator.h.
#define WM8350_AUXADC_REF3 0x1000 |
Definition at line 74 of file comparator.h.
#define WM8350_AUXADC_REF4 0x1000 |
Definition at line 81 of file comparator.h.
#define WM8350_AUXADC_SCALE1_MASK 0x6000 |
Definition at line 59 of file comparator.h.
#define WM8350_AUXADC_SCALE2_MASK 0x6000 |
Definition at line 66 of file comparator.h.
#define WM8350_AUXADC_SCALE3_MASK 0x6000 |
Definition at line 73 of file comparator.h.
#define WM8350_AUXADC_SCALE4_MASK 0x6000 |
Definition at line 80 of file comparator.h.
#define WM8350_AUXADC_SEL1 0x0001 |
Definition at line 45 of file comparator.h.
#define WM8350_AUXADC_SEL2 0x0002 |
Definition at line 44 of file comparator.h.
#define WM8350_AUXADC_SEL3 0x0004 |
Definition at line 43 of file comparator.h.
#define WM8350_AUXADC_SEL4 0x0008 |
Definition at line 42 of file comparator.h.
#define WM8350_AUXADC_SEL5 0x0010 |
Definition at line 41 of file comparator.h.
#define WM8350_AUXADC_SEL6 0x0020 |
Definition at line 40 of file comparator.h.
#define WM8350_AUXADC_SEL7 0x0040 |
Definition at line 39 of file comparator.h.
#define WM8350_AUXADC_SEL8 0x0080 |
Definition at line 38 of file comparator.h.
#define WM8350_AUXADC_TEMP 7 |
Definition at line 165 of file comparator.h.
#define WM8350_AUXADC_USB 4 |
Definition at line 162 of file comparator.h.
#define WM8350_AUXADC_WAIT 0x0001 |
Definition at line 54 of file comparator.h.
#define WM8350_CHIP_TEMP_READBACK 0x9F |
Definition at line 25 of file comparator.h.
#define WM8350_DCMP1_ENA 0x0001 |
Definition at line 110 of file comparator.h.
#define WM8350_DCMP1_GT 0x1000 |
Definition at line 116 of file comparator.h.
#define WM8350_DCMP1_SRCSEL_MASK 0xE000 |
Definition at line 115 of file comparator.h.
#define WM8350_DCMP1_THR_MASK 0x0FFF |
Definition at line 117 of file comparator.h.
#define WM8350_DCMP2_ENA 0x0002 |
Definition at line 109 of file comparator.h.
#define WM8350_DCMP2_GT 0x1000 |
Definition at line 123 of file comparator.h.
#define WM8350_DCMP2_SRCSEL_MASK 0xE000 |
Definition at line 122 of file comparator.h.
#define WM8350_DCMP2_THR_MASK 0x0FFF |
Definition at line 124 of file comparator.h.
#define WM8350_DCMP3_ENA 0x0004 |
Definition at line 108 of file comparator.h.
#define WM8350_DCMP3_GT 0x1000 |
Definition at line 130 of file comparator.h.
#define WM8350_DCMP3_SRCSEL_MASK 0xE000 |
Definition at line 129 of file comparator.h.
#define WM8350_DCMP3_THR_MASK 0x0FFF |
Definition at line 131 of file comparator.h.
#define WM8350_DCMP4_ENA 0x0008 |
Definition at line 107 of file comparator.h.
#define WM8350_DCMP4_GT 0x1000 |
Definition at line 137 of file comparator.h.
#define WM8350_DCMP4_SRCSEL_MASK 0xE000 |
Definition at line 136 of file comparator.h.
#define WM8350_DCMP4_THR_MASK 0x0FFF |
Definition at line 138 of file comparator.h.
#define WM8350_DIGITISER_CONTROL_1 0x90 |
Definition at line 19 of file comparator.h.
#define WM8350_DIGITISER_CONTROL_2 0x91 |
Definition at line 20 of file comparator.h.
#define WM8350_GENERIC_COMPARATOR_1 0xA4 |
Definition at line 27 of file comparator.h.
#define WM8350_GENERIC_COMPARATOR_2 0xA5 |
Definition at line 28 of file comparator.h.
#define WM8350_GENERIC_COMPARATOR_3 0xA6 |
Definition at line 29 of file comparator.h.
#define WM8350_GENERIC_COMPARATOR_4 0xA7 |
Definition at line 30 of file comparator.h.
#define WM8350_GENERIC_COMPARATOR_CONTROL 0xA3 |
Definition at line 26 of file comparator.h.
#define WM8350_IRQ_AUXADC_DATARDY 16 |
Definition at line 143 of file comparator.h.
#define WM8350_IRQ_AUXADC_DCOMP1 20 |
Definition at line 147 of file comparator.h.
#define WM8350_IRQ_AUXADC_DCOMP2 19 |
Definition at line 146 of file comparator.h.
#define WM8350_IRQ_AUXADC_DCOMP3 18 |
Definition at line 145 of file comparator.h.
#define WM8350_IRQ_AUXADC_DCOMP4 17 |
Definition at line 144 of file comparator.h.
#define WM8350_IRQ_SYS_CHIP_GT115 22 |
Definition at line 149 of file comparator.h.
#define WM8350_IRQ_SYS_CHIP_GT140 23 |
Definition at line 150 of file comparator.h.
#define WM8350_IRQ_SYS_HYST_COMP_FAIL 21 |
Definition at line 148 of file comparator.h.