Lines Matching refs:snd_ice1712
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()
181 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read()
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()
270 static void enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable);
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()
341 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_output_trigger()
357 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_output_drain()
392 struct snd_ice1712 *ice = s->rmidi->private_data; in vt1724_midi_input_trigger()
418 struct snd_ice1712 *ice = dev_id; in snd_vt1724_interrupt()
557 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_trigger()
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()
768 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_hw_free()
782 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_prepare()
816 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_pointer()
853 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_prepare()
868 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_pcm_pointer()
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()
1021 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in constrain_rate_if_locked()
1043 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_open()
1076 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_pro_open()
1097 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_pro_close()
1108 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_pro_close()
1138 static int snd_vt1724_pcm_profi(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_profi()
1176 static void update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) in update_spdif_bits()
1191 static void update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) in update_spdif_rate()
1215 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_prepare()
1223 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_open()
1247 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_spdif_close()
1260 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_spdif_open()
1284 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_capture_spdif_close()
1318 static int snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_spdif()
1396 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_prepare()
1409 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_open()
1430 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_vt1724_playback_indep_close()
1452 static int snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device) in snd_vt1724_pcm_indep()
1487 static int snd_vt1724_ac97_mixer(struct snd_ice1712 *ice) in snd_vt1724_ac97_mixer()
1524 static inline unsigned int eeprom_triple(struct snd_ice1712 *ice, int idx) in eeprom_triple()
1534 struct snd_ice1712 *ice = entry->private_data; in snd_vt1724_proc_read()
1573 static void snd_vt1724_proc_init(struct snd_ice1712 *ice) in snd_vt1724_proc_init()
1596 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_eeprom_get()
1693 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_default_get()
1703 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_default_put()
1770 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_sw_get()
1779 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_spdif_sw_put()
1815 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
1829 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
1853 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_info()
1882 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_get()
1903 static int stdclock_get_spdif_master_type(struct snd_ice1712 *ice) in stdclock_get_spdif_master_type()
1910 static int stdclock_set_spdif_clock(struct snd_ice1712 *ice, int type) in stdclock_set_spdif_clock()
1926 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_internal_clock_put()
1988 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_rate_locking_put()
2019 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_rate_reset_put()
2070 int snd_ice1724_get_route_val(struct snd_ice1712 *ice, int shift) in snd_ice1724_get_route_val()
2089 int snd_ice1724_put_route_val(struct snd_ice1712 *ice, unsigned int val, in snd_ice1724_put_route_val()
2115 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_analog_get()
2125 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_analog_put()
2135 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_spdif_get()
2145 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_route_spdif_put()
2184 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_vt1724_pro_peak_get()
2268 static void wait_i2c_busy(struct snd_ice1712 *ice) in wait_i2c_busy()
2277 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, in snd_vt1724_read_i2c()
2295 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, in snd_vt1724_write_i2c()
2310 static int snd_vt1724_read_eeprom(struct snd_ice1712 *ice, in snd_vt1724_read_eeprom()
2397 static void snd_vt1724_chip_reset(struct snd_ice1712 *ice) in snd_vt1724_chip_reset()
2407 static int snd_vt1724_chip_init(struct snd_ice1712 *ice) in snd_vt1724_chip_init()
2433 static int snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) in snd_vt1724_spdif_build_controls()
2475 static int snd_vt1724_build_controls(struct snd_ice1712 *ice) in snd_vt1724_build_controls()
2510 static int snd_vt1724_free(struct snd_ice1712 *ice) in snd_vt1724_free()
2531 struct snd_ice1712 *ice = device->device_data; in snd_vt1724_dev_free()
2538 struct snd_ice1712 **r_ice1712) in snd_vt1724_create()
2540 struct snd_ice1712 *ice; in snd_vt1724_create()
2630 struct snd_ice1712 *ice; in snd_vt1724_probe()
2798 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_remove()
2811 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_suspend()
2843 struct snd_ice1712 *ice = card->private_data; in snd_vt1724_resume()