Lines Matching defs:ice
120 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master()
128 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
137 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready()
153 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) in snd_vt1724_ac97_wait_bit()
167 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write() local
181 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read() local
200 static void snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_dir()
207 static unsigned int snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_dir()
213 static void snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_mask()
221 static unsigned int snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_mask()
232 static void snd_vt1724_set_gpio_data(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_data()
240 static unsigned int snd_vt1724_get_gpio_data(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_data()
255 static void vt1724_midi_clear_rx(struct snd_ice1712 *ice) in vt1724_midi_clear_rx()
264 get_rawmidi_substream(struct snd_ice1712 *ice, unsigned int stream) in get_rawmidi_substream()
272 static void vt1724_midi_write(struct snd_ice1712 *ice) in vt1724_midi_write()
292 static void vt1724_midi_read(struct snd_ice1712 *ice) in vt1724_midi_read()
309 static void enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable) in enable_midi_irq()
322 struct snd_ice1712 *ice = substream->rmidi->private_data; in vt1724_enable_midi_irq() local
341 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_output_trigger() local
357 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_output_drain() local
392 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_input_trigger() local
418 struct snd_ice1712 *ice = dev_id; in snd_vt1724_interrupt() local
557 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_trigger() local
621 static unsigned int stdclock_get_rate(struct snd_ice1712 *ice) in stdclock_get_rate()
628 static void stdclock_set_rate(struct snd_ice1712 *ice, unsigned int rate) in stdclock_set_rate()
639 static unsigned char stdclock_set_mclk(struct snd_ice1712 *ice, in stdclock_set_mclk()
660 static int snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, in snd_vt1724_set_pro_rate()
722 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_hw_params() local
768 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_hw_free() local
782 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_prepare() local
816 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_pointer() local
853 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_prepare() local
868 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_pointer() local
988 static void set_std_hw_rates(struct snd_ice1712 *ice) in set_std_hw_rates()
1003 static int set_rate_constraints(struct snd_ice1712 *ice, in set_rate_constraints()
1024 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_open() local
1056 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_pro_open() local
1076 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_close() local
1087 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_pro_close() local
1117 static int __devinit snd_vt1724_pcm_profi(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_profi()
1148 static void update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) in update_spdif_bits()
1163 static void update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) in update_spdif_rate()
1187 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_prepare() local
1195 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_open() local
1218 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_close() local
1231 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_spdif_open() local
1254 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_spdif_close() local
1288 static int __devinit snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_spdif()
1366 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_prepare() local
1379 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_open() local
1400 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_close() local
1422 static int __devinit snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_indep()
1457 static int __devinit snd_vt1724_ac97_mixer(struct snd_ice1712 *ice) in snd_vt1724_ac97_mixer()
1494 static inline unsigned int eeprom_triple(struct snd_ice1712 *ice, int idx) in eeprom_triple()
1504 struct snd_ice1712 *ice = entry->private_data; in snd_vt1724_proc_read() local
1543 static void __devinit snd_vt1724_proc_init(struct snd_ice1712 *ice) in snd_vt1724_proc_init()
1566 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_eeprom_get() local
1663 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_default_get() local
1673 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_default_put() local
1740 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_sw_get() local
1749 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_sw_put() local
1823 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_info() local
1847 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_get() local
1868 static int stdclock_get_spdif_master_type(struct snd_ice1712 *ice) in stdclock_get_spdif_master_type()
1875 static int stdclock_set_spdif_clock(struct snd_ice1712 *ice, int type) in stdclock_set_spdif_clock()
1891 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_put() local
1953 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_rate_locking_put() local
1984 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_rate_reset_put() local
2035 int snd_ice1724_get_route_val(struct snd_ice1712 *ice, int shift) in snd_ice1724_get_route_val()
2054 int snd_ice1724_put_route_val(struct snd_ice1712 *ice, unsigned int val, in snd_ice1724_put_route_val()
2080 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_analog_get() local
2090 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_analog_put() local
2100 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_spdif_get() local
2110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_spdif_put() local
2149 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_peak_get() local
2197 static void wait_i2c_busy(struct snd_ice1712 *ice) in wait_i2c_busy()
2206 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, in snd_vt1724_read_i2c()
2224 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, in snd_vt1724_write_i2c()
2239 static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice, in snd_vt1724_read_eeprom()
2321 static void snd_vt1724_chip_reset(struct snd_ice1712 *ice) in snd_vt1724_chip_reset()
2331 static int snd_vt1724_chip_init(struct snd_ice1712 *ice) in snd_vt1724_chip_init()
2357 static int __devinit snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) in snd_vt1724_spdif_build_controls()
2399 static int __devinit snd_vt1724_build_controls(struct snd_ice1712 *ice) in snd_vt1724_build_controls()
2434 static int snd_vt1724_free(struct snd_ice1712 *ice) in snd_vt1724_free()
2455 struct snd_ice1712 *ice = device->device_data; in snd_vt1724_dev_free() local
2464 struct snd_ice1712 *ice; in snd_vt1724_create() local
2554 struct snd_ice1712 *ice; in snd_vt1724_probe() local
2727 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_suspend() local
2758 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_resume() local