/linux-6.12.1/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-6.12.1/sound/pci/ |
D | sis7019.c | 68 struct voice { struct 82 struct voice *timing; argument 112 /* voice_lock protects allocation/freeing of the voice descriptions 116 struct voice voices[64]; 117 struct voice capture_voice; 187 static void sis_update_sso(struct voice *voice, u16 period) in sis_update_sso() argument 189 void __iomem *base = voice->ctrl_base; in sis_update_sso() 191 voice->sso += period; in sis_update_sso() 192 if (voice->sso >= voice->buffer_size) in sis_update_sso() 193 voice->sso -= voice->buffer_size; in sis_update_sso() [all …]
|
/linux-6.12.1/sound/drivers/opl3/ |
D | opl3_midi.c | 117 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) in debug_alloc() argument 127 opl3->use_time, s, voice, buf); in debug_alloc() 132 * Get a FM voice (channel) to play a note on. 136 int chan_4op_1; /* first voice for 4op instrument */ in opl3_get_voice() 137 int chan_4op_2; /* second voice for 4op instrument */ in opl3_get_voice() 155 int voice; in opl3_get_voice() member 161 best[i].voice = -1; in opl3_get_voice() 179 /* allocate 4op voice */ in opl3_get_voice() 185 /* kill one voice, CHEAP */ in opl3_get_voice() 196 /* 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() 359 /* 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-6.12.1/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-6.12.1/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-6.12.1/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() 120 " -%i- smart stop voice - volume = 0x%x\n", in snd_gf1_smart_stop_voice() [all …]
|
D | gus_irq.c | 41 unsigned char voice_status, voice; in snd_gus_interrupt() local 46 voice = voice_status & 0x1f; in snd_gus_interrupt() 47 _current_ = 1 << voice; in snd_gus_interrupt() 53 "voice = %i, voice_status = 0x%x, voice_verify = %i\n", in snd_gus_interrupt() 54 voice, voice_status, inb(GUSP(gus, GF1PAGE))); in snd_gus_interrupt() 56 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt() 58 if (!(voice_status & 0x80)) { /* voice position IRQ */ in snd_gus_interrupt() 115 snd_iprintf(buffer, "voice lost = %u\n", gus->gf1.interrupt_stat_voice_lost); in snd_gus_irq_info_read() 118 snd_iprintf(buffer, "voice %i: wave = %u, volume = %u\n", in snd_gus_irq_info_read()
|
D | gus_pcm.c | 98 unsigned int voice; in snd_gf1_pcm_trigger_up() local 117 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 118 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up() 122 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up() 123 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up() 125 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() 143 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() 144 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up() 146 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up() 153 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up() [all …]
|
D | gus_io.c | 427 int voice, ctrl; in snd_gf1_print_voice_registers() local 429 voice = gus->gf1.active_voice; in snd_gf1_print_voice_registers() 431 " -%i- GF1 voice ctrl, ramp ctrl = 0x%x, 0x%x\n", in snd_gf1_print_voice_registers() 432 voice, ctrl = snd_gf1_i_read8(gus, 0), snd_gf1_i_read8(gus, 0x0d)); in snd_gf1_print_voice_registers() 435 voice, snd_gf1_i_read16(gus, 1)); in snd_gf1_print_voice_registers() 438 voice, snd_gf1_i_read_addr(gus, 2, ctrl & 4), in snd_gf1_print_voice_registers() 444 voice, snd_gf1_i_read8(gus, 7), snd_gf1_i_read8(gus, 8), in snd_gf1_print_voice_registers() 448 voice, snd_gf1_i_read16(gus, 9)); in snd_gf1_print_voice_registers() 451 voice, snd_gf1_i_read_addr(gus, 0x0a, ctrl & 4), in snd_gf1_print_voice_registers() 457 voice, mode); in snd_gf1_print_voice_registers() [all …]
|
/linux-6.12.1/sound/pci/emu10k1/ |
D | voice.c | 8 * Routines for control of EMU10K1 chips - voice manager 16 /* Previously the voice allocator started at 0 every time. The new voice 17 * allocator uses a round robin scheme. The next free voice is tracked in 27 struct snd_emu10k1_voice *voice; in voice_alloc() local 43 voice = &emu->voices[i + k]; in voice_alloc() 44 if (voice->use) { in voice_alloc() 51 voice = &emu->voices[i + k]; in voice_alloc() 52 voice->use = type; in voice_alloc() 53 voice->epcm = epcm; in voice_alloc() 54 /* dev_dbg(emu->card->dev, "allocated voice %d\n", i + k); */ in voice_alloc() [all …]
|
D | irq.c | 45 int voice; in snd_emu10k1_interrupt() local 51 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt() 52 if (voice == 0x20) in snd_emu10k1_interrupt() 57 snd_emu10k1_voice_intr_ack(emu, voice); in snd_emu10k1_interrupt() 59 snd_emu10k1_voice_intr_disable(emu, voice); in snd_emu10k1_interrupt() 67 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt() 68 if (voice == 0x20) in snd_emu10k1_interrupt() 73 snd_emu10k1_voice_half_loop_intr_ack(emu, voice); in snd_emu10k1_interrupt() 75 snd_emu10k1_voice_half_loop_intr_disable(emu, voice); in snd_emu10k1_interrupt()
|
D | emu10k1_callback.c | 12 /* voice status */ 20 int voice; member 73 * get more voice for pcm 75 * terminate most inactive voice and give it as a pcm voice. 91 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice() 93 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice() 115 * turn off the voice (not terminated) 131 * terminate the voice 157 * release the voice to system 206 * look up voice table - get the best voice in order of preference [all …]
|
/linux-6.12.1/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-6.12.1/drivers/acpi/ |
D | acpi_pnp.c | 152 {"AKY1021"}, /* Rockwell 56K ACF II Fax+Data+Voice Modem */ 160 {"CTL3001"}, /* Creative Labs Phone Blaster 28.8 DSVD PnP Voice */ 161 {"CTL3011"}, /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */ 169 {"FUJ0209"}, /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 171 {"GVC0303"}, /* Archtek SmartLink Modem 3334BRV 33.6K Data Fax Voice */ 172 {"HAY0001"}, /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 173 {"HAY000C"}, /* Hayes Optima 336 V.34 + FAX + Voice PnP */ 174 {"HAY000D"}, /* Hayes Optima 336B V.34 + FAX + Voice PnP */ 179 {"HAYF001"}, /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ 180 {"IBM0033"}, /* IBM Thinkpad 701 Internal Modem Voice */ [all …]
|
/linux-6.12.1/drivers/tty/serial/8250/ |
D | 8250_pnp.c | 41 /* Rockwell 56K ACF II Fax+Data+Voice Modem */ 64 /* Creative Labs Phone Blaster 28.8 DSVD PnP Voice */ 66 /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */ 85 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 90 /* Archtek SmartLink Modem 3334BRV 33.6K Data Fax Voice */ 93 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 95 /* Hayes Optima 336 V.34 + FAX + Voice PnP */ 97 /* Hayes Optima 336B V.34 + FAX + Voice PnP */ 107 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ 110 /* IBM Thinkpad 701 Internal Modem Voice */ [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | cpcap.c | 312 SOC_SINGLE_TLV("Voice Playback Volume", 331 "Off", "Voice", "HiFi", "Ext" 665 SND_SOC_DAPM_AIF_IN("Voice RX", NULL, 0, SND_SOC_NOPM, 0, 0), 666 SND_SOC_DAPM_AIF_OUT("Voice TX", NULL, 0, SND_SOC_NOPM, 0, 0), 680 SND_SOC_DAPM_SUPPLY("Voice DAI Clock", 722 SND_SOC_DAPM_DAC_E("DAC Voice", NULL, 730 SND_SOC_DAPM_PGA("Voice PGA", 750 SND_SOC_DAPM_SWITCH("Voice Loopback", SND_SOC_NOPM, 0, 0, 822 {"Voice PGA", NULL, "VAUDIO"}, 830 {"Voice RX", NULL, "Voice Playback"}, [all …]
|
D | twl4030.c | 356 SOC_DAPM_SINGLE("Voice", TWL4030_REG_EAR_CTL, 0, 1, 0), 364 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PREDL_CTL, 0, 1, 0), 372 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PREDR_CTL, 0, 1, 0), 380 SOC_DAPM_SINGLE("Voice", TWL4030_REG_HS_SEL, 0, 1, 0), 387 SOC_DAPM_SINGLE("Voice", TWL4030_REG_HS_SEL, 3, 1, 0), 394 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PRECKL_CTL, 0, 1, 0), 401 SOC_DAPM_SINGLE("Voice", TWL4030_REG_PRECKR_CTL, 0, 1, 0), 408 {"Voice", "AudioL1", "AudioL2", "AudioR2"}; 423 {"Voice", "AudioR1", "AudioR2", "AudioL2"}; 515 /* 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-6.12.1/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-6.12.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,apr-services.yaml | 24 5 = Voice Stream Manager Service. 25 6 = Voice processing manager. 28 9 = Multimode voice manager. 29 10 = Core voice stream. 30 11 = Core voice processor. 37 4 = Voice processing manager.
|
/linux-6.12.1/drivers/misc/echo/ |
D | oslec.h | 34 * oslec_create - Create a voice echo canceller context. 42 * oslec_free - Free a voice echo canceller context. 48 * oslec_flush - Flush (reinitialise) a voice echo canceller context. 54 * oslec_adaption_mode - set the adaption mode of a voice echo canceller context. 63 * oslec_update: Process a sample through a voice echo canceller.
|