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()413 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_done()415 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_done()1975 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_create()2035 emu->saved_ptr = vmalloc(4 * NUM_G * size); in alloc_pm_buffer()2062 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2066 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2102 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()2106 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()
200 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_read()395 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_voices_read()
49 #define NUM_G 64 /* use all channels */ macro1755 struct snd_emu10k1_voice voices[NUM_G];