Lines Matching full:pcm

31 		if (!snd_interval_test(c, formation.pcm))  in hw_rule_rate()
63 if (list[count] == formation.pcm) in hw_rule_channels()
67 if (list[j] == formation.pcm) in hw_rule_channels()
71 list[count] = formation.pcm; in hw_rule_channels()
100 hw->channels_min = min(hw->channels_min, formation.pcm); in limit_channels_and_rates()
101 hw->channels_max = max(hw->channels_max, formation.pcm); in limit_channels_and_rates()
162 substream->runtime->hw.channels_min = formation.pcm; in limit_to_current_params()
163 substream->runtime->hw.channels_max = formation.pcm; in limit_to_current_params()
187 // transmission of PCM frames, the available sampling rate is limited in pcm_open()
348 struct snd_pcm_substream *pcm; in pcm_capture_trigger() local
352 pcm = substream; in pcm_capture_trigger()
355 pcm = NULL; in pcm_capture_trigger()
360 amdtp_stream_pcm_trigger(&oxfw->tx_stream, pcm); in pcm_capture_trigger()
366 struct snd_pcm_substream *pcm; in pcm_playback_trigger() local
370 pcm = substream; in pcm_playback_trigger()
373 pcm = NULL; in pcm_playback_trigger()
378 amdtp_stream_pcm_trigger(&oxfw->rx_stream, pcm); in pcm_playback_trigger()
431 struct snd_pcm *pcm; in snd_oxfw_create_pcm() local
438 err = snd_pcm_new(oxfw->card, oxfw->card->driver, 0, 1, cap, &pcm); in snd_oxfw_create_pcm()
442 pcm->private_data = oxfw; in snd_oxfw_create_pcm()
443 pcm->nonatomic = true; in snd_oxfw_create_pcm()
444 strcpy(pcm->name, oxfw->card->shortname); in snd_oxfw_create_pcm()
445 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops); in snd_oxfw_create_pcm()
447 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &capture_ops); in snd_oxfw_create_pcm()
448 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_VMALLOC, NULL, 0, 0); in snd_oxfw_create_pcm()