diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen_regs.h')
-rw-r--r-- | sound/pci/oxygen/oxygen_regs.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sound/pci/oxygen/oxygen_regs.h b/sound/pci/oxygen/oxygen_regs.h index 7a4726d2b2c..b3491f73c59 100644 --- a/sound/pci/oxygen/oxygen_regs.h +++ b/sound/pci/oxygen/oxygen_regs.h @@ -105,18 +105,20 @@ #define OXYGEN_RATE_96000 0x0005 #define OXYGEN_RATE_176400 0x0006 #define OXYGEN_RATE_192000 0x0007 -#define OXYGEN_I2S_MAGIC1_MASK 0x0008 +#define OXYGEN_I2S_FORMAT_MASK 0x0008 +#define OXYGEN_I2S_FORMAT_I2S 0x0000 +#define OXYGEN_I2S_FORMAT_LJUST 0x0008 #define OXYGEN_I2S_MAGIC2_MASK 0x0030 -#define OXYGEN_I2S_FORMAT_MASK 0x00c0 -#define OXYGEN_I2S_FORMAT_16 0x0000 -#define OXYGEN_I2S_FORMAT_20 0x0040 -#define OXYGEN_I2S_FORMAT_24 0x0080 -#define OXYGEN_I2S_FORMAT_32 0x00c0 +#define OXYGEN_I2S_BITS_MASK 0x00c0 +#define OXYGEN_I2S_BITS_16 0x0000 +#define OXYGEN_I2S_BITS_20 0x0040 +#define OXYGEN_I2S_BITS_24 0x0080 +#define OXYGEN_I2S_BITS_32 0x00c0 #define OXYGEN_I2S_A_FORMAT 0x62 #define OXYGEN_I2S_B_FORMAT 0x64 #define OXYGEN_I2S_C_FORMAT 0x66 -/* OXYGEN_I2S_RATE_* and OXYGEN_I2S_FORMAT_* */ +/* like OXYGEN_I2S_MULTICH_FORMAT */ #define OXYGEN_SPDIF_CONTROL 0x70 #define OXYGEN_SPDIF_OUT_ENABLE 0x00000002 |