Lines Matching defs:pcm
32 #include <sound/pcm.h>
108 struct snd_pcm *pcm;
197 if (chip->pcm && chip->playback_substream) {
205 if (chip->pcm && chip->capture_substream) {
230 if (chip->pcm && chip->playback_substream) {
239 if (chip->pcm && chip->capture_substream) {
557 struct snd_pcm *pcm;
560 err = snd_pcm_new(chip->card, "ALS300", 0, 1, 1, &pcm);
563 pcm->private_data = chip;
564 strcpy(pcm->name, "ALS300");
565 chip->pcm = pcm;
568 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
570 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
574 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, &chip->pci->dev,