Home
last modified time | relevance | path

Searched refs:alsa_rt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/usb/6fire/
H A Dpcm.c202 * (alsa_rt->frame_bits >> 3)); in usb6fire_pcm_capture()
203 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_capture()
204 * (alsa_rt->frame_bits >> 3)); in usb6fire_pcm_capture()
226 dest += alsa_rt->channels; in usb6fire_pcm_capture()
248 * (alsa_rt->frame_bits >> 3)); in usb6fire_pcm_playback()
249 u32 *src_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_playback()
250 * (alsa_rt->frame_bits >> 3)); in usb6fire_pcm_playback()
274 src += alsa_rt->channels; in usb6fire_pcm_playback()
279 src = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_playback()
396 alsa_rt->hw = pcm_hw; in usb6fire_pcm_open()
[all …]
/openbmc/linux/sound/usb/hiface/
H A Dpcm.c262 WARN_ON(alsa_rt->format != SNDRV_PCM_FORMAT_S32_LE); in hiface_pcm_playback()
271 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
283 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
286 source = alsa_rt->dma_area; in hiface_pcm_playback()
295 if (sub->period_off >= alsa_rt->period_size) { in hiface_pcm_playback()
296 sub->period_off %= alsa_rt->period_size; in hiface_pcm_playback()
353 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime; in hiface_pcm_open() local
360 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
373 alsa_rt->hw.rates |= SNDRV_PCM_RATE_KNOT; in hiface_pcm_open()
374 alsa_rt->hw.rate_max = 384000; in hiface_pcm_open()
[all …]