Searched refs:spdif_sr (Results 1 – 3 of 3) sorted by relevance
166 switch (vortex->spdif_sr) { in snd_vortex_pcm_open()494 switch (vortex->spdif_sr) { in snd_vortex_spdif_get()505 int spdif_sr = 48000; in snd_vortex_spdif_put() local507 case IEC958_AES3_CON_FS_32000: spdif_sr = 32000; break; in snd_vortex_spdif_put()508 case IEC958_AES3_CON_FS_44100: spdif_sr = 44100; break; in snd_vortex_spdif_put()509 case IEC958_AES3_CON_FS_48000: spdif_sr = 48000; break; in snd_vortex_spdif_put()511 if (spdif_sr == vortex->spdif_sr) in snd_vortex_spdif_put()513 vortex->spdif_sr = spdif_sr; in snd_vortex_spdif_put()514 vortex_spdif_init(vortex, vortex->spdif_sr, 1); in snd_vortex_spdif_put()
154 int spdif_sr; member240 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()