Searched refs:NUM_G (Results 1 – 4 of 4) sorted by relevance
42 for (i = emu->next_free_voice, j = 0; j < NUM_G ; i += number, j += number) { in voice_alloc()47 i %= NUM_G; in voice_alloc()57 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc()66 last_voice = (i + number) % NUM_G; in voice_alloc()76 voice = &emu->voices[(first_voice + i) % NUM_G]; in voice_alloc()
177 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_init()271 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_init()403 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_done()405 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_done()1976 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_create()2025 emu->saved_ptr = vmalloc(array3_size(4, NUM_G, size)); in alloc_pm_buffer()2052 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2056 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2092 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()2096 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()
185 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_read()370 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_voices_read()
33 #define NUM_G 64 /* use all channels */ macro1741 struct snd_emu10k1_voice voices[NUM_G];