Searched refs:NUM_G (Results 1 – 5 of 5) 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()2018 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_create()2077 emu->saved_ptr = vmalloc(array3_size(4, NUM_G, size)); in alloc_pm_buffer()2104 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2108 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2144 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()2148 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()
126 epcm->voices[i] = &epcm->emu->voices[(epcm->voices[0]->number + i) % NUM_G]; in snd_emu10k1_pcm_channel_alloc()
33 #define NUM_G 64 /* use all channels */ macro1741 struct snd_emu10k1_voice voices[NUM_G];