Home
last modified time | relevance | path

Searched refs:voices (Results 1 – 25 of 32) sorted by relevance

12

/linux/sound/pci/ymfpci/
H A Dymfpci_main.c202 voice = &chip->voices[idx]; in voice_alloc()
203 voice2 = pair ? &chip->voices[idx+1] : NULL; in voice_alloc()
316 if (ypcm->voices[1]) in snd_ymfpci_pcm_interrupt()
317 bank = &ypcm->voices[1]->bank[next_bank]; in snd_ymfpci_pcm_interrupt()
367 if (ypcm->voices[0] == NULL) in snd_ymfpci_playback_trigger()
373 chip->ctrl_playback[ypcm->voices[0]->number + 1] = cpu_to_le32(ypcm->voices[0]->bank_addr); in snd_ymfpci_playback_trigger()
374 if (ypcm->voices[1] != NULL && !ypcm->use_441_slot) in snd_ymfpci_playback_trigger()
375 chip->ctrl_playback[ypcm->voices[1]->number + 1] = cpu_to_le32(ypcm->voices[1]->bank_addr); in snd_ymfpci_playback_trigger()
386 chip->ctrl_playback[ypcm->voices[0]->number + 1] = 0; in snd_ymfpci_playback_trigger()
387 if (ypcm->voices[1] != NULL && !ypcm->use_441_slot) in snd_ymfpci_playback_trigger()
[all …]
H A Dymfpci.h256 struct snd_ymfpci_voice *voices[2]; /* playback only */ member
352 struct snd_ymfpci_voice voices[64]; member
/linux/sound/isa/sb/
H A Demu8000_pcm.c53 int voices; member
378 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_trigger()
384 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_trigger()
468 if (rec->voices > 1) \
475 if (rec->voices > 1) { \
550 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_hw_free()
572 rec->voices = subs->runtime->channels; in emu8k_pcm_prepare()
574 if (rec->voices > 1) in emu8k_pcm_prepare()
576 if (rec->voices > 1) { in emu8k_pcm_prepare()
586 err = emu8k_open_dram_for_pcm(rec->emu, rec->voices); in emu8k_pcm_prepare()
[all …]
H A Demu8000_callback.c175 vp = &emu->voices[i]; in get_voice()
208 vp = &emu->voices[best[i].voice]; in get_voice()
/linux/sound/pci/ice1712/
H A Dphase.c466 int voices = kcontrol->private_value >> 8; in wm_vol_info() local
468 uinfo->count = voices; in wm_vol_info()
479 int i, ofs, voices; in wm_vol_get() local
481 voices = kcontrol->private_value >> 8; in wm_vol_get()
483 for (i = 0; i < voices; i++) in wm_vol_get()
494 int i, idx, ofs, voices; in wm_vol_put() local
497 voices = kcontrol->private_value >> 8; in wm_vol_put()
500 for (i = 0; i < voices; i++) { in wm_vol_put()
535 int voices, ofs, i; in wm_mute_get() local
537 voices = kcontrol->private_value >> 8; in wm_mute_get()
[all …]
H A Daureon.c779 int voices = kcontrol->private_value >> 8; in wm_vol_info() local
781 uinfo->count = voices; in wm_vol_info()
791 int i, ofs, voices; in wm_vol_get() local
793 voices = kcontrol->private_value >> 8; in wm_vol_get()
795 for (i = 0; i < voices; i++) in wm_vol_get()
805 int i, idx, ofs, voices; in wm_vol_put() local
808 voices = kcontrol->private_value >> 8; in wm_vol_put()
811 for (i = 0; i < voices; i++) { in wm_vol_put()
844 int voices, ofs, i; in wm_mute_get() local
846 voices = kcontrol->private_value >> 8; in wm_mute_get()
[all …]
H A Dprodigy_hifi.c398 int voices = kcontrol->private_value >> 8; in wm8766_vol_info() local
400 uinfo->count = voices; in wm8766_vol_info()
411 int i, ofs, voices; in wm8766_vol_get() local
413 voices = kcontrol->private_value >> 8; in wm8766_vol_get()
415 for (i = 0; i < voices; i++) in wm8766_vol_get()
424 int i, idx, ofs, voices; in wm8766_vol_put() local
427 voices = kcontrol->private_value >> 8; in wm8766_vol_put()
430 for (i = 0; i < voices; i++) { in wm8766_vol_put()
/linux/sound/drivers/opl3/
H A Dopl3_oss.c51 int voices, opl_ver; in snd_opl3_oss_create_port() local
53 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_oss_create_port()
55 opl3->oss_chset = snd_midi_channel_alloc_set(voices); in snd_opl3_oss_create_port()
76 voices, voices, in snd_opl3_oss_create_port()
/linux/sound/synth/emux/
H A Demux.c89 emu->voices = kzalloc_objs(struct snd_emux_voice, emu->max_voices); in snd_emux_register()
90 if (emu->name == NULL || emu->voices == NULL) in snd_emux_register()
139 kfree(emu->voices); in snd_emux_free()
H A Demux_seq.c112 if (emu->voices) in snd_emux_detach_seq()
H A Demux_effect.c199 struct snd_emux_voice *vp = &emu->voices[i]; in snd_emux_send_effect()
/linux/sound/pci/emu10k1/
H A Demupcm.c78 for (unsigned i = 0; i < ARRAY_SIZE(epcm->voices); i++) { in snd_emu10k1_pcm_free_voices()
79 if (epcm->voices[i]) { in snd_emu10k1_pcm_free_voices()
80 snd_emu10k1_voice_free(epcm->emu, epcm->voices[i]); in snd_emu10k1_pcm_free_voices()
81 epcm->voices[i] = NULL; in snd_emu10k1_pcm_free_voices()
95 epcm, &epcm->voices[0]); in snd_emu10k1_pcm_channel_alloc()
312 emu->voices[voice].dirty = 1; in snd_emu10k1_pcm_init_voice()
441 snd_emu10k1_pcm_init_voices(emu, epcm->voices[0], w_16, stereo, in snd_emu10k1_playback_prepare()
469 snd_emu10k1_pcm_init_voices(emu, epcm->voices[i], true, false, in snd_emu10k1_efx_playback_prepare()
599 unsigned voice = epcm->voices[i]->number; in snd_emu10k1_playback_prepare_voices()
742 snd_emu10k1_playback_unmute_voices(emu, epcm->voices[0], stereo, mix); in snd_emu10k1_playback_trigger()
[all …]
H A Demu10k1_callback.c93 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
170 snd_emu10k1_voice_free(hw, &hw->voices[vp->ch]); in free_voice()
229 vp = &emu->voices[i]; in lookup_voices()
288 vp = &emu->voices[best[i].voice]; in get_voice()
444 hw->voices[ch].dirty = 1; in start_voice()
H A Dirq.c50 pvoice = emu->voices; in snd_emu10k1_interrupt()
66 pvoice = emu->voices; in snd_emu10k1_interrupt()
H A Demu10k1x.c232 struct emu10k1x_voice voices[3]; member
398 epcm->voice = &epcm->emu->voices[substream->pcm->device]; in snd_emu10k1x_pcm_hw_params()
738 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt()
900 chip->voices[ch].emu = chip; in snd_emu10k1x_create()
901 chip->voices[ch].number = ch; in snd_emu10k1x_create()
/linux/sound/isa/gus/
H A Dgus_main.c107 int voices, in snd_gus_create() argument
182 if (voices < 14) in snd_gus_create()
183 voices = 14; in snd_gus_create()
184 if (voices > 32) in snd_gus_create()
185 voices = 32; in snd_gus_create()
193 gus->gf1.active_voices = voices; in snd_gus_create()
H A Dgus_pcm.c35 unsigned int voices; member
114 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
140 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
150 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
209 for (idx = 0; idx < pcmp->voices; idx++, end += step) { in snd_gf1_pcm_interrupt_wave()
219 for (idx = 0; idx < pcmp->voices; idx++) { in snd_gf1_pcm_interrupt_wave()
405 pcmp->voices = params_channels(hw_params); in snd_gf1_pcm_playback_hw_params()
415 if (pcmp->voices > 1 && pcmp->pvoices[1] == NULL) { in snd_gf1_pcm_playback_hw_params()
423 } else if (pcmp->voices == 1) { in snd_gf1_pcm_playback_hw_params()
747 pvoice = &gus->gf1.voices[idx]; in snd_gf1_pcm_volume_put()
H A Dgus_irq.c56 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt()
117 pvoice = &gus->gf1.voices[idx]; in snd_gus_irq_info_read()
/linux/sound/mips/
H A Dhal2.c65 int voices; /* mono/stereo */ member
365 sample_size = 2 * hal2->dac.voices; in hal2_setup_dac()
385 | (hal2->dac.voices << H2I_C1_DATAT_SHIFT)); in hal2_setup_dac()
393 sample_size = 2 * hal2->adc.voices; in hal2_setup_adc()
410 | (hal2->adc.voices << H2I_C1_DATAT_SHIFT)); in hal2_setup_adc()
534 dac->voices = runtime->channels; in hal2_playback_prepare()
619 adc->voices = runtime->channels; in hal2_capture_prepare()
/linux/sound/usb/
H A Dmidi.c1603 short int voices; member
1609 .port = num, .voices = voices_, \
1620 #define GM_SYNTH_PORT(vendor, product, num, name, voices) \ argument
1621 PORT_INFO(vendor, product, num, name, voices, \
1626 #define ROLAND_SYNTH_PORT(vendor, product, num, name, voices) \ argument
1627 PORT_INFO(vendor, product, num, name, voices, \
1635 #define SOUNDCANVAS_PORT(vendor, product, num, name, voices) \ argument
1636 PORT_INFO(vendor, product, num, name, voices, \
1797 seq_port_info->midi_voices = port_info->voices; in snd_usbmidi_get_port_info()
/linux/sound/drivers/opl4/
H A Dopl4_local.h195 struct opl4_voice voices[OPL4_MAX_VOICES]; member
/linux/include/sound/
H A Demux_synth.h98 struct snd_emux_voice *voices; /* Voices (EMU 'channel') */ member
H A Dopl3.h323 struct snd_opl3_voice voices[MAX_OPL3_VOICES]; /* Voices (OPL3 'channel') */ member
/linux/sound/pci/trident/
H A Dtrident.h323 struct snd_trident_voice voices[64]; member
/linux/Documentation/sound/
H A Dalsa-configuration.rst750 limit of voices used for wavetable (64 by default)
950 voices
951 GF1 voices limit (14-32)
953 reserved PCM voices
980 voices
981 GF1 voices limit (14-32)
983 reserved PCM voices
1002 voices
1003 GF1 voices limit (14-32)
1005 reserved PCM voices
[all …]

12