Home
last modified time | relevance | path

Searched refs:max_voices (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/sound/pci/emu10k1/
H A Demu10k1_synth.c32 if (arg->max_voices < 1) in snd_emu10k1_synth_probe()
33 arg->max_voices = 1; in snd_emu10k1_synth_probe()
34 else if (arg->max_voices > 64) in snd_emu10k1_synth_probe()
35 arg->max_voices = 64; in snd_emu10k1_synth_probe()
43 emux->max_voices = arg->max_voices; in snd_emu10k1_synth_probe()
H A Demu10k1.c161 arg->max_voices = max_synth_voices[dev]; in snd_card_emu10k1_probe()
H A Demu10k1_callback.c226 for (i = 0; i < emu->max_voices; i++) { in lookup_voices()
/openbmc/linux/sound/synth/emux/
H A Demux.c40 emu->max_voices = 0; in snd_emux_new()
82 if (snd_BUG_ON(!emu->hw || emu->max_voices <= 0)) in snd_emux_register()
89 emu->voices = kcalloc(emu->max_voices, sizeof(struct snd_emux_voice), in snd_emux_register()
H A Demux_synth.c118 for (i = 0; i < emu->max_voices; i++) { in snd_emux_note_on()
162 for (ch = 0; ch < emu->max_voices; ch++) { in snd_emux_note_off()
199 for (ch = 0; ch < emu->max_voices; ch++) { in snd_emux_timer_callback()
239 for (ch = 0; ch < emu->max_voices; ch++) { in snd_emux_key_press()
270 for (i = 0; i < emu->max_voices; i++) { in snd_emux_update_channel()
297 for (i = 0; i < emu->max_voices; i++) { in snd_emux_update_port()
371 for (i = 0; i < emu->max_voices; i++) { in terminate_note1()
413 for (i = 0; i < emu->max_voices; i++) { in snd_emux_terminate_all()
450 for (i = 0; i < emu->max_voices; i++) { in snd_emux_sounds_off_all()
478 for (i = 0; i < emu->max_voices; i++) { in exclusive_note_off()
[all …]
H A Demux_proc.c31 snd_iprintf(buf, "Max Voices: %d\n", emu->max_voices); in snd_emux_proc_info_read()
H A Demux_effect.c199 for (i = 0; i < emu->max_voices; i++) { in snd_emux_send_effect()
H A Demux_seq.c166 emu->max_voices, name); in snd_emux_create_port()
H A Demux_oss.c67 arg->nvoices = emu->max_voices; in snd_emux_init_seq_oss()
/openbmc/qemu/audio/
H A Daudio_template.h42 int max_voices = glue (drv->max_voices_, TYPE); in glue() local
46 if (glue (s->nb_hw_voices_, TYPE) > max_voices) { in glue()
47 if (!max_voices) { in glue()
55 max_voices); in glue()
57 glue (s->nb_hw_voices_, TYPE) = max_voices; in glue()
66 if (audio_bug(__func__, !voice_size && max_voices)) { in glue()
68 drv->name, max_voices); in glue()
72 if (audio_bug(__func__, voice_size && !max_voices)) { in glue()
/openbmc/linux/include/sound/
H A Demu10k1_synth.h21 int max_voices; /* maximum number of voices for wavetable */ member
H A Demux_synth.h83 int max_voices; /* Number of voices */ member
H A Dopl3.h305 unsigned char max_voices; /* max number of voices */ member
/openbmc/linux/sound/drivers/opl3/
H A Dopl3_synth.c355 int max_voices, i; in snd_opl3_reset() local
357 max_voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_reset()
360 for (i = 0; i < max_voices; i++) { in snd_opl3_reset()
380 opl3->max_voices = MAX_OPL2_VOICES; in snd_opl3_reset()
H A Dopl3_midi.c115 for (i = 0; i < opl3->max_voices; i++) in debug_alloc()
155 for (i = 0; i < opl3->max_voices; i++) { in opl3_get_voice()
231 for (i = 0; i < opl3->max_voices; i++) { in snd_opl3_timer_func()
675 for (voice = 0; voice < opl3->max_voices; voice++) { in snd_opl3_note_off_unsafe()
781 for (voice = 0; voice < opl3->max_voices; voice++) { in snd_opl3_pitch_ctrl()
H A Dopl3_lib.c378 opl3->max_voices = MAX_OPL2_VOICES; in snd_opl3_init()
382 opl3->max_voices = MAX_OPL3_VOICES; in snd_opl3_init()
H A Dopl3_seq.c64 opl3->max_voices = MAX_OPL3_VOICES; in snd_opl3_synth_setup()
/openbmc/linux/sound/isa/sb/
H A Demu8000_synth.c44 emu->max_voices = EMU8000_DRAM_VOICES; in snd_emu8000_probe()
H A Demu8000_callback.c172 for (i = 0; i < emu->max_voices; i++) { in get_voice()
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0.c278 arg->max_voices = max_synth_voices[dev]; in __snd_vortex_probe()