diff options
author | James Courtier-Dutton <James@superbug.co.uk> | 2007-07-26 13:31:39 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 09:58:03 -0400 |
commit | f93abe51e8dc7e929d29e6a9a1991bf7fd234d4a (patch) | |
tree | e23ba606e72d14b59297a8d2937d1b76f34e5e2a /include | |
parent | 95a5b0850a96c155f6b8dac03f45c19bc482ced7 (diff) |
[ALSA] snd-emu10k1:Implement SPDIF/ADAT status.
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/emu10k1.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index d6c8c54d49e0..acc4277dd383 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h | |||
@@ -1456,6 +1456,8 @@ struct snd_emu1010 { | |||
1456 | unsigned int adc_pads; /* bit mask */ | 1456 | unsigned int adc_pads; /* bit mask */ |
1457 | unsigned int dac_pads; /* bit mask */ | 1457 | unsigned int dac_pads; /* bit mask */ |
1458 | unsigned int internal_clock; /* 44100 or 48000 */ | 1458 | unsigned int internal_clock; /* 44100 or 48000 */ |
1459 | unsigned int optical_in; /* 0:SPDIF, 1:ADAT */ | ||
1460 | unsigned int optical_out; /* 0:SPDIF, 1:ADAT */ | ||
1459 | struct task_struct *firmware_thread; | 1461 | struct task_struct *firmware_thread; |
1460 | }; | 1462 | }; |
1461 | 1463 | ||
@@ -1600,9 +1602,9 @@ unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, | |||
1600 | void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data); | 1602 | void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data); |
1601 | int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, unsigned int data); | 1603 | int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, unsigned int data); |
1602 | int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u32 value); | 1604 | int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u32 value); |
1603 | int snd_emu1010_fpga_write(struct snd_emu10k1 * emu, int reg, int value); | 1605 | int snd_emu1010_fpga_write(struct snd_emu10k1 * emu, u32 reg, u32 value); |
1604 | int snd_emu1010_fpga_read(struct snd_emu10k1 * emu, int reg, int *value); | 1606 | int snd_emu1010_fpga_read(struct snd_emu10k1 * emu, u32 reg, u32 *value); |
1605 | int snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, int dst, int src); | 1607 | int snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, u32 dst, u32 src); |
1606 | unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc); | 1608 | unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc); |
1607 | void snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb); | 1609 | void snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb); |
1608 | void snd_emu10k1_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb); | 1610 | void snd_emu10k1_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb); |