/linux-4.1.27/sound/drivers/opl4/ |
D | opl4_synth.c | 285 memset(opl4->voices, 0, sizeof(opl4->voices)); in snd_opl4_synth_reset() 287 opl4->voices[i].number = i; in snd_opl4_synth_reset() 288 list_add_tail(&opl4->voices[i].list, &opl4->off_voices); in snd_opl4_synth_reset() 305 opl4->voices[i].reg_misc & ~OPL4_KEY_ON_BIT); in snd_opl4_synth_shutdown() 321 voice = &opl4->voices[i]; in snd_opl4_do_for_note() 342 voice = &opl4->voices[i]; in snd_opl4_do_for_channel() 362 voice = &opl4->voices[i]; in snd_opl4_do_for_all() 488 int voices = 0, i; in snd_opl4_note_on() local 497 sound[voices] = ®ions->regions[i].sound; in snd_opl4_note_on() 498 if (++voices >= 2) in snd_opl4_note_on() [all …]
|
D | opl4_local.h | 195 struct opl4_voice voices[OPL4_MAX_VOICES]; member
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | emupcm.c | 101 ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff; in snd_emu10k1_efx_playback_pointer() 109 static int snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm * epcm, int voices) in snd_emu10k1_pcm_channel_alloc() argument 113 if (epcm->voices[1] != NULL && voices < 2) { in snd_emu10k1_pcm_channel_alloc() 114 snd_emu10k1_voice_free(epcm->emu, epcm->voices[1]); in snd_emu10k1_pcm_channel_alloc() 115 epcm->voices[1] = NULL; in snd_emu10k1_pcm_channel_alloc() 117 for (i = 0; i < voices; i++) { in snd_emu10k1_pcm_channel_alloc() 118 if (epcm->voices[i] == NULL) in snd_emu10k1_pcm_channel_alloc() 121 if (i == voices) in snd_emu10k1_pcm_channel_alloc() 124 for (i = 0; i < ARRAY_SIZE(epcm->voices); i++) { in snd_emu10k1_pcm_channel_alloc() 125 if (epcm->voices[i]) { in snd_emu10k1_pcm_channel_alloc() [all …]
|
D | voice.c | 71 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc() 90 voice = &emu->voices[(first_voice + i) % NUM_G]; in voice_alloc() 111 *rvoice = &emu->voices[first_voice]; in voice_alloc() 136 struct snd_emu10k1_voice *pvoice = &emu->voices[result]; in snd_emu10k1_voice_alloc()
|
D | emumixer.c | 1282 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put() 1283 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1285 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put() 1287 } else if (mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1288 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1353 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_volume_put() 1354 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() 1356 update_emu10k1_send_volume(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_volume_put() 1358 } else if (mix->epcm->voices[0]) { in snd_emu10k1_send_volume_put() 1359 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() [all …]
|
D | emu10k1_callback.c | 105 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice() 181 snd_emu10k1_voice_free(hw, &hw->voices[vp->ch]); in free_voice() 240 vp = &emu->voices[i]; in lookup_voices() 299 vp = &emu->voices[best[i].voice]; in get_voice()
|
D | emuproc.c | 387 voice = &emu->voices[idx]; in snd_emu10k1_proc_voices_read() 483 struct snd_info_buffer *buffer, int iobase, int offset, int length, int voices) in snd_emu_proc_ptr_reg_read() argument 495 for (j = 0; j < voices; j++) { in snd_emu_proc_ptr_reg_read()
|
D | irq.c | 64 struct snd_emu10k1_voice *pvoice = emu->voices; in snd_emu10k1_interrupt()
|
D | emu10k1x.c | 247 struct emu10k1x_voice voices[3]; member 423 epcm->voice = &epcm->emu->voices[substream->pcm->device]; in snd_emu10k1x_pcm_hw_params() 792 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() 970 chip->voices[ch].emu = chip; in snd_emu10k1x_create() 971 chip->voices[ch].number = ch; in snd_emu10k1x_create()
|
D | emu10k1_main.c | 2043 emu->voices[idx].emu = emu; in snd_emu10k1_create() 2044 emu->voices[idx].number = idx; in snd_emu10k1_create()
|
/linux-4.1.27/sound/drivers/opl3/ |
D | opl3_seq.c | 68 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; in snd_opl3_synth_setup() 69 opl3->voices[idx].time = 0; in snd_opl3_synth_setup() 70 opl3->voices[idx].keyon_reg = 0x00; in snd_opl3_synth_setup() 114 opl3->voices[6].state = opl3->voices[7].state = in snd_opl3_synth_use() 115 opl3->voices[8].state = SNDRV_OPL3_ST_NOT_AVAIL; in snd_opl3_synth_use() 177 int voices, opl_ver; in snd_opl3_synth_create_port() local 179 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_synth_create_port() 206 16, voices, in snd_opl3_synth_create_port()
|
D | opl3_midi.c | 134 printk("%c", *(str + opl3->voices[i].state + 1)); in debug_alloc() 174 vp = &opl3->voices[i]; in opl3_get_voice() 197 vp2 = &opl3->voices[i + 3]; in opl3_get_voice() 251 struct snd_opl3_voice *vp = &opl3->voices[i]; in snd_opl3_timer_func() 410 vp = &opl3->voices[voice]; in snd_opl3_note_on() 417 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on() 553 opl3->voices[voice].keyon_reg = blocknum; in snd_opl3_note_on() 567 opl3->voices[voice].note_off = jiffies + in snd_opl3_note_on() 570 opl3->voices[voice].note_off_check = 1; in snd_opl3_note_on() 572 opl3->voices[voice].note_off_check = 0; in snd_opl3_note_on() [all …]
|
D | opl3_oss.c | 80 int voices, opl_ver; in snd_opl3_oss_create_port() local 82 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_oss_create_port() 84 opl3->oss_chset = snd_midi_channel_alloc_set(voices); in snd_opl3_oss_create_port() 105 voices, voices, in snd_opl3_oss_create_port()
|
/linux-4.1.27/sound/isa/sb/ |
D | emu8000_pcm.c | 64 int voices; member 391 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_trigger() 397 for (ch = 0; ch < rec->voices; ch++) in emu8k_pcm_trigger() 454 count /= rec->voices; in emu8k_pcm_copy() 455 for (i = 0; i < rec->voices; i++) { in emu8k_pcm_copy() 488 if (voice == -1 && rec->voices == 1) in emu8k_pcm_silence() 519 if (rec->voices > 1) in emu8k_pcm_copy() 529 if (rec->voices > 1) { in emu8k_pcm_copy() 550 if (rec->voices > 1) in emu8k_pcm_silence() 555 if (rec->voices > 1) { in emu8k_pcm_silence() [all …]
|
D | emu8000_callback.c | 188 vp = &emu->voices[i]; in get_voice() 221 vp = &emu->voices[best[i].voice]; in get_voice()
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_synth.c | 133 vp = &emu->voices[i]; in snd_emux_note_on() 177 vp = &emu->voices[ch]; in snd_emux_note_off() 214 vp = &emu->voices[ch]; in snd_emux_timer_callback() 254 vp = &emu->voices[ch]; in snd_emux_key_press() 285 vp = &emu->voices[i]; in snd_emux_update_channel() 312 vp = &emu->voices[i]; in snd_emux_update_port() 386 vp = &emu->voices[i]; in terminate_note1() 428 vp = &emu->voices[i]; in snd_emux_terminate_all() 465 vp = &emu->voices[i]; in snd_emux_sounds_off_all() 493 vp = &emu->voices[i]; in exclusive_note_off() [all …]
|
D | emux.c | 102 emu->voices = kcalloc(emu->max_voices, sizeof(struct snd_emux_voice), in snd_emux_register() 104 if (emu->voices == NULL) in snd_emux_register() 163 kfree(emu->voices); in snd_emux_free()
|
D | emux_proc.c | 65 if (emu->voices[0].state != SNDRV_EMUX_ST_OFF && emu->voices[0].ch >= 0) { in snd_emux_proc_info_read() 66 struct snd_emux_voice *vp = &emu->voices[0]; in snd_emux_proc_info_read()
|
D | emux_seq.c | 124 if (emu->voices) in snd_emux_detach_seq()
|
D | emux_effect.c | 211 struct snd_emux_voice *vp = &emu->voices[i]; in snd_emux_send_effect()
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 228 voice = &chip->voices[idx]; in voice_alloc() 229 voice2 = pair ? &chip->voices[idx+1] : NULL; in voice_alloc() 346 if (ypcm->voices[1]) in snd_ymfpci_pcm_interrupt() 347 bank = &ypcm->voices[1]->bank[next_bank]; in snd_ymfpci_pcm_interrupt() 399 if (ypcm->voices[0] == NULL) { in snd_ymfpci_playback_trigger() 407 chip->ctrl_playback[ypcm->voices[0]->number + 1] = cpu_to_le32(ypcm->voices[0]->bank_addr); in snd_ymfpci_playback_trigger() 408 if (ypcm->voices[1] != NULL && !ypcm->use_441_slot) in snd_ymfpci_playback_trigger() 409 chip->ctrl_playback[ypcm->voices[1]->number + 1] = cpu_to_le32(ypcm->voices[1]->bank_addr); in snd_ymfpci_playback_trigger() 420 chip->ctrl_playback[ypcm->voices[0]->number + 1] = 0; in snd_ymfpci_playback_trigger() 421 if (ypcm->voices[1] != NULL && !ypcm->use_441_slot) in snd_ymfpci_playback_trigger() [all …]
|
D | ymfpci.h | 271 struct snd_ymfpci_voice *voices[2]; /* playback only */ member 327 struct snd_ymfpci_voice voices[64]; member
|
/linux-4.1.27/sound/pci/ice1712/ |
D | phase.c | 481 int voices = kcontrol->private_value >> 8; in wm_vol_info() local 483 uinfo->count = voices; in wm_vol_info() 494 int i, ofs, voices; in wm_vol_get() local 496 voices = kcontrol->private_value >> 8; in wm_vol_get() 498 for (i = 0; i < voices; i++) in wm_vol_get() 509 int i, idx, ofs, voices; in wm_vol_put() local 512 voices = kcontrol->private_value >> 8; in wm_vol_put() 515 for (i = 0; i < voices; i++) { in wm_vol_put() 550 int voices, ofs, i; in wm_mute_get() local 552 voices = kcontrol->private_value >> 8; in wm_mute_get() [all …]
|
D | prodigy_hifi.c | 433 int voices = kcontrol->private_value >> 8; in wm8766_vol_info() local 435 uinfo->count = voices; in wm8766_vol_info() 446 int i, ofs, voices; in wm8766_vol_get() local 448 voices = kcontrol->private_value >> 8; in wm8766_vol_get() 450 for (i = 0; i < voices; i++) in wm8766_vol_get() 459 int i, idx, ofs, voices; in wm8766_vol_put() local 462 voices = kcontrol->private_value >> 8; in wm8766_vol_put() 465 for (i = 0; i < voices; i++) { in wm8766_vol_put()
|
D | aureon.c | 798 int voices = kcontrol->private_value >> 8; in wm_vol_info() local 800 uinfo->count = voices; in wm_vol_info() 810 int i, ofs, voices; in wm_vol_get() local 812 voices = kcontrol->private_value >> 8; in wm_vol_get() 814 for (i = 0; i < voices; i++) in wm_vol_get() 824 int i, idx, ofs, voices; in wm_vol_put() local 827 voices = kcontrol->private_value >> 8; in wm_vol_put() 830 for (i = 0; i < voices; i++) { in wm_vol_put() 863 int voices, ofs, i; in wm_mute_get() local 865 voices = kcontrol->private_value >> 8; in wm_mute_get() [all …]
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_io.c | 419 unsigned short voices; in snd_gf1_select_active_voices() local 427 voices = gus->gf1.active_voices; in snd_gf1_select_active_voices() 428 if (voices > 32) in snd_gf1_select_active_voices() 429 voices = 32; in snd_gf1_select_active_voices() 430 if (voices < 14) in snd_gf1_select_active_voices() 431 voices = 14; in snd_gf1_select_active_voices() 433 voices = 32; in snd_gf1_select_active_voices() 434 gus->gf1.active_voices = voices; in snd_gf1_select_active_voices() 436 gus->gf1.enh_mode ? 44100 : voices_tbl[voices - 14]; in snd_gf1_select_active_voices() 438 snd_gf1_i_write8(gus, SNDRV_GF1_GB_ACTIVE_VOICES, 0xc0 | (voices - 1)); in snd_gf1_select_active_voices()
|
D | gus_main.c | 136 int voices, in snd_gus_create() argument 208 if (voices < 14) in snd_gus_create() 209 voices = 14; in snd_gus_create() 210 if (voices > 32) in snd_gus_create() 211 voices = 32; in snd_gus_create() 219 gus->gf1.active_voices = voices; in snd_gus_create()
|
D | gus_pcm.c | 48 unsigned int voices; member 136 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 167 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 177 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 237 for (idx = 0; idx < pcmp->voices; idx++, end += step) { in snd_gf1_pcm_interrupt_wave() 247 for (idx = 0; idx < pcmp->voices; idx++) { in snd_gf1_pcm_interrupt_wave() 442 pcmp->voices = params_channels(hw_params); in snd_gf1_pcm_playback_hw_params() 451 if (pcmp->voices > 1 && pcmp->pvoices[1] == NULL) { in snd_gf1_pcm_playback_hw_params() 458 } else if (pcmp->voices == 1) { in snd_gf1_pcm_playback_hw_params() 791 pvoice = &gus->gf1.voices[idx]; in snd_gf1_pcm_volume_put()
|
D | gus_irq.c | 72 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt() 133 pvoice = &gus->gf1.voices[idx]; in snd_gus_irq_info_read()
|
D | gus_reset.c | 85 voice = &gus->gf1.voices[what & 0xffff]; in snd_gf1_set_default_handlers() 271 pvoice = &gus->gf1.voices[idx]; in snd_gf1_alloc_voice() 279 pvoice = &gus->gf1.voices[idx]; in snd_gf1_alloc_voice() 332 gus->gf1.voices[i].number = i; in snd_gf1_start()
|
/linux-4.1.27/sound/mips/ |
D | hal2.c | 78 int voices; /* mono/stereo */ member 374 sample_size = 2 * hal2->dac.voices; in hal2_setup_dac() 394 | (hal2->dac.voices << H2I_C1_DATAT_SHIFT)); in hal2_setup_dac() 402 sample_size = 2 * hal2->adc.voices; in hal2_setup_adc() 419 | (hal2->adc.voices << H2I_C1_DATAT_SHIFT)); in hal2_setup_adc() 558 dac->voices = runtime->channels; in hal2_playback_prepare() 650 adc->voices = runtime->channels; in hal2_capture_prepare()
|
/linux-4.1.27/include/sound/ |
D | emux_synth.h | 113 struct snd_emux_voice *voices; /* Voices (EMU 'channel') */ member
|
D | opl3.h | 341 struct snd_opl3_voice voices[MAX_OPL3_VOICES]; /* Voices (OPL3 'channel') */ member
|
D | gus.h | 330 struct snd_gus_voice voices[32]; /* GF1 voices */ member 608 int voices,
|
D | emu10k1.h | 1527 struct snd_emu10k1_voice *voices[NUM_EFX_PLAYBACK]; member 1755 struct snd_emu10k1_voice voices[NUM_G]; member
|
/linux-4.1.27/sound/usb/ |
D | midi.c | 1536 short int voices; member 1542 .port = num, .voices = voices_, \ 1553 #define GM_SYNTH_PORT(vendor, product, num, name, voices) \ argument 1554 PORT_INFO(vendor, product, num, name, voices, \ 1559 #define ROLAND_SYNTH_PORT(vendor, product, num, name, voices) \ argument 1560 PORT_INFO(vendor, product, num, name, voices, \ 1568 #define SOUNDCANVAS_PORT(vendor, product, num, name, voices) \ argument 1569 PORT_INFO(vendor, product, num, name, voices, \ 1730 seq_port_info->midi_voices = port_info->voices; in snd_usbmidi_get_port_info()
|
/linux-4.1.27/sound/pci/ |
D | sis7019.c | 133 struct voice voices[64]; member 331 sis_voice_irq(status, sis->voices); in sis_interrupt() 337 sis_voice_irq(status, &sis->voices[32]); in sis_interrupt() 423 voice = &sis->voices[i]; in __sis_alloc_playback_voice() 1376 voice = &sis->voices[i]; in sis_chip_create()
|
/linux-4.1.27/sound/pci/ali5451/ |
D | ali5451.c | 211 struct snd_ali_voice voices[ALI_CHANNELS]; member 862 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr() 881 } else if (codec->synth.voices[channel].synth) { in snd_ali_update_ptr() 883 } else if (codec->synth.voices[channel].midi) { in snd_ali_update_ptr() 940 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice() 2196 codec->synth.voices[i].number = i; in snd_ali_create()
|
/linux-4.1.27/sound/pci/trident/ |
D | trident.h | 339 struct snd_trident_voice voices[64]; member
|
D | trident_main.c | 3643 voice = &trident->synth.voices[i]; in snd_trident_create() 3745 voice = &trident->synth.voices[channel]; in snd_trident_interrupt() 3829 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice() 3845 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
|
/linux-4.1.27/include/uapi/sound/ |
D | asequencer.h | 546 unsigned int voices; /* number of voices to be allocated (0 = don't care) */ member
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | ALSA-Configuration.txt | 645 max_synth_voices - limit of voices used for wavetable (64 by default) 812 voices - GF1 voices limit (14-32) 813 pcm_voices - reserved PCM voices 831 voices - GF1 voices limit (14-32) 832 pcm_voices - reserved PCM voices 846 voices - GF1 voices limit (14-32) 847 pcm_voices - reserved PCM voices 1174 pcm_voices - reserved PCM voices for the synthesizer (default 2) 1176 requires 8 voices 1197 pcm_voices - reserved PCM voices for the synthesizer (default 2) [all …]
|
D | SB-Live-mixer.txt | 51 Each of the synthesizer voices can feed its output to these accumulators
|
D | Audigy-mixer.txt | 37 Each of the synthesizer voices can feed its output to these accumulators
|
/linux-4.1.27/sound/isa/wavefront/ |
D | wavefront_synth.c | 2017 char voices[1]; in wavefront_do_reset() local 2084 voices[0] = 32; in wavefront_do_reset() 2086 if (snd_wavefront_cmd (dev, WFC_SET_NVOICES, NULL, voices)) { in wavefront_do_reset()
|
/linux-4.1.27/drivers/media/radio/ |
D | Kconfig | 472 hear silent voices and music. For that reason, the frequency of the
|
/linux-4.1.27/Documentation/sound/oss/ |
D | README.OSS | 489 voices than the OPL2. The OPL4 is a new chip that has an OPL3 and 540 higher sampling rates. However using fewer voices decreases
|
/linux-4.1.27/drivers/staging/speakup/ |
D | spkguide.txt | 737 which will give you access to some of the DecTalk voices.
|