Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/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 …]
/openbmc/linux/sound/pci/
H A Dsis7019.c68 struct voice { struct
82 struct voice *timing; argument
116 /* voice_lock protects allocation/freeing of the voice descriptions
120 struct voice voices[64];
121 struct voice capture_voice;
191 static void sis_update_sso(struct voice *voice, u16 period) in sis_update_sso() argument
193 void __iomem *base = voice->ctrl_base; in sis_update_sso()
195 voice->sso += period; in sis_update_sso()
196 if (voice->sso >= voice->buffer_size) in sis_update_sso()
197 voice->sso -= voice->buffer_size; in sis_update_sso()
[all …]
/openbmc/linux/sound/drivers/opl3/
H A Dopl3_midi.c110 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()
186 /* allocate 2op voice */ in opl3_get_voice()
[all …]
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()
361 /* 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 …]
/openbmc/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));
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 …]
/openbmc/linux/sound/drivers/opl4/
H A Dopl4_synth.c313 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 …]
/openbmc/linux/sound/isa/gus/
H A Dgus_reset.c39 …_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 …]
H A Dgus_irq.c42 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()
H A Dgus_pcm.c102 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 …]
/openbmc/linux/sound/pci/emu10k1/
H A Dvoice.c8 * 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 …]
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 …]
/openbmc/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
/openbmc/qemu/hw/audio/
H A Dlm4549.c13 * It supports only one playback voice and no record voice.
102 /* Activate the voice */ in lm4549_audio_transfer()
103 AUD_set_active_out(s->voice, 1); in lm4549_audio_transfer()
107 written_bytes = AUD_write(s->voice, s->buffer, in lm4549_audio_transfer()
131 int size = AUD_get_buffer_size_out(s->voice); in lm4549_audio_out_callback()
136 => disable the voice */ in lm4549_audio_out_callback()
138 AUD_set_active_out(s->voice, 0); in lm4549_audio_out_callback()
185 /* Re-open a voice with the new sample rate */ in lm4549_write()
192 s->voice = AUD_open_out( in lm4549_write()
194 s->voice, in lm4549_write()
[all …]
H A Dgusemu_hal.c52 /* timer/voice bits set in gus_irqgen() */ in gus_read()
140 /* voice specific functions */ in gus_read()
157 offset += ((int) GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = Voice*32 + Function*2 */ in gus_read()
161 /* voice unspecific functions */ in gus_read()
281 int voice; in gus_write() local
284 for (voice = 0; voice < 31; voice++) in gus_write()
286 if (GUSregd(voicewavetableirq) & (1 << voice)) in gus_write()
288 GUSregd(voicewavetableirq) ^= (1 << voice); /* clear IRQ bit */ in gus_write()
289 GUSregb(voice << 5) &= 0x7f; /* clear voice reg irq bit */ in gus_write()
294 GUSregb(SynVoiceIRQ8f) = voice | 0x60; /* (bit==0 => IRQ wartend) */ in gus_write()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pnp.c40 /* Rockwell 56K ACF II Fax+Data+Voice Modem */
63 /* Creative Labs Phone Blaster 28.8 DSVD PnP Voice */
65 /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */
84 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */
89 /* Archtek SmartLink Modem 3334BRV 33.6K Data Fax Voice */
92 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */
94 /* Hayes Optima 336 V.34 + FAX + Voice PnP */
96 /* Hayes Optima 336B V.34 + FAX + Voice PnP */
106 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */
109 /* IBM Thinkpad 701 Internal Modem Voice */
[all …]
/openbmc/linux/drivers/acpi/
H A Dacpi_pnp.c152 {"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 …]
/openbmc/linux/sound/soc/codecs/
H A Dcpcap.c312 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 …]
H A Dtwl4030.c356 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 …]
H A Dwm8753.c16 * 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 …]
/openbmc/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 …]
H A Dgus.h75 /* 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 …]
/openbmc/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.

12345678910>>...14