Searched refs:spdif_sr (Results 1 – 3 of 3) sorted by relevance
166 switch (vortex->spdif_sr) { in snd_vortex_pcm_open()497 switch (vortex->spdif_sr) { in snd_vortex_spdif_get()508 int spdif_sr = 48000; in snd_vortex_spdif_put() local510 case IEC958_AES3_CON_FS_32000: spdif_sr = 32000; break; in snd_vortex_spdif_put()511 case IEC958_AES3_CON_FS_44100: spdif_sr = 44100; break; in snd_vortex_spdif_put()512 case IEC958_AES3_CON_FS_48000: spdif_sr = 48000; break; in snd_vortex_spdif_put()514 if (spdif_sr == vortex->spdif_sr) in snd_vortex_spdif_put()516 vortex->spdif_sr = spdif_sr; in snd_vortex_spdif_put()517 vortex_spdif_init(vortex, vortex->spdif_sr, 1); in snd_vortex_spdif_put()
152 int spdif_sr; member238 static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode);
2606 static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode) in vortex_spdif_init() argument2624 i = (((0x5DC00000 / spdif_sr) + 1) >> 1); in vortex_spdif_init()2640 i = spdif_sr; in vortex_spdif_init()2641 spdif_sr |= 0x8c; in vortex_spdif_init()2649 spdif_sr &= 0xFFFFFFFD; in vortex_spdif_init()2650 spdif_sr |= 1; in vortex_spdif_init()2658 spdif_sr &= 0xFFFFFFFC; in vortex_spdif_init()2673 spdif_sr |= 2; in vortex_spdif_init()2674 spdif_sr &= 0xFFFFFFFE; in vortex_spdif_init()2683 hwwrite(vortex->mmio, VORTEX_SPDIF_SMPRATE, spdif_sr); in vortex_spdif_init()