Searched refs:spdif_pcm (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/sound/pci/ |
D | rme32.c | 208 struct snd_pcm *spdif_pcm; member 1294 rme32->spdif_pcm = NULL; in snd_rme32_free_spdif_pcm() 1339 if ((err = snd_pcm_new(rme32->card, "Digi32 IEC958", 0, 1, 1, &rme32->spdif_pcm)) < 0) { in snd_rme32_create() 1342 rme32->spdif_pcm->private_data = rme32; in snd_rme32_create() 1343 rme32->spdif_pcm->private_free = snd_rme32_free_spdif_pcm; in snd_rme32_create() 1344 strcpy(rme32->spdif_pcm->name, "Digi32 IEC958"); in snd_rme32_create() 1346 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_rme32_create() 1348 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_rme32_create() 1350 snd_pcm_set_managed_buffer_all(rme32->spdif_pcm, SNDRV_DMA_TYPE_CONTINUOUS, in snd_rme32_create() 1352 rme32->spdif_pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; in snd_rme32_create() [all …]
|
D | rme96.c | 245 struct snd_pcm *spdif_pcm; member 1592 rme96->spdif_pcm = NULL; in snd_rme96_free_spdif_pcm() 1639 1, 1, &rme96->spdif_pcm)) < 0) in snd_rme96_create() 1643 rme96->spdif_pcm->private_data = rme96; in snd_rme96_create() 1644 rme96->spdif_pcm->private_free = snd_rme96_free_spdif_pcm; in snd_rme96_create() 1645 strcpy(rme96->spdif_pcm->name, "Digi96 IEC958"); in snd_rme96_create() 1646 snd_pcm_set_ops(rme96->spdif_pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_rme96_playback_spdif_ops); in snd_rme96_create() 1647 snd_pcm_set_ops(rme96->spdif_pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_rme96_capture_spdif_ops); in snd_rme96_create() 1649 rme96->spdif_pcm->info_flags = 0; in snd_rme96_create()
|