Lines Matching refs:spdif
1262 Description: Set the hardware parameters for the spdif device.
1524 if (voice->spdif)
1846 voice->spdif = 1;
2224 struct snd_pcm *spdif;
2229 if ((err = snd_pcm_new(trident->card, "trident_dx_nx IEC958", device, 1, 0, &spdif)) < 0)
2232 spdif->private_data = trident;
2234 snd_pcm_set_ops(spdif, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_spdif_ops);
2236 snd_pcm_set_ops(spdif, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_spdif_7018_ops);
2238 spdif->info_flags = 0;
2239 strcpy(spdif->name, "Trident 4DWave IEC958");
2240 trident->spdif = spdif;
2242 snd_pcm_lib_preallocate_pages_for_all(spdif, SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(trident->pci), 64*1024, 128*1024);
2245 *rpcm = spdif;
2293 if (trident->spdif == NULL) {
2362 if (trident->spdif == NULL)
2453 if (trident->spdif != NULL) {
3758 pvoice->spdif = 0;
3806 voice->capture = voice->spdif = 0;
3847 snd_pcm_suspend_all(trident->spdif);