Searched refs:spdif_pcm (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/pci/ |
H A D | rme32.c | 207 struct snd_pcm *spdif_pcm; member 1262 rme32->spdif_pcm = NULL; in snd_rme32_free_spdif_pcm() 1309 err = snd_pcm_new(rme32->card, "Digi32 IEC958", 0, 1, 1, &rme32->spdif_pcm); in snd_rme32_create() 1312 rme32->spdif_pcm->private_data = rme32; in snd_rme32_create() 1313 rme32->spdif_pcm->private_free = snd_rme32_free_spdif_pcm; in snd_rme32_create() 1314 strcpy(rme32->spdif_pcm->name, "Digi32 IEC958"); in snd_rme32_create() 1316 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_rme32_create() 1318 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_rme32_create() 1320 snd_pcm_set_managed_buffer_all(rme32->spdif_pcm, SNDRV_DMA_TYPE_CONTINUOUS, in snd_rme32_create() 1322 rme32->spdif_pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; in snd_rme32_create() [all …]
|
H A D | rme96.c | 240 struct snd_pcm *spdif_pcm; member 1556 rme96->spdif_pcm = NULL; in snd_rme96_free_spdif_pcm() 1605 1, 1, &rme96->spdif_pcm); in snd_rme96_create() 1609 rme96->spdif_pcm->private_data = rme96; in snd_rme96_create() 1610 rme96->spdif_pcm->private_free = snd_rme96_free_spdif_pcm; in snd_rme96_create() 1611 strcpy(rme96->spdif_pcm->name, "Digi96 IEC958"); in snd_rme96_create() 1612 snd_pcm_set_ops(rme96->spdif_pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_rme96_playback_spdif_ops); in snd_rme96_create() 1613 snd_pcm_set_ops(rme96->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme96_capture_spdif_ops); in snd_rme96_create() 1615 rme96->spdif_pcm->info_flags = 0; in snd_rme96_create()
|