/Linux-v5.10/include/uapi/linux/ |
D | ultrasound.h | 25 * byte 3 - Voice number (0-31) 30 * Each command affects one voice defined in byte 3. 34 * _GUS_VOICEON - Starts voice (P1=voice mode) 35 * _GUS_VOICEOFF - Stops voice (no parameters) 36 * _GUS_VOICEFADE - Stops the voice smoothly. 37 * _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode) 38 * _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7) 39 * _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz) 40 * _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off) 41 * _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off) [all …]
|
/Linux-v5.10/sound/pci/ |
D | sis7019.c | 69 struct voice { struct 83 struct voice *timing; argument 117 /* voice_lock protects allocation/freeing of the voice descriptions 121 struct voice voices[64]; 122 struct voice capture_voice; 192 static void sis_update_sso(struct voice *voice, u16 period) in sis_update_sso() argument 194 void __iomem *base = voice->ctrl_base; in sis_update_sso() 196 voice->sso += period; in sis_update_sso() 197 if (voice->sso >= voice->buffer_size) in sis_update_sso() 198 voice->sso -= voice->buffer_size; in sis_update_sso() [all …]
|
/Linux-v5.10/sound/drivers/opl3/ |
D | opl3_midi.c | 110 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { in debug_alloc() argument 114 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); in debug_alloc() 122 * Get a FM voice (channel) to play a note on. 126 int chan_4op_1; /* first voice for 4op instrument */ in opl3_get_voice() 127 int chan_4op_2; /* second voice for 4op instrument */ in opl3_get_voice() 145 int voice; in opl3_get_voice() member 151 best[i].voice = -1; in opl3_get_voice() 169 /* allocate 4op voice */ in opl3_get_voice() 175 /* kill one voice, CHEAP */ in opl3_get_voice() 187 /* allocate 2op voice */ in opl3_get_voice() [all …]
|
D | opl3_synth.c | 25 * with another voice to a 4 OP voice. For example voice 0 26 * can be connected with voice 3. The operators of voice 3 are 27 * used as operators 3 and 4 of the new 4 OP voice. 28 * In this case the 2 OP voice number 0 is the 'first half' and 29 * voice 3 is the second. 61 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice); 126 struct snd_dm_fm_voice voice; in snd_opl3_ioctl() local 127 if (copy_from_user(&voice, argp, sizeof(struct snd_dm_fm_voice))) in snd_opl3_ioctl() 129 return snd_opl3_set_voice(opl3, &voice); in snd_opl3_ioctl() 361 /* Get register array side and offset of voice */ in snd_opl3_reset() [all …]
|
D | opl3_drums.c | 33 int voice; member 44 int voice; member 65 * set drum voice characteristics 70 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set() 71 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set() 100 * Set drum voice pitch 105 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set() 118 * Set drum voice volume and position 124 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set() 125 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set() [all …]
|
/Linux-v5.10/sound/pci/trident/ |
D | trident_main.c | 35 struct snd_trident_voice * voice, 38 struct snd_trident_voice * voice, 53 static void snd_trident_print_voice_regs(struct snd_trident *trident, int voice) 57 dev_dbg(trident->card->dev, "Trident voice %i:\n", voice); 58 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR)); 274 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) 276 Description: Start a voice, any channel 0 thru 63. 280 Parameters : voice - Voice number 0 thru n. 287 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_start_voice() argument 289 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_start_voice() [all …]
|
/Linux-v5.10/sound/drivers/opl4/ |
D | opl4_synth.c | 313 void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) in snd_opl4_do_for_note() argument 317 struct opl4_voice *voice; in snd_opl4_do_for_note() local 321 voice = &opl4->voices[i]; in snd_opl4_do_for_note() 322 if (voice->chan == chan && voice->note == note) { in snd_opl4_do_for_note() 323 func(opl4, voice); in snd_opl4_do_for_note() 334 void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) in snd_opl4_do_for_channel() argument 338 struct opl4_voice *voice; in snd_opl4_do_for_channel() local 342 voice = &opl4->voices[i]; in snd_opl4_do_for_channel() 343 if (voice->chan == chan) { in snd_opl4_do_for_channel() 344 func(opl4, voice); in snd_opl4_do_for_channel() [all …]
|
/Linux-v5.10/sound/pci/emu10k1/ |
D | voice.c | 6 * Routines for control of EMU10K1 chips - voice manager 8 * Rewrote voice allocator for multichannel support - rlrevell 12/2004 22 /* Previously the voice allocator started at 0 every time. The new voice 23 * allocator uses a round robin scheme. The next free voice is tracked in 26 * boundary. For multichannel voice allocation we ensure than the block of 27 * voices does not cross the 32 voice boundary. This simplifies the 37 struct snd_emu10k1_voice *voice; in voice_alloc() local 57 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc() 58 if (voice->use) { in voice_alloc() 64 /* dev_dbg(emu->card->dev, "allocated voice %d\n", i); */ in voice_alloc() [all …]
|
D | irq.c | 47 int voice; in snd_emu10k1_interrupt() local 53 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt() 54 if (voice == 0x20) in snd_emu10k1_interrupt() 59 snd_emu10k1_voice_intr_ack(emu, voice); in snd_emu10k1_interrupt() 61 snd_emu10k1_voice_intr_disable(emu, voice); in snd_emu10k1_interrupt() 68 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt() 69 if (voice == 0x20) in snd_emu10k1_interrupt() 74 snd_emu10k1_voice_half_loop_intr_ack(emu, voice); in snd_emu10k1_interrupt() 76 snd_emu10k1_voice_half_loop_intr_disable(emu, voice); in snd_emu10k1_interrupt()
|
D | emupcm.c | 24 struct snd_emu10k1_voice *voice) in snd_emu10k1_pcm_interrupt() argument 28 if ((epcm = voice->epcm) == NULL) in snd_emu10k1_pcm_interrupt() 278 int voice, stereo, w_16; in snd_emu10k1_pcm_init_voice() local 285 voice = evoice->number; in snd_emu10k1_pcm_init_voice() 309 /* mono, left, right (master voice = left) */ in snd_emu10k1_pcm_init_voice() 324 snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice() 325 snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice() 327 snd_emu10k1_ptr_write(emu, CPF, voice, 0); in snd_emu10k1_pcm_init_voice() 333 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in snd_emu10k1_pcm_init_voice() 335 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in snd_emu10k1_pcm_init_voice() [all …]
|
D | emu10k1_callback.c | 12 /* voice status */ 20 int voice; member 72 * get more voice for pcm 74 * terminate most inactive voice and give it as a pcm voice. 90 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice() 92 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice() 113 * turn off the voice (not terminated) 130 * terminate the voice 150 * release the voice to system 204 * look up voice table - get the best voice in order of preference [all …]
|
/Linux-v5.10/sound/isa/gus/ |
D | gus_reset.c | 39 …_default_interrupt_handler_wave_and_volume(struct snd_gus_card * gus, struct snd_gus_voice * voice) in snd_gf1_default_interrupt_handler_wave_and_volume() argument 66 struct snd_gus_voice *voice; in snd_gf1_set_default_handlers() local 68 voice = &gus->gf1.voices[what & 0xffff]; in snd_gf1_set_default_handlers() 69 voice->handler_wave = in snd_gf1_set_default_handlers() 70 voice->handler_volume = snd_gf1_default_interrupt_handler_wave_and_volume; in snd_gf1_set_default_handlers() 71 voice->handler_effect = NULL; in snd_gf1_set_default_handlers() 72 voice->volume_change = NULL; in snd_gf1_set_default_handlers() 112 void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice) in snd_gf1_smart_stop_voice() argument 117 snd_gf1_select_voice(gus, voice); in snd_gf1_smart_stop_voice() 119 …printk(KERN_DEBUG " -%i- smart stop voice - volume = 0x%x\n", voice, snd_gf1_i_read16(gus, SNDRV_G… in snd_gf1_smart_stop_voice() [all …]
|
D | gus_irq.c | 42 unsigned char voice_status, voice; in snd_gus_interrupt() local 47 voice = voice_status & 0x1f; in snd_gus_interrupt() 48 _current_ = 1 << voice; in snd_gus_interrupt() 53 printk(KERN_DEBUG "voice = %i, voice_status = 0x%x, " in snd_gus_interrupt() 55 voice, voice_status, inb(GUSP(gus, GF1PAGE))); in snd_gus_interrupt() 57 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt() 59 if (!(voice_status & 0x80)) { /* voice position IRQ */ in snd_gus_interrupt() 116 snd_iprintf(buffer, "voice lost = %u\n", gus->gf1.interrupt_stat_voice_lost); in snd_gus_irq_info_read() 119 snd_iprintf(buffer, "voice %i: wave = %u, volume = %u\n", in snd_gus_irq_info_read()
|
D | gus_pcm.c | 102 unsigned int voice; in snd_gf1_pcm_trigger_up() local 121 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 122 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up() 131 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up() 132 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up() 134 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() 152 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 153 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() 155 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up() 162 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() [all …]
|
D | gus_io.c | 433 int voice, ctrl; in snd_gf1_print_voice_registers() local 435 voice = gus->gf1.active_voice; in snd_gf1_print_voice_registers() 436 …printk(KERN_INFO " -%i- GF1 voice ctrl, ramp ctrl = 0x%x, 0x%x\n", voice, ctrl = snd_gf1_i_read8… in snd_gf1_print_voice_registers() 437 printk(KERN_INFO " -%i- GF1 frequency = 0x%x\n", voice, snd_gf1_i_read16(gus, 1)); in snd_gf1_print_voice_registers() 438 …printk(KERN_INFO " -%i- GF1 loop start, end = 0x%x (0x%x), 0x%x (0x%x)\n", voice, snd_gf1_… in snd_gf1_print_voice_registers() 439 …printk(KERN_INFO " -%i- GF1 ramp start, end, rate = 0x%x, 0x%x, 0x%x\n", voice, snd_gf1_i_read8(… in snd_gf1_print_voice_registers() 440 printk(KERN_INFO" -%i- GF1 volume = 0x%x\n", voice, snd_gf1_i_read16(gus, 9)); in snd_gf1_print_voice_registers() 441 …printk(KERN_INFO " -%i- GF1 position = 0x%x (0x%x)\n", voice, snd_gf1_i_read_addr(g… in snd_gf1_print_voice_registers() 444 printk(KERN_INFO " -%i- GFA1 mode = 0x%x\n", voice, mode); in snd_gf1_print_voice_registers() 446 …printk(KERN_INFO " -%i- GFA1 effect address = 0x%x\n", voice, snd_gf1_i_read_addr(gus, 0x1… in snd_gf1_print_voice_registers() [all …]
|
/Linux-v5.10/sound/pci/au88x0/ |
D | au88x0_synth.c | 56 wt_voice_t *voice = &(vortex->wt_voice[wt]); in vortex_wt_allocroute() local 95 voice->parm0 = voice->parm1 = 0xcfb23e2f; in vortex_wt_allocroute() 96 hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0); in vortex_wt_allocroute() 97 hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1); in vortex_wt_allocroute() 197 "WT SetReg: voice out of range\n"); in vortex_wt_SetReg() 205 /* Voice specific parameters */ in vortex_wt_SetReg() 310 /* Init Voice registers. */ in vortex_wt_init() 327 wt_voice_t *voice = &(vortex->wt_voice[wt]); 331 voice->parm0 &= 0xff00ffff; 332 voice->parm0 |= (vol[0] & 0xff) << 0x10; [all …]
|
D | au88x0_wt.h | 27 /* WT Voice registers */ 28 #define WT_STEREO(voice) ((WT_BAR(voice)+ 0x20 +(((voice)&0x1f)>>1))<<2) /* 0x0080 */ argument 29 #define WT_MUTE(voice) ((WT_BAR(voice)+ 0x40 +((voice)&0x1f))<<2) /* 0x0100 */ argument 30 #define WT_RUN(voice) ((WT_BAR(voice)+ 0x60 +((voice)&0x1f))<<2) /* 0x0180 */ argument
|
/Linux-v5.10/drivers/acpi/ |
D | acpi_pnp.c | 152 {"AKY1021"}, /* Rockwell 56K ACF II Fax+Data+Voice Modem */ 162 {"CTL3001"}, /* Creative Labs Phone Blaster 28.8 DSVD PnP Voice */ 163 {"CTL3011"}, /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */ 171 {"FUJ0209"}, /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 173 {"GVC0303"}, /* Archtek SmartLink Modem 3334BRV 33.6K Data Fax Voice */ 174 {"HAY0001"}, /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 175 {"HAY000C"}, /* Hayes Optima 336 V.34 + FAX + Voice PnP */ 176 {"HAY000D"}, /* Hayes Optima 336B V.34 + FAX + Voice PnP */ 181 {"HAYF001"}, /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ 182 {"IBM0033"}, /* IBM Thinkpad 701 Internal Modem Voice */ [all …]
|
/Linux-v5.10/drivers/tty/serial/8250/ |
D | 8250_pnp.c | 39 /* Rockwell 56K ACF II Fax+Data+Voice Modem */ 66 /* Creative Labs Phone Blaster 28.8 DSVD PnP Voice */ 68 /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */ 87 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 92 /* Archtek SmartLink Modem 3334BRV 33.6K Data Fax Voice */ 95 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 97 /* Hayes Optima 336 V.34 + FAX + Voice PnP */ 99 /* Hayes Optima 336B V.34 + FAX + Voice PnP */ 109 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ 112 /* IBM Thinkpad 701 Internal Modem Voice */ [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | cpcap.c | 303 SOC_SINGLE_TLV("Voice Playback Volume", 322 "Off", "Voice", "HiFi", "Ext" 656 SND_SOC_DAPM_AIF_IN("Voice RX", NULL, 0, SND_SOC_NOPM, 0, 0), 657 SND_SOC_DAPM_AIF_OUT("Voice TX", NULL, 0, SND_SOC_NOPM, 0, 0), 671 SND_SOC_DAPM_SUPPLY("Voice DAI Clock", 713 SND_SOC_DAPM_DAC_E("DAC Voice", NULL, 721 SND_SOC_DAPM_PGA("Voice PGA", 741 SND_SOC_DAPM_SWITCH("Voice Loopback", SND_SOC_NOPM, 0, 0, 813 {"Voice PGA", NULL, "VAUDIO"}, 821 {"Voice RX", NULL, "Voice Playback"}, [all …]
|
D | twl4030.c | 350 SOC_DAPM_SINGLE("Voice", TWL4030_REG_EAR_CTL, 0, 1, 0), 358 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PREDL_CTL, 0, 1, 0), 366 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PREDR_CTL, 0, 1, 0), 374 SOC_DAPM_SINGLE("Voice", TWL4030_REG_HS_SEL, 0, 1, 0), 381 SOC_DAPM_SINGLE("Voice", TWL4030_REG_HS_SEL, 3, 1, 0), 388 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PRECKL_CTL, 0, 1, 0), 395 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PRECKR_CTL, 0, 1, 0), 402 {"Voice", "AudioL1", "AudioL2", "AudioR2"}; 417 {"Voice", "AudioR1", "AudioR2", "AudioL2"}; 509 /* Analog bypass for Voice */ [all …]
|
D | wm8753.c | 16 * voice. 18 * Please note that the voice PCM can be connected directly to a Bluetooth 184 static const char *wm8753_adc_filter[] = {"HiFi", "Voice"}; 295 SOC_DOUBLE_R_TLV("Voice Playback Volume", WM8753_LOUTM2, WM8753_ROUTM2, 0, 7, 306 SOC_SINGLE_TLV("Mono Voice Playback Volume", WM8753_MOUTM2, 0, 7, 1, 319 SOC_SINGLE_TLV("Voice Sidetone Capture Volume", WM8753_RECMIX2, 0, 7, 1, 370 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_LOUTM2, 8, 1, 0), 378 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_ROUTM2, 8, 1, 0), 388 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_MOUTM2, 3, 1, 0), 411 SOC_DAPM_SINGLE("Voice Capture Switch", WM8753_RECMIX2, 3, 1, 0), [all …]
|
/Linux-v5.10/include/sound/ |
D | opl3.h | 21 * A 4 OP voice can be created by setting the corresponding 25 * first voice on the right side to the 4 OP mode. The fourth 26 * voice is made inaccessible. 28 * If a voice is set to the 2 OP mode, it works like 2 OP modes 29 * of the original YM3812 (AdLib). In addition the voice can 34 * register of the voice (0xC0-0xC8). In 4 OP voices these bits are 35 * in the second half of the voice. 131 * voice number to get the register number. 149 * is selected. These bits controls connecting the voice 151 * defined in the second half of the voice (add 3 to the [all …]
|
D | gus.h | 75 /* voice specific registers */ 250 void (*handler_wave) (struct snd_gus_card * gus, struct snd_gus_voice * voice); 251 void (*handler_volume) (struct snd_gus_card * gus, struct snd_gus_voice * voice); 252 void (*handler_effect) (struct snd_gus_card * gus, struct snd_gus_voice * voice); 277 void (*private_free)(struct snd_gus_voice *voice); 313 unsigned char active_voice; /* selected voice (GF1PAGE register) */ 436 static inline void snd_gf1_select_voice(struct snd_gus_card * gus, int voice) in snd_gf1_select_voice() argument 441 if (voice != gus->gf1.active_voice) { in snd_gf1_select_voice() 442 gus->gf1.active_voice = voice; in snd_gf1_select_voice() 443 outb(voice, GUSP(gus, GF1PAGE)); in snd_gf1_select_voice() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,apr.txt | 5 used for audio/voice services on the QDSP. 38 5 - Voice Stream Manager Service. 39 6 - Voice processing manager. 42 9 - Multimode voice manager. 43 10 - Core voice stream. 44 11 - Core voice processor.
|