Lines Matching refs:snd_hal2

75 struct snd_hal2 {  struct
103 static u32 hal2_i_read32(struct snd_hal2 *hal2, u16 addr) in hal2_i_read32() argument
117 static void hal2_i_write16(struct snd_hal2 *hal2, u16 addr, u16 val) in hal2_i_write16()
129 static void hal2_i_write32(struct snd_hal2 *hal2, u16 addr, u32 val) in hal2_i_write32()
141 static void hal2_i_setbit16(struct snd_hal2 *hal2, u16 addr, u16 bit) in hal2_i_setbit16()
155 static void hal2_i_clearbit16(struct snd_hal2 *hal2, u16 addr, u16 bit) in hal2_i_clearbit16()
189 struct snd_hal2 *hal2 = snd_kcontrol_chip(kcontrol); in hal2_gain_get()
221 struct snd_hal2 *hal2 = snd_kcontrol_chip(kcontrol); in hal2_gain_put()
274 static int hal2_mixer_create(struct snd_hal2 *hal2) in hal2_mixer_create()
299 struct snd_hal2 *hal2 = dev_id; in hal2_interrupt()
333 static void hal2_set_dac_rate(struct snd_hal2 *hal2) in hal2_set_dac_rate()
344 static void hal2_set_adc_rate(struct snd_hal2 *hal2) in hal2_set_adc_rate()
355 static void hal2_setup_dac(struct snd_hal2 *hal2) in hal2_setup_dac()
388 static void hal2_setup_adc(struct snd_hal2 *hal2) in hal2_setup_adc()
413 static void hal2_start_dac(struct snd_hal2 *hal2) in hal2_start_dac()
423 static void hal2_start_adc(struct snd_hal2 *hal2) in hal2_start_adc()
433 static inline void hal2_stop_dac(struct snd_hal2 *hal2) in hal2_stop_dac()
439 static inline void hal2_stop_adc(struct snd_hal2 *hal2) in hal2_stop_adc()
444 static int hal2_alloc_dmabuf(struct snd_hal2 *hal2, struct hal2_codec *codec, in hal2_alloc_dmabuf()
481 static void hal2_free_dmabuf(struct snd_hal2 *hal2, struct hal2_codec *codec, in hal2_free_dmabuf()
514 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_open()
522 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_close()
530 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_prepare()
548 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_trigger()
566 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_pointer()
576 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_transfer()
588 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_playback_ack()
599 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_open()
607 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_close()
615 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_prepare()
633 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_trigger()
651 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_pointer()
661 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_transfer()
672 struct snd_hal2 *hal2 = snd_pcm_substream_chip(substream); in hal2_capture_ack()
698 static int hal2_pcm_create(struct snd_hal2 *hal2) in hal2_pcm_create()
724 struct snd_hal2 *hal2 = device->device_data; in hal2_dev_free()
742 static int hal2_detect(struct snd_hal2 *hal2) in hal2_detect()
770 static int hal2_create(struct snd_card *card, struct snd_hal2 **rchip) in hal2_create()
772 struct snd_hal2 *hal2; in hal2_create()
841 struct snd_hal2 *chip; in hal2_probe()