Lines Matching defs:pcm
32 #include <sound/pcm.h>
107 struct snd_pcm *pcm;
186 if (chip->pcm && chip->playback_substream) {
194 if (chip->pcm && chip->capture_substream) {
219 if (chip->pcm && chip->playback_substream) {
228 if (chip->pcm && chip->capture_substream) {
542 struct snd_pcm *pcm;
545 err = snd_pcm_new(chip->card, "ALS300", 0, 1, 1, &pcm);
548 pcm->private_data = chip;
549 strcpy(pcm->name, "ALS300");
550 chip->pcm = pcm;
553 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
555 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
559 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, &chip->pci->dev,