Lines Matching defs:pcm
2 * linux/sound/arm/pxa2xx-pcm.c -- ALSA PCM interface for the Intel PXA2xx chip
16 #include "pxa2xx-pcm.h"
87 struct snd_pcm *pcm;
92 ret = snd_pcm_new(card, "PXA2xx-PCM", 0, play, capt, &pcm);
96 pcm->private_data = client;
97 pcm->private_free = pxa2xx_pcm_free_dma_buffers;
106 snd_pcm_set_ops(pcm, stream, &pxa2xx_pcm_ops);
107 ret = pxa2xx_pcm_preallocate_dma_buffer(pcm, stream);
113 snd_pcm_set_ops(pcm, stream, &pxa2xx_pcm_ops);
114 ret = pxa2xx_pcm_preallocate_dma_buffer(pcm, stream);
120 *rpcm = pcm;