Lines Matching defs:pcm
2119 struct snd_pcm *pcm;
2122 err = snd_pcm_new(trident->card, "trident_dx_nx", device, trident->ChanPCM, 1, &pcm);
2126 pcm->private_data = trident;
2129 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_nx_playback_ops);
2131 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_playback_ops);
2133 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
2138 pcm->info_flags = 0;
2139 pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
2140 strcpy(pcm->name, "Trident 4DWave");
2141 trident->pcm = pcm;
2145 for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substream->next)
2149 snd_pcm_set_managed_buffer(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
2154 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,
3587 /* initialize pcm mixer entries */
3677 if (!voice->pcm || voice->substream == NULL) {
3762 pvoice->pcm = 1;
3805 if (voice->pcm)
3809 voice->use = voice->pcm = voice->synth = voice->midi = 0;