Searched refs:spdif_sr (Results 1 – 3 of 3) sorted by relevance
154 switch (vortex->spdif_sr) { in snd_vortex_pcm_open()475 switch (vortex->spdif_sr) { in snd_vortex_spdif_get()486 int spdif_sr = 48000; in snd_vortex_spdif_put() local488 case IEC958_AES3_CON_FS_32000: spdif_sr = 32000; break; in snd_vortex_spdif_put()489 case IEC958_AES3_CON_FS_44100: spdif_sr = 44100; break; in snd_vortex_spdif_put()490 case IEC958_AES3_CON_FS_48000: spdif_sr = 48000; break; in snd_vortex_spdif_put()492 if (spdif_sr == vortex->spdif_sr) in snd_vortex_spdif_put()494 vortex->spdif_sr = spdif_sr; in snd_vortex_spdif_put()495 vortex_spdif_init(vortex, vortex->spdif_sr, 1); in snd_vortex_spdif_put()
140 int spdif_sr; member226 static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode);
2601 static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode) in vortex_spdif_init() argument2619 i = (((0x5DC00000 / spdif_sr) + 1) >> 1); in vortex_spdif_init()2635 i = spdif_sr; in vortex_spdif_init()2636 spdif_sr |= 0x8c; in vortex_spdif_init()2644 spdif_sr &= 0xFFFFFFFD; in vortex_spdif_init()2645 spdif_sr |= 1; in vortex_spdif_init()2653 spdif_sr &= 0xFFFFFFFC; in vortex_spdif_init()2668 spdif_sr |= 2; in vortex_spdif_init()2669 spdif_sr &= 0xFFFFFFFE; in vortex_spdif_init()2678 hwwrite(vortex->mmio, VORTEX_SPDIF_SMPRATE, spdif_sr); in vortex_spdif_init()