Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-pcm.c218 memset(&alsa_stream->pcm_indirect, 0, sizeof(alsa_stream->pcm_indirect)); in snd_bcm2835_pcm_prepare()
220 alsa_stream->pcm_indirect.hw_buffer_size = in snd_bcm2835_pcm_prepare()
221 alsa_stream->pcm_indirect.sw_buffer_size = in snd_bcm2835_pcm_prepare()
248 struct snd_pcm_indirect *pcm_indirect = &alsa_stream->pcm_indirect; in snd_bcm2835_pcm_ack() local
250 return snd_pcm_indirect_playback_transfer(substream, pcm_indirect, in snd_bcm2835_pcm_ack()
299 &alsa_stream->pcm_indirect, in snd_bcm2835_pcm_pointer()
H A Dbcm2835.h73 struct snd_pcm_indirect pcm_indirect; member
/openbmc/linux/sound/mips/
H A Dhal2.c56 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()
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()
[all …]