Lines Matching defs:pcm
31 if (!snd_interval_test(c, formation.pcm))
63 if (list[count] == formation.pcm)
67 if (list[j] == formation.pcm)
71 list[count] = formation.pcm;
100 hw->channels_min = min(hw->channels_min, formation.pcm);
101 hw->channels_max = max(hw->channels_max, formation.pcm);
162 substream->runtime->hw.channels_min = formation.pcm;
163 substream->runtime->hw.channels_max = formation.pcm;
348 struct snd_pcm_substream *pcm;
352 pcm = substream;
355 pcm = NULL;
360 amdtp_stream_pcm_trigger(&oxfw->tx_stream, pcm);
366 struct snd_pcm_substream *pcm;
370 pcm = substream;
373 pcm = NULL;
378 amdtp_stream_pcm_trigger(&oxfw->rx_stream, pcm);
431 struct snd_pcm *pcm;
438 err = snd_pcm_new(oxfw->card, oxfw->card->driver, 0, 1, cap, &pcm);
442 pcm->private_data = oxfw;
443 strcpy(pcm->name, oxfw->card->shortname);
444 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops);
446 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops);
447 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_VMALLOC, NULL, 0, 0);