Lines Matching refs:pcm
128 if (IEC958 == substream->pcm->device) { in ct_pcm_playback_open()
133 if (FRONT == substream->pcm->device) in ct_pcm_playback_open()
168 if (IEC958 == substream->pcm->device) in ct_pcm_playback_close()
205 if (IEC958 == substream->pcm->device) in ct_pcm_playback_prepare()
417 struct snd_pcm *pcm; in ct_alsa_pcm_create() local
426 playback_count, capture_count, &pcm); in ct_alsa_pcm_create()
433 pcm->private_data = atc; in ct_alsa_pcm_create()
434 pcm->info_flags = 0; in ct_alsa_pcm_create()
435 pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX; in ct_alsa_pcm_create()
436 strscpy(pcm->name, device_name, sizeof(pcm->name)); in ct_alsa_pcm_create()
438 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &ct_pcm_playback_ops); in ct_alsa_pcm_create()
441 snd_pcm_set_ops(pcm, in ct_alsa_pcm_create()
444 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV_SG, in ct_alsa_pcm_create()
466 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
472 atc->pcms[device] = pcm; in ct_alsa_pcm_create()