summaryrefslogtreecommitdiff
path: root/firmware/export/wm8751.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/wm8751.h')
-rw-r--r--firmware/export/wm8751.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/wm8751.h b/firmware/export/wm8751.h
index 7a3a3075af..a7c28a9855 100644
--- a/firmware/export/wm8751.h
+++ b/firmware/export/wm8751.h
@@ -131,8 +131,8 @@ void audiohw_set_recsrc(int source, bool recording);
131#define ENHANCE_3D_MODE3D_RECORD (0 << 7) 131#define ENHANCE_3D_MODE3D_RECORD (0 << 7)
132 132
133#define ALC1 0x11 133#define ALC1 0x11
134#define ALC1_ALCL(x) ((x) & (0x0f)) 134#define ALC1_ALCL(x) ((x) & 0x0f)
135#define ALC1_MAXGAIN(x) ((x) & (0x07 << 4)) 135#define ALC1_MAXGAIN(x) (((x) & 0x07) << 4)
136#define ALC1_ALCSEL_DISABLED (0 << 7) 136#define ALC1_ALCSEL_DISABLED (0 << 7)
137#define ALC1_ALCSEL_RIGHT (1 << 7) 137#define ALC1_ALCSEL_RIGHT (1 << 7)
138#define ALC1_ALCSEL_LEFT (2 << 7) 138#define ALC1_ALCSEL_LEFT (2 << 7)
@@ -144,14 +144,14 @@ void audiohw_set_recsrc(int source, bool recording);
144 144
145#define ALC3 0x13 145#define ALC3 0x13
146#define ALC3_ATK(x) ((x) & 0x0f) 146#define ALC3_ATK(x) ((x) & 0x0f)
147#define ALC3_DCY(x) ((x) & (0x0f << 4)) 147#define ALC3_DCY(x) (((x) & 0x0f) << 4)
148 148
149#define NGAT 0x14 149#define NGAT 0x14
150#define NGAT_NGAT (1 << 0) 150#define NGAT_NGAT (1 << 0)
151#define NGAT_NGG_CONST (0 << 1) 151#define NGAT_NGG_CONST (0 << 1)
152#define NGAT_NGG_MUTEADC (1 << 1) 152#define NGAT_NGG_MUTEADC (1 << 1)
153#define NGAT_NGG(x) ((x) & (0x3 << 1)) 153#define NGAT_NGG(x) (((x) & 0x3) << 1)
154#define NGAT_NGTH(x) ((x) & (0x1f << 3)) 154#define NGAT_NGTH(x) (((x) & 0x1f) << 3)
155#endif 155#endif
156 156
157#define ADDITIONAL1 0x17 157#define ADDITIONAL1 0x17