Searched refs:pcm_indirect (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/sound/mips/
H A Dhal2.c69 struct snd_pcm_indirect pcm_indirect; member in struct:hal2_codec
560 memset(&dac->pcm_indirect, 0, sizeof(dac->pcm_indirect)); hal2_playback_prepare()
561 dac->pcm_indirect.hw_buffer_size = H2_BUF_SIZE; hal2_playback_prepare()
562 dac->pcm_indirect.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream); hal2_playback_prepare()
574 hal2->dac.pcm_indirect.hw_io = hal2->dac.buffer_dma; hal2_playback_trigger()
575 hal2->dac.pcm_indirect.hw_data = 0; hal2_playback_trigger()
594 return snd_pcm_indirect_playback_pointer(substream, &dac->pcm_indirect, hal2_playback_pointer()
614 dac->pcm_indirect.hw_queue_size = H2_BUF_SIZE / 2; hal2_playback_ack()
616 &dac->pcm_indirect, hal2_playback_ack()
652 memset(&adc->pcm_indirect, 0, sizeof(adc->pcm_indirect)); hal2_capture_prepare()
653 adc->pcm_indirect.hw_buffer_size = H2_BUF_SIZE; hal2_capture_prepare()
654 adc->pcm_indirect.hw_queue_size = H2_BUF_SIZE / 2; hal2_capture_prepare()
655 adc->pcm_indirect.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream); hal2_capture_prepare()
667 hal2->adc.pcm_indirect.hw_io = hal2->adc.buffer_dma; hal2_capture_trigger()
668 hal2->adc.pcm_indirect.hw_data = 0; hal2_capture_trigger()
687 return snd_pcm_indirect_capture_pointer(substream, &adc->pcm_indirect, hal2_capture_pointer()
707 &adc->pcm_indirect, hal2_capture_ack()

Completed in 104 milliseconds