Lines Matching defs:pcm
690 (long) pcm->playback.buffer, (long) gus->gf1.pcm_buffer);
710 snd_printk(KERN_ERR "gf1 pcm - serious DMA problem\n");
785 if (!pvoice->pcm)
847 struct snd_pcm *pcm;
858 &pcm);
861 pcm->private_data = gus;
863 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_gf1_pcm_playback_ops);
865 for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substream->next)
870 pcm->info_flags = 0;
871 pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
873 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_gf1_pcm_capture_ops);
875 pcm->info_flags |= SNDRV_PCM_INFO_HALF_DUPLEX;
876 snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
880 strcpy(pcm->name, pcm->id);
882 sprintf(pcm->name + strlen(pcm->name), " rev %c", gus->revision + 'A');
884 strcat(pcm->name, " (synth)");
885 gus->pcm = pcm;