Home
last modified time | relevance | path

Searched full:voice (Results 1 – 25 of 180) sorted by relevance

12345678

/linux/include/uapi/linux/
H A Dultrasound.h25 * 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/sound/pci/trident/
H A Dtrident_main.c35 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));
268 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice)
270 Description: Start a voice, any channel 0 thru 63.
274 Parameters : voice - Voice number 0 thru n.
281 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_start_voice() argument
283 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_start_voice()
[all …]
H A Dtrident.h298 struct snd_trident_voice *extra; /* extra PCM voice (acts as interrupt generator) */
316 void (*private_free)(struct snd_trident_voice *voice);
331 struct snd_trident_voice *voice; /* active voice */ member
411 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
412 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice);
413 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice);
414 void snd_trident_write_voice_regs(struct snd_trident * trident, struct snd_trident_voice *voice);
/linux/sound/drivers/opl3/
H A Dopl3_synth.c25 * 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 …]
H A Dopl3_drums.c33 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/sound/pci/au88x0/
H A Dau88x0_synth.c56 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 …]
H A Dau88x0_wt.h27 /* 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/drivers/tty/serial/8250/
H A D8250_pnp.c41 /* 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/sound/pci/emu10k1/
H A Dirq.c45 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()
H A Demu10k1_callback.c12 /* 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 …]
H A Demu10k1x.c195 struct emu10k1x_voice *voice; member
336 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt() argument
340 epcm = voice->epcm; in snd_emu10k1x_pcm_interrupt()
397 if (! epcm->voice) { in snd_emu10k1x_pcm_hw_params()
398 epcm->voice = &epcm->emu->voices[substream->pcm->device]; in snd_emu10k1x_pcm_hw_params()
399 epcm->voice->use = 1; in snd_emu10k1x_pcm_hw_params()
400 epcm->voice->epcm = epcm; in snd_emu10k1x_pcm_hw_params()
417 if (epcm->voice) { in snd_emu10k1x_pcm_hw_free()
418 epcm->voice->use = 0; in snd_emu10k1x_pcm_hw_free()
419 epcm->voice->epcm = NULL; in snd_emu10k1x_pcm_hw_free()
[all …]
H A Demupcm.c21 struct snd_emu10k1_voice *voice) in snd_emu10k1_pcm_interrupt() argument
25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
101 // arbitrary number of periods per buffer, we use an extra voice with a in snd_emu10k1_pcm_channel_alloc()
269 int voice; in snd_emu10k1_pcm_init_voice() local
271 voice = evoice->number; in snd_emu10k1_pcm_init_voice()
275 snd_emu10k1_ptr_write_multiple(emu, voice, in snd_emu10k1_pcm_init_voice()
297 snd_emu10k1_ptr_write_multiple(emu, voice, in snd_emu10k1_pcm_init_voice()
305 snd_emu10k1_ptr_write(emu, A_CSBA + i, voice, (amh << 16) | aml); in snd_emu10k1_pcm_init_voice()
308 snd_emu10k1_ptr_write(emu, FXRT, voice, in snd_emu10k1_pcm_init_voice()
312 emu->voices[voice].dirty = 1; in snd_emu10k1_pcm_init_voice()
[all …]
/linux/sound/soc/codecs/
H A Dtwl4030.c350 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...]
H A Dcs42l73.c64 { 16, 0x00 }, /* r10 - Voice PCM Ctl */
65 { 17, 0x15 }, /* r11 - Voice PCM Master Clock Ctl */
66 { 18, 0x00 }, /* r12 - Voice/Aux Sample Rate */
85 { 37, 0x00 }, /* r25 - Voice PCM Input Advisory Volume */
107 { 59, 0x3F }, /* r3B - HP/LO Left Mixer Voice PCM Mono Volume */
108 { 60, 0x3F }, /* r3C - HP/LO Right Mixer Voice PCM Mono Volume */
115 { 67, 0x3F }, /* r43 - Aux PCM Left Mixer Voice PCM Volume */
116 { 68, 0x3F }, /* r44 - Aux PCM Right Mixer Voice PCM Volume */
123 { 75, 0x3F }, /* r4B - Audio PCM Left Mixer Voice PCM Volume */
124 { 76, 0x3F }, /* r4C - Audio PCM Right Mixer Voice PC
[all...]
H A Dak4641.c
/linux/include/sound/
H A Dopl3.h21 * 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 …]
/linux/sound/isa/gus/
H A Dgus_pcm.c97 unsigned int voice; in snd_gf1_pcm_trigger_up() local
114 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
115 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up()
119 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up()
120 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up()
122 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
140 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
141 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
143 snd_gf1_write8(gus, SNDRV_GF1_VB_MODE, 0x00); /* deactivate voice */ in snd_gf1_pcm_trigger_up()
150 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
[all …]
H A Dgus_irq.c41 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()
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,apr-services.yaml24 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/sound/synth/emux/
H A Demux_oss.c325 int voice; in emuspec_control() local
331 voice = event[3]; in emuspec_control()
332 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control()
335 chan = &port->chset.channels[voice]; in emuspec_control()
363 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control()
366 fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop); in emuspec_control()
420 int voice; in gusspec_control() local
429 voice = event[3]; in gusspec_control()
430 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control()
433 chan = &port->chset.channels[voice]; in gusspec_control()
/linux/sound/pci/ymfpci/
H A Dymfpci_main.c190 * Playback voice management
197 struct snd_ymfpci_voice *voice, *voice2; in voice_alloc() local
202 voice = &chip->voices[idx]; in voice_alloc()
204 if (voice->use || (voice2 && voice2->use)) in voice_alloc()
206 voice->use = 1; in voice_alloc()
211 voice->pcm = 1; in voice_alloc()
216 voice->synth = 1; in voice_alloc()
219 voice->midi = 1; in voice_alloc()
225 *rvoice = voice; in voice_alloc()
247 /* TODO: synth/midi voice deallocation */ in snd_ymfpci_voice_alloc()
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
H A Dconf.h110 * during BT voice/ACL link.
118 * during BT voice
150 * during BT voice
191 * RX guard time before the beginning of a new BT voice frame during
199 * TX guard time before the beginning of a new BT voice frame during
218 * Number of consecutive BT voice frames not interrupted by WLAN
/linux/include/uapi/sound/
H A Dasound_fm.h29 unsigned char voice; /* FM voice (0 to 17) */ member
52 * This describes an FM note by its voice, octave, frequency number (10bit)
57 unsigned char voice; /* 0-17 voice channel */ member
/linux/sound/isa/sb/
H A Demu8000_callback.c80 * Terminate a voice
135 * Find a channel (voice) within the EMU that is not in use or at least
158 int voice; in get_voice() member
166 best[i].voice = -1; in get_voice()
202 bp->voice = i; in get_voice()
207 if (best[i].voice >= 0) { in get_voice()
208 vp = &emu->voices[best[i].voice]; in get_voice()
209 vp->ch = best[i].voice; in get_voice()
250 for triggerg the voice */ in start_voice()
320 * reset voice parameters
H A Demu8000_pcm.c88 /* assign voice 31 and 32 to ROM */ in emu8k_open_dram_for_pcm()
269 * set up the voice
292 for triggerg the voice */ in setup_voice()
322 * trigger the voice
355 * stop the voice immediately
436 int voice, unsigned long pos, in emu8k_pcm_copy() argument
442 pos = (pos << 1) + rec->loop_start[voice]; in emu8k_pcm_copy()
450 int voice, unsigned long pos, unsigned long count) in emu8k_pcm_silence() argument
455 pos = (pos << 1) + rec->loop_start[voice]; in emu8k_pcm_silence()
490 int voice, unsigned long pos, in emu8k_pcm_copy() argument
[all …]

12345678