Searched refs:NUM_G (Results 1 – 4 of 4) sorted by relevance
56 for (i = emu->next_free_voice, j = 0; j < NUM_G ; i += number, j += number) { in voice_alloc()61 i %= NUM_G; in voice_alloc()71 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc()80 last_voice = (i + number) % NUM_G; in voice_alloc()90 voice = &emu->voices[(first_voice + i) % NUM_G]; in voice_alloc()
192 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_init()286 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_init()418 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_done()420 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_done()2044 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_create()2103 emu->saved_ptr = vmalloc(array3_size(4, NUM_G, size)); in alloc_pm_buffer()2130 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2134 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2170 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()2174 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()
199 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_read()384 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_voices_read()
48 #define NUM_G 64 /* use all channels */ macro1756 struct snd_emu10k1_voice voices[NUM_G];