diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r-- | sound/pci/oxygen/oxygen.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index ad50fb8b206b..fde995cf2edf 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h | |||
@@ -16,6 +16,16 @@ | |||
16 | #define PCM_AC97 5 | 16 | #define PCM_AC97 5 |
17 | #define PCM_COUNT 6 | 17 | #define PCM_COUNT 6 |
18 | 18 | ||
19 | /* model-specific configuration of outputs/inputs */ | ||
20 | #define PLAYBACK_0_TO_I2S 0x001 | ||
21 | #define PLAYBACK_1_TO_SPDIF 0x004 | ||
22 | #define PLAYBACK_2_TO_AC97_1 0x008 | ||
23 | #define CAPTURE_0_FROM_I2S_1 0x010 | ||
24 | #define CAPTURE_0_FROM_I2S_2 0x020 | ||
25 | #define CAPTURE_1_FROM_SPDIF 0x080 | ||
26 | #define CAPTURE_2_FROM_I2S_2 0x100 | ||
27 | #define CAPTURE_2_FROM_AC97_1 0x200 | ||
28 | |||
19 | enum { | 29 | enum { |
20 | CONTROL_SPDIF_PCM, | 30 | CONTROL_SPDIF_PCM, |
21 | CONTROL_SPDIF_INPUT_BITS, | 31 | CONTROL_SPDIF_INPUT_BITS, |
@@ -91,8 +101,8 @@ struct oxygen_model { | |||
91 | unsigned int reg, int mute); | 101 | unsigned int reg, int mute); |
92 | void (*gpio_changed)(struct oxygen *chip); | 102 | void (*gpio_changed)(struct oxygen *chip); |
93 | size_t model_data_size; | 103 | size_t model_data_size; |
104 | unsigned int pcm_dev_cfg; | ||
94 | u8 dac_channels; | 105 | u8 dac_channels; |
95 | u8 used_channels; | ||
96 | u8 function_flags; | 106 | u8 function_flags; |
97 | u16 dac_i2s_format; | 107 | u16 dac_i2s_format; |
98 | u16 adc_i2s_format; | 108 | u16 adc_i2s_format; |