Searched refs:NUM_G (Results 1 – 4 of 4) sorted by relevance
55 for (i = emu->next_free_voice, j = 0; j < NUM_G ; i += number, j += number) { in voice_alloc()60 i %= NUM_G; in voice_alloc()70 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc()79 last_voice = (i + number) % NUM_G; in voice_alloc()89 voice = &emu->voices[(first_voice + i) % NUM_G]; in voice_alloc()
191 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_init()285 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_init()412 for (ch = 0; ch < NUM_G; ch++) in snd_emu10k1_done()414 for (ch = 0; ch < NUM_G; ch++) { in snd_emu10k1_done()1945 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_create()2005 emu->saved_ptr = vmalloc(4 * NUM_G * size); in alloc_pm_buffer()2032 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2036 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_suspend_regs()2072 for (i = 0; i < NUM_G; i++, val++) in snd_emu10k1_resume_regs()2076 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];