Lines Matching defs:pcm
2 // linux/sound/bcm/bcm63xx-pcm-whistler.c
3 // BCM63xx whistler pcm interface
351 struct snd_pcm *pcm = rtd->pcm;
357 of_dma_configure(pcm->card->dev, pcm->card->dev->of_node, 1);
359 ret = dma_coerce_mask_and_coherent(pcm->card->dev, DMA_BIT_MASK(32));
363 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream)
365 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream;
366 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream)
368 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
370 return snd_pcm_set_fixed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV_WC,
371 pcm->card->dev,