Searched refs:voicenum (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | cardwo.c | 120 static int get_voice(struct emu10k1_card *card, struct woinst *woinst, unsigned int voicenum) in get_voice() argument 122 struct emu_voice *voice = &woinst->voice[voicenum]; in get_voice() 192 0xfff0 + card->mchannel_fx + voicenum; in get_voice() 224 unsigned int voicenum; in emu10k1_waveout_open() local 229 for (voicenum = 0; voicenum < woinst->num_voices; voicenum++) { in emu10k1_waveout_open() 230 if (emu10k1_voice_alloc_buffer(card, &woinst->voice[voicenum].mem, woinst->buffer.pages) < 0) { in emu10k1_waveout_open() 236 if (get_voice(card, woinst, voicenum) < 0) { in emu10k1_waveout_open() 263 unsigned int voicenum; in emu10k1_waveout_close() local 271 for (voicenum = 0; voicenum < woinst->num_voices; voicenum++) { in emu10k1_waveout_close() 272 emu10k1_voice_free(&woinst->voice[voicenum]); in emu10k1_waveout_close() [all …]
|
D | voicemgr.c | 263 unsigned int voicenum; in emu10k1_voices_start() local 268 for (voicenum = 0; voicenum < num_voices; voicenum++) in emu10k1_voices_start() 270 voice = first_voice + voicenum; in emu10k1_voices_start() 321 for (voicenum = 0; voicenum < num_voices; voicenum++) in emu10k1_voices_start() 323 voice = first_voice + voicenum; in emu10k1_voices_start()
|
D | hwaccess.c | 324 void emu10k1_set_stop_on_loop(struct emu10k1_card *card, u32 voicenum) in emu10k1_set_stop_on_loop() argument 327 if (voicenum >= 32) in emu10k1_set_stop_on_loop() 328 sblive_writeptr(card, SOLEH | ((0x0100 | (voicenum - 32)) << 16), 0, 1); in emu10k1_set_stop_on_loop() 330 sblive_writeptr(card, SOLEL | ((0x0100 | voicenum) << 16), 0, 1); in emu10k1_set_stop_on_loop() 335 void emu10k1_clear_stop_on_loop(struct emu10k1_card *card, u32 voicenum) in emu10k1_clear_stop_on_loop() argument 338 if (voicenum >= 32) in emu10k1_clear_stop_on_loop() 339 sblive_writeptr(card, SOLEH | ((0x0100 | (voicenum - 32)) << 16), 0, 0); in emu10k1_clear_stop_on_loop() 341 sblive_writeptr(card, SOLEL | ((0x0100 | voicenum) << 16), 0, 0); in emu10k1_clear_stop_on_loop()
|