Lines Matching refs:snd_ca0106
331 unsigned int snd_ca0106_ptr_read(struct snd_ca0106 * emu, in snd_ca0106_ptr_read()
347 void snd_ca0106_ptr_write(struct snd_ca0106 *emu, in snd_ca0106_ptr_write()
363 int snd_ca0106_spi_write(struct snd_ca0106 * emu, in snd_ca0106_spi_write()
396 int snd_ca0106_i2c_write(struct snd_ca0106 *emu, in snd_ca0106_i2c_write()
452 static void snd_ca0106_intr_enable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_enable()
463 static void snd_ca0106_intr_disable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_disable()
495 static void restore_spdif_bits(struct snd_ca0106 *chip, int idx) in restore_spdif_bits()
504 static int snd_ca0106_channel_dac(struct snd_ca0106 *chip, in snd_ca0106_channel_dac()
524 static int snd_ca0106_pcm_power_dac(struct snd_ca0106 *chip, int channel_id, in snd_ca0106_pcm_power_dac()
549 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_open_playback_channel()
601 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_close_playback()
644 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_open_capture_channel()
686 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_close_capture()
717 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_playback()
830 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_capture()
922 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_playback()
989 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_capture()
1017 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_pointer_playback()
1047 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_pointer_capture()
1140 struct snd_ca0106 *emu = ac97->private_data; in snd_ca0106_ac97_read()
1154 struct snd_ca0106 *emu = ac97->private_data; in snd_ca0106_ac97_write()
1163 static int snd_ca0106_ac97(struct snd_ca0106 *chip) in snd_ca0106_ac97()
1184 static void ca0106_stop_chip(struct snd_ca0106 *chip);
1188 struct snd_ca0106 *chip = card->private_data; in snd_ca0106_free()
1197 struct snd_ca0106 *chip = dev_id; in snd_ca0106_interrupt()
1281 static int snd_ca0106_pcm(struct snd_ca0106 *emu, int device) in snd_ca0106_pcm()
1381 static void ca0106_init_chip(struct snd_ca0106 *chip, int resume) in ca0106_init_chip()
1559 static void ca0106_stop_chip(struct snd_ca0106 *chip) in ca0106_stop_chip()
1578 struct snd_ca0106 *chip = card->private_data; in snd_ca0106_create()
1647 snd_ca0106_intr_enable((struct snd_ca0106 *)(midi->dev_id), intr); in ca0106_midi_interrupt_enable()
1652 snd_ca0106_intr_disable((struct snd_ca0106 *)(midi->dev_id), intr); in ca0106_midi_interrupt_disable()
1657 return (unsigned char)snd_ca0106_ptr_read((struct snd_ca0106 *)(midi->dev_id), in ca0106_midi_read()
1663 snd_ca0106_ptr_write((struct snd_ca0106 *)(midi->dev_id), midi->port + idx, 0, data); in ca0106_midi_write()
1668 return ((struct snd_ca0106 *)dev_id)->card; in ca0106_dev_id_card()
1673 return ((struct snd_ca0106 *)dev_id)->port; in ca0106_dev_id_port()
1676 static int snd_ca0106_midi(struct snd_ca0106 *chip, unsigned int channel) in snd_ca0106_midi()
1733 struct snd_ca0106 *chip; in __snd_ca0106_probe()
1799 struct snd_ca0106 *chip = card->private_data; in snd_ca0106_suspend()
1813 struct snd_ca0106 *chip = card->private_data; in snd_ca0106_resume()