Lines Matching refs:snd_ice1712

115 static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice);
116 static int snd_ice1712_build_controls(struct snd_ice1712 *ice);
127 static inline int is_spdif_master(struct snd_ice1712 *ice) in is_spdif_master()
132 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
137 static inline void snd_ice1712_ds_write(struct snd_ice1712 *ice, u8 channel, u8 addr, u32 data) in snd_ice1712_ds_write()
143 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u8 channel, u8 addr) in snd_ice1712_ds_read()
153 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_write()
177 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_read()
207 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_write()
232 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_read()
261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_digmix_route_ac97_get()
269 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_digmix_route_ac97_put()
294 static void snd_ice1712_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) in snd_ice1712_set_gpio_dir()
300 static unsigned int snd_ice1712_get_gpio_dir(struct snd_ice1712 *ice) in snd_ice1712_get_gpio_dir()
305 static unsigned int snd_ice1712_get_gpio_mask(struct snd_ice1712 *ice) in snd_ice1712_get_gpio_mask()
310 static void snd_ice1712_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) in snd_ice1712_set_gpio_mask()
316 static unsigned int snd_ice1712_get_gpio_data(struct snd_ice1712 *ice) in snd_ice1712_get_gpio_data()
321 static void snd_ice1712_set_gpio_data(struct snd_ice1712 *ice, unsigned int val) in snd_ice1712_set_gpio_data()
337 static int snd_ice1712_cs8427_set_input_clock(struct snd_ice1712 *ice, int spdif_clock) in snd_ice1712_cs8427_set_input_clock()
372 static void open_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) in open_cs8427()
377 static void close_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) in close_cs8427()
382 static void setup_cs8427(struct snd_ice1712 *ice, int rate) in setup_cs8427()
390 int snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr) in snd_ice1712_init_cs8427()
406 static void snd_ice1712_set_input_clock_source(struct snd_ice1712 *ice, int spdif_is_master) in snd_ice1712_set_input_clock_source()
427 struct snd_ice1712 *ice = dev_id; in snd_ice1712_interrupt()
518 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_trigger()
543 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_ds_trigger()
568 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_trigger()
588 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_prepare()
621 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_ds_prepare()
655 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_prepare()
680 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_pointer()
695 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_ds_pointer()
715 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_pointer()
786 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_open()
796 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_ds_open()
811 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_open()
823 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_close()
831 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_ds_close()
844 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_close()
883 static int snd_ice1712_pcm(struct snd_ice1712 *ice, int device) in snd_ice1712_pcm()
909 static int snd_ice1712_pcm_ds(struct snd_ice1712 *ice, int device) in snd_ice1712_pcm_ds()
947 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_pro_trigger()
1002 static void snd_ice1712_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) in snd_ice1712_set_pro_rate()
1060 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_pro_prepare()
1075 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_pro_hw_params()
1083 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_pro_prepare()
1097 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_pro_hw_params()
1105 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_pro_pointer()
1119 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_pro_pointer()
1172 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_pro_open()
1192 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_pro_open()
1210 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_playback_pro_close()
1223 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); in snd_ice1712_capture_pro_close()
1253 static int snd_ice1712_pcm_profi(struct snd_ice1712 *ice, int device) in snd_ice1712_pcm_profi()
1290 static void snd_ice1712_update_volume(struct snd_ice1712 *ice, int index) in snd_ice1712_update_volume()
1305 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_mixer_switch_get()
1320 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_mixer_switch_put()
1347 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_mixer_volume_get()
1362 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_mixer_volume_put()
1445 static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice) in snd_ice1712_build_pro_mixer()
1500 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_mixer_free_ac97()
1504 static int snd_ice1712_ac97_mixer(struct snd_ice1712 *ice) in snd_ice1712_ac97_mixer()
1559 static inline unsigned int eeprom_double(struct snd_ice1712 *ice, int idx) in eeprom_double()
1567 struct snd_ice1712 *ice = entry->private_data; in snd_ice1712_proc_read()
1604 static void snd_ice1712_proc_init(struct snd_ice1712 *ice) in snd_ice1712_proc_init()
1627 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_eeprom_get()
1654 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_spdif_default_get()
1663 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_spdif_default_put()
1681 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_spdif_maskc_get()
1703 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_spdif_maskp_get()
1741 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_spdif_stream_get()
1750 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_spdif_stream_put()
1770 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_gpio_get()
1784 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_gpio_put()
1829 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_internal_clock_get()
1853 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_internal_clock_put()
1966 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_rate_locking_put()
1997 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_rate_reset_put()
2036 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_route_analog_get()
2062 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_route_analog_put()
2112 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_route_spdif_get()
2132 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_route_spdif_put()
2199 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_volume_rate_get()
2208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_volume_rate_put()
2239 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_pro_peak_get()
2273 static unsigned char snd_ice1712_read_i2c(struct snd_ice1712 *ice, in snd_ice1712_read_i2c()
2285 static int snd_ice1712_read_eeprom(struct snd_ice1712 *ice, in snd_ice1712_read_eeprom()
2363 static int snd_ice1712_chip_init(struct snd_ice1712 *ice) in snd_ice1712_chip_init()
2417 int snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice) in snd_ice1712_spdif_build_controls()
2445 static int snd_ice1712_build_controls(struct snd_ice1712 *ice) in snd_ice1712_build_controls()
2485 static int snd_ice1712_free(struct snd_ice1712 *ice) in snd_ice1712_free()
2508 struct snd_ice1712 *ice = device->device_data; in snd_ice1712_dev_free()
2518 struct snd_ice1712 **r_ice1712) in snd_ice1712_create()
2520 struct snd_ice1712 *ice; in snd_ice1712_create()
2633 struct snd_ice1712 *ice; in snd_ice1712_probe()
2777 struct snd_ice1712 *ice = card->private_data; in snd_ice1712_remove()
2788 struct snd_ice1712 *ice = card->private_data; in snd_ice1712_suspend()
2814 struct snd_ice1712 *ice = card->private_data; in snd_ice1712_resume()