aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/ice1712.h
diff options
context:
space:
mode:
authorPavel Hofman <dustin@seznam.cz>2008-03-20 12:10:27 +0100
committerTakashi Iwai <tiwai@suse.de>2008-04-24 12:00:29 +0200
commitd16be8ed69f3e59d36be8c422508c3a10082fdaa (patch)
tree38b4ff3d3a181a2f16b1e74669b1205dae455c89 /sound/pci/ice1712/ice1712.h
parent[ALSA] sound/pci/pcxhr/pcxhr.c: fix warnings (diff)
downloadlinux-dev-d16be8ed69f3e59d36be8c422508c3a10082fdaa.tar.xz
linux-dev-d16be8ed69f3e59d36be8c422508c3a10082fdaa.zip
[ALSA] ice1724 - Improved the Juli rate setting
* moving most of clock-specific code to card-specific routines * support for ESI Juli * to-be-researched - monitoring of analog/digital inputs Signed-off-by: Pavel Hofman <dustin@seznam.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/ice1712.h')
-rw-r--r--sound/pci/ice1712/ice1712.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h
index 303cffe08bd8..a3bea2247c7f 100644
--- a/sound/pci/ice1712/ice1712.h
+++ b/sound/pci/ice1712/ice1712.h
@@ -367,6 +367,15 @@ struct snd_ice1712 {
/* other board-specific data */
void *spec;
+
+ /* VT172x specific */
+ int pro_rate_default;
+ int (*is_spdif_master)(struct snd_ice1712 *ice);
+ unsigned int (*get_rate)(struct snd_ice1712 *ice);
+ void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate);
+ unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate);
+ void (*set_spdif_clock)(struct snd_ice1712 *ice);
+
};