Lines Matching refs:pcm_indirect
56 struct snd_pcm_indirect pcm_indirect; member
536 memset(&dac->pcm_indirect, 0, sizeof(dac->pcm_indirect)); in hal2_playback_prepare()
537 dac->pcm_indirect.hw_buffer_size = H2_BUF_SIZE; in hal2_playback_prepare()
538 dac->pcm_indirect.hw_queue_size = H2_BUF_SIZE / 2; in hal2_playback_prepare()
539 dac->pcm_indirect.hw_io = dac->buffer_dma; in hal2_playback_prepare()
540 dac->pcm_indirect.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream); in hal2_playback_prepare()
569 return snd_pcm_indirect_playback_pointer(substream, &dac->pcm_indirect, in hal2_playback_pointer()
592 &dac->pcm_indirect, in hal2_playback_ack()
621 memset(&adc->pcm_indirect, 0, sizeof(adc->pcm_indirect)); in hal2_capture_prepare()
622 adc->pcm_indirect.hw_buffer_size = H2_BUF_SIZE; in hal2_capture_prepare()
623 adc->pcm_indirect.hw_queue_size = H2_BUF_SIZE / 2; in hal2_capture_prepare()
624 adc->pcm_indirect.hw_io = adc->buffer_dma; in hal2_capture_prepare()
625 adc->pcm_indirect.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream); in hal2_capture_prepare()
654 return snd_pcm_indirect_capture_pointer(substream, &adc->pcm_indirect, in hal2_capture_pointer()
676 &adc->pcm_indirect, in hal2_capture_ack()