Lines Matching defs:pcm
20 #include <sound/pcm.h>
27 #include "s6000-pcm.h"
89 printk(KERN_ERR "s6000-pcm: fifo full\n");
104 struct snd_pcm *pcm = data;
105 struct snd_soc_pcm_runtime *runtime = pcm->private_data;
119 struct snd_pcm_substream *substream = pcm->streams[i].substream;
128 dev_dbg(pcm->dev, "xrun\n");
141 dev_dbg(pcm->dev, "period elapsed %x %x\n",
156 "s6000-pcm: DMA %x Underflow\n",
160 "s6000-pcm: DMA %x Overflow\n",
164 "s6000-pcm: DMA %x Master Error "
384 printk(KERN_WARNING "s6000-pcm: allocation of memory failed\n");
432 static void s6000_pcm_free(struct snd_pcm *pcm)
434 struct snd_soc_pcm_runtime *runtime = pcm->private_data;
438 free_irq(params->irq, pcm);
439 snd_pcm_lib_preallocate_free_for_all(pcm);
445 struct snd_soc_dai *dai, struct snd_pcm *pcm)
447 struct snd_soc_pcm_runtime *runtime = pcm->private_data;
473 s6000_soc_platform.name, pcm);
475 printk(KERN_ERR "s6000-pcm couldn't get IRQ\n");
479 res = snd_pcm_lib_preallocate_pages_for_all(pcm,
485 printk(KERN_WARNING "s6000-pcm: preallocation failed\n");