Lines Matching defs:pcm
25 if (formations[i].pcm == 0)
28 if (!snd_interval_test(c, formations[i].pcm))
54 if (formations[i].pcm == 0)
60 t.min = min(t.min, formations[i].pcm);
61 t.max = max(t.max, formations[i].pcm);
82 if (formations[i].pcm == 0)
85 hw->channels_min = min(hw->channels_min, formations[i].pcm);
86 hw->channels_max = max(hw->channels_max, formations[i].pcm);
362 struct snd_pcm *pcm;
365 err = snd_pcm_new(bebob->card, bebob->card->driver, 0, 1, 1, &pcm);
369 pcm->private_data = bebob;
370 snprintf(pcm->name, sizeof(pcm->name),
372 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops);
373 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
374 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_VMALLOC, NULL, 0, 0);