summaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/oxygen_regs.h')
-rw-r--r--sound/pci/oxygen/oxygen_regs.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/sound/pci/oxygen/oxygen_regs.h b/sound/pci/oxygen/oxygen_regs.h
index 530f1486f901..3e0cdaecb20c 100644
--- a/sound/pci/oxygen/oxygen_regs.h
+++ b/sound/pci/oxygen/oxygen_regs.h
@@ -360,10 +360,14 @@
#define OXYGEN_ADC_MONITOR_C_HALF_VOL 0x20
#define OXYGEN_A_MONITOR_ROUTING 0xc4
-#define OXYGEN_A_MONITOR_ROUTE_01_MASK 0x03
-#define OXYGEN_A_MONITOR_ROUTE_23_MASK 0x0c
-#define OXYGEN_A_MONITOR_ROUTE_45_MASK 0x30
-#define OXYGEN_A_MONITOR_ROUTE_67_MASK 0xc0
+#define OXYGEN_A_MONITOR_ROUTE_0_MASK 0x03
+#define OXYGEN_A_MONITOR_ROUTE_0_SHIFT 0
+#define OXYGEN_A_MONITOR_ROUTE_1_MASK 0x0c
+#define OXYGEN_A_MONITOR_ROUTE_1_SHIFT 2
+#define OXYGEN_A_MONITOR_ROUTE_2_MASK 0x30
+#define OXYGEN_A_MONITOR_ROUTE_2_SHIFT 4
+#define OXYGEN_A_MONITOR_ROUTE_3_MASK 0xc0
+#define OXYGEN_A_MONITOR_ROUTE_3_SHIFT 6
#define OXYGEN_AC97_CONTROL 0xd0
#define OXYGEN_AC97_COLD_RESET 0x0001
OpenPOWER on IntegriCloud