Lines Matching defs:snd_hal2
75 struct snd_hal2 {
103 static u32 hal2_i_read32(struct snd_hal2 *hal2, u16 addr)
117 static void hal2_i_write16(struct snd_hal2 *hal2, u16 addr, u16 val)
129 static void hal2_i_write32(struct snd_hal2 *hal2, u16 addr, u32 val)
141 static void hal2_i_setbit16(struct snd_hal2 *hal2, u16 addr, u16 bit)
155 static void hal2_i_clearbit16(struct snd_hal2 *hal2, u16 addr, u16 bit)
189 struct snd_hal2 *hal2 = snd_kcontrol_chip(kcontrol);
221 struct snd_hal2 *hal2 = snd_kcontrol_chip(kcontrol);
274 static int hal2_mixer_create(struct snd_hal2 *hal2)
299 struct snd_hal2 *hal2 = dev_id;
333 static void hal2_set_dac_rate(struct snd_hal2 *hal2)
344 static void hal2_set_adc_rate(struct snd_hal2 *hal2)
355 static void hal2_setup_dac(struct snd_hal2 *hal2)
388 static void hal2_setup_adc(struct snd_hal2 *hal2)
413 static void hal2_start_dac(struct snd_hal2 *hal2)
423 static void hal2_start_adc(struct snd_hal2 *hal2)
433 static inline void hal2_stop_dac(struct snd_hal2 *hal2)
439 static inline void hal2_stop_adc(struct snd_hal2 *hal2)
444 static int hal2_alloc_dmabuf(struct snd_hal2 *hal2, struct hal2_codec *codec,
481 static void hal2_free_dmabuf(struct snd_hal2 *hal2, struct hal2_codec *codec,
514 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
522 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
530 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
548 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
566 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
576 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
588 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
599 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
607 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
615 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
633 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
651 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
661 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
672 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream);
698 static int hal2_pcm_create(struct snd_hal2 *hal2)
724 struct snd_hal2 *hal2 = device->device_data;
742 static int hal2_detect(struct snd_hal2 *hal2)
770 static int hal2_create(struct snd_card *card, struct snd_hal2 **rchip)
772 struct snd_hal2 *hal2;
841 struct snd_hal2 *chip;