Lines Matching refs:snd_ice1712
106 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master()
114 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
123 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready()
139 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) in snd_vt1724_ac97_wait_bit()
153 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write()
167 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read()
186 static void snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_dir()
193 static unsigned int snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_dir()
199 static void snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_mask()
207 static unsigned int snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_mask()
218 static void snd_vt1724_set_gpio_data(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_data()
226 static unsigned int snd_vt1724_get_gpio_data(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_data()
241 static void vt1724_midi_clear_rx(struct snd_ice1712 *ice) in vt1724_midi_clear_rx()
250 get_rawmidi_substream(struct snd_ice1712 *ice, unsigned int stream) in get_rawmidi_substream()
256 static void enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable);
258 static void vt1724_midi_write(struct snd_ice1712 *ice) in vt1724_midi_write()
278 static void vt1724_midi_read(struct snd_ice1712 *ice) in vt1724_midi_read()
295 static void enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable) in enable_midi_irq()
308 struct snd_ice1712 *ice = substream->rmidi->private_data; in vt1724_enable_midi_irq()
327 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_output_trigger()
343 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_output_drain()
378 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_input_trigger()
404 struct snd_ice1712 *ice = dev_id; in snd_vt1724_interrupt()
543 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_trigger()
607 static unsigned int stdclock_get_rate(struct snd_ice1712 *ice) in stdclock_get_rate()
612 static void stdclock_set_rate(struct snd_ice1712 *ice, unsigned int rate) in stdclock_set_rate()
623 static unsigned char stdclock_set_mclk(struct snd_ice1712 *ice, in stdclock_set_mclk()
644 static int snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, in snd_vt1724_set_pro_rate()
709 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_hw_params()
751 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_hw_free()
765 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_prepare()
799 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_pointer()
836 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_prepare()
851 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_pointer()
971 static void set_std_hw_rates(struct snd_ice1712 *ice) in set_std_hw_rates()
986 static int set_rate_constraints(struct snd_ice1712 *ice, in set_rate_constraints()
1004 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in constrain_rate_if_locked()
1026 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_open()
1059 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_pro_open()
1080 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_close()
1091 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_pro_close()
1119 static int snd_vt1724_pcm_profi(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_profi()
1156 static void update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) in update_spdif_bits()
1171 static void update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) in update_spdif_rate()
1195 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_prepare()
1203 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_open()
1227 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_close()
1240 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_spdif_open()
1264 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_spdif_close()
1296 static int snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_spdif()
1373 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_prepare()
1386 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_open()
1407 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_close()
1428 static int snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_indep()
1462 static int snd_vt1724_ac97_mixer(struct snd_ice1712 *ice) in snd_vt1724_ac97_mixer()
1500 static inline unsigned int eeprom_triple(struct snd_ice1712 *ice, int idx) in eeprom_triple()
1510 struct snd_ice1712 *ice = entry->private_data; in snd_vt1724_proc_read()
1549 static void snd_vt1724_proc_init(struct snd_ice1712 *ice) in snd_vt1724_proc_init()
1569 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_eeprom_get()
1666 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_default_get()
1676 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_default_put()
1743 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_sw_get()
1752 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_sw_put()
1788 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
1802 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
1826 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_info()
1855 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_get()
1876 static int stdclock_get_spdif_master_type(struct snd_ice1712 *ice) in stdclock_get_spdif_master_type()
1883 static int stdclock_set_spdif_clock(struct snd_ice1712 *ice, int type) in stdclock_set_spdif_clock()
1899 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_put()
1961 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_rate_locking_put()
1992 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_rate_reset_put()
2037 int snd_ice1724_get_route_val(struct snd_ice1712 *ice, int shift) in snd_ice1724_get_route_val()
2056 int snd_ice1724_put_route_val(struct snd_ice1712 *ice, unsigned int val, in snd_ice1724_put_route_val()
2082 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_analog_get()
2092 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_analog_put()
2102 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_spdif_get()
2112 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_spdif_put()
2151 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_peak_get()
2235 static void wait_i2c_busy(struct snd_ice1712 *ice) in wait_i2c_busy()
2244 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, in snd_vt1724_read_i2c()
2262 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, in snd_vt1724_write_i2c()
2277 static int snd_vt1724_read_eeprom(struct snd_ice1712 *ice, in snd_vt1724_read_eeprom()
2366 static void snd_vt1724_chip_reset(struct snd_ice1712 *ice) in snd_vt1724_chip_reset()
2376 static int snd_vt1724_chip_init(struct snd_ice1712 *ice) in snd_vt1724_chip_init()
2402 static int snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) in snd_vt1724_spdif_build_controls()
2444 static int snd_vt1724_build_controls(struct snd_ice1712 *ice) in snd_vt1724_build_controls()
2476 static int snd_vt1724_free(struct snd_ice1712 *ice) in snd_vt1724_free()
2497 struct snd_ice1712 *ice = device->device_data; in snd_vt1724_dev_free()
2504 struct snd_ice1712 **r_ice1712) in snd_vt1724_create()
2506 struct snd_ice1712 *ice; in snd_vt1724_create()
2594 struct snd_ice1712 *ice; in snd_vt1724_probe()
2763 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_remove()
2774 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_suspend()
2798 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_resume()