Home
last modified time | relevance | path

Searched refs:voice (Results 1 – 64 of 64) sorted by relevance

/linux-4.4.14/sound/drivers/opl4/
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 …]
/linux-4.4.14/include/uapi/linux/
Dultrasound.h75 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument
78 _seqbuf[_seqbufptr+3] = voice;\
84 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument
85 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument
86 #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) argument
87 #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) argument
88 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument
89 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument
90 #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ argument
92 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument
[all …]
Dsoundcard.h1205 #define SEQ_V2_X_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8);\ argument
1209 _seqbuf[_seqbufptr+3] = (voice);\
1219 #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) argument
1220 #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, v… argument
1221 #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128) argument
1222 #define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/1… argument
1223 #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) argument
/linux-4.4.14/sound/pci/
Dsis7019.c81 struct voice { struct
95 struct voice *timing; argument
133 struct voice voices[64];
134 struct voice capture_voice;
204 static void sis_update_sso(struct voice *voice, u16 period) in sis_update_sso() argument
206 void __iomem *base = voice->ctrl_base; in sis_update_sso()
208 voice->sso += period; in sis_update_sso()
209 if (voice->sso >= voice->buffer_size) in sis_update_sso()
210 voice->sso -= voice->buffer_size; in sis_update_sso()
213 if (voice->sso < 8) in sis_update_sso()
[all …]
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c49 struct snd_trident_voice * voice,
52 struct snd_trident_voice * voice,
67 static void snd_trident_print_voice_regs(struct snd_trident *trident, int voice)
71 dev_dbg(trident->card->dev, "Trident voice %i:\n", voice);
72 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR));
301 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_start_voice() argument
303 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_start_voice()
304 unsigned int reg = (voice & 0x20) ? T4D_START_B : T4D_START_A; in snd_trident_start_voice()
325 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) in snd_trident_stop_voice() argument
327 unsigned int mask = 1 << (voice & 0x1f); in snd_trident_stop_voice()
[all …]
Dtrident.h332 void (*private_free)(struct snd_trident_voice *voice);
347 struct snd_trident_voice *voice; /* active voice */ member
429 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
430 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice);
431 void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice);
432 void snd_trident_write_voice_regs(struct snd_trident * trident, struct snd_trident_voice *voice);
/linux-4.4.14/sound/oss/
Dopl3.c85 static int opl3_kill_note(int dev, int voice, int note, int velocity);
268 static int opl3_kill_note (int devno, int voice, int note, int velocity) in opl3_kill_note() argument
272 if (voice < 0 || voice >= devc->nr_voice) in opl3_kill_note()
275 devc->v_alloc->map[voice] = 0; in opl3_kill_note()
277 map = &pv_map[devc->lv_map[voice]]; in opl3_kill_note()
282 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, devc->voc[voice].keyon_byte & ~0x20); in opl3_kill_note()
283 devc->voc[voice].keyon_byte = 0; in opl3_kill_note()
284 devc->voc[voice].bender = 0; in opl3_kill_note()
285 devc->voc[voice].volume = 64; in opl3_kill_note()
286 devc->voc[voice].panning = 0xffff; /* Not set */ in opl3_kill_note()
[all …]
Ddev_table.h268 int (*kill_note) (int dev, int voice, int note, int velocity);
269 int (*start_note) (int dev, int voice, int note, int velocity);
270 int (*set_instr) (int dev, int voice, int instr);
275 void (*aftertouch) (int dev, int voice, int pressure);
276 void (*controller) (int dev, int voice, int ctrl_num, int value);
277 void (*panning) (int dev, int voice, int value);
281 void (*setup_voice) (int dev, int voice, int chn);
Dsequencer.c430 int voice; in alloc_voice() local
434 voice = synth_devs[dev]->alloc_voice(dev, chn, note, in alloc_voice()
436 synth_devs[dev]->alloc.map[voice] = key; in alloc_voice()
437 synth_devs[dev]->alloc.alloc_times[voice] = in alloc_voice()
439 return voice; in alloc_voice()
450 int voice = -1; in seq_chn_voice_event() local
462 voice = find_voice(dev, chn, note); in seq_chn_voice_event()
477 if (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice) in seq_chn_voice_event()
480 voice = alloc_voice(dev, chn, note); in seq_chn_voice_event()
482 if (voice == -1) in seq_chn_voice_event()
[all …]
Dmidi_synth.h16 void midi_synth_setup_voice (int dev, int voice, int chn);
Dmidi_synth.c652 midi_synth_setup_voice(int dev, int voice, int channel) in midi_synth_setup_voice() argument
DCHANGELOG354 - Digitized voice capability up to 44.1 kHz/8 bit/mono
356 - Fixed some bugs in the digitized voice driver for PAS16.
/linux-4.4.14/sound/drivers/opl3/
Dopl3_midi.c128 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { in debug_alloc() argument
132 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); in debug_alloc()
163 int voice; in opl3_get_voice() member
169 best[i].voice = -1; in opl3_get_voice()
218 bp->voice = i; in opl3_get_voice()
223 if (best[i].voice >= 0) { in opl3_get_voice()
227 best[i].voice); in opl3_get_voice()
229 return best[i].voice; in opl3_get_voice()
299 int voice; in snd_opl3_note_on() local
386 voice = opl3_get_voice(opl3, instr_4op, chan); in snd_opl3_note_on()
[all …]
Dopl3_synth.c73 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice);
136 struct snd_dm_fm_voice voice; in snd_opl3_ioctl() local
137 if (copy_from_user(&voice, argp, sizeof(struct snd_dm_fm_voice))) in snd_opl3_ioctl()
139 return snd_opl3_set_voice(opl3, &voice); in snd_opl3_ioctl()
410 if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ? in snd_opl3_play_note()
415 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
418 voice_offset = note->voice; in snd_opl3_play_note()
422 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
447 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) in snd_opl3_set_voice() argument
457 if (voice->op > 1) in snd_opl3_set_voice()
[all …]
Dopl3_drums.c49 int voice; member
60 int voice; member
86 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set()
87 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set()
121 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set()
140 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set()
141 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_synth.c68 wt_voice_t *voice = &(vortex->wt_voice[wt]); in vortex_wt_allocroute() local
107 voice->parm0 = voice->parm1 = 0xcfb23e2f; in vortex_wt_allocroute()
108 hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0); in vortex_wt_allocroute()
109 hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1); in vortex_wt_allocroute()
339 wt_voice_t *voice = &(vortex->wt_voice[wt]);
343 voice->parm0 &= 0xff00ffff;
344 voice->parm0 |= (vol[0] & 0xff) << 0x10;
345 voice->parm1 &= 0xff00ffff;
346 voice->parm1 |= (vol[1] & 0xff) << 0x10;
349 hwwrite(vortex, WT_PARM(wt, 0), voice->parm0);
[all …]
Dau88x0_wt.h27 #define WT_STEREO(voice) ((WT_BAR(voice)+ 0x20 +(((voice)&0x1f)>>1))<<2) /* 0x0080 */ argument
28 #define WT_MUTE(voice) ((WT_BAR(voice)+ 0x40 +((voice)&0x1f))<<2) /* 0x0100 */ argument
29 #define WT_RUN(voice) ((WT_BAR(voice)+ 0x60 +((voice)&0x1f))<<2) /* 0x0180 */ argument
/linux-4.4.14/sound/isa/gus/
Dgus_reset.c56 …_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
83 struct snd_gus_voice *voice; in snd_gf1_set_default_handlers() local
85 voice = &gus->gf1.voices[what & 0xffff]; in snd_gf1_set_default_handlers()
86 voice->handler_wave = in snd_gf1_set_default_handlers()
87 voice->handler_volume = snd_gf1_default_interrupt_handler_wave_and_volume; in snd_gf1_set_default_handlers()
88 voice->handler_effect = NULL; in snd_gf1_set_default_handlers()
89 voice->volume_change = NULL; in snd_gf1_set_default_handlers()
129 void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice) in snd_gf1_smart_stop_voice() argument
134 snd_gf1_select_voice(gus, voice); in snd_gf1_smart_stop_voice()
136 …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 …]
Dgus_io.c448 int voice, ctrl; in snd_gf1_print_voice_registers() local
450 voice = gus->gf1.active_voice; in snd_gf1_print_voice_registers()
451 …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()
452 printk(KERN_INFO " -%i- GF1 frequency = 0x%x\n", voice, snd_gf1_i_read16(gus, 1)); in snd_gf1_print_voice_registers()
453 …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()
454 …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()
455 printk(KERN_INFO" -%i- GF1 volume = 0x%x\n", voice, snd_gf1_i_read16(gus, 9)); in snd_gf1_print_voice_registers()
456 …printk(KERN_INFO " -%i- GF1 position = 0x%x (0x%x)\n", voice, snd_gf1_i_read_addr(g… in snd_gf1_print_voice_registers()
459 printk(KERN_INFO " -%i- GFA1 mode = 0x%x\n", voice, mode); in snd_gf1_print_voice_registers()
461 …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 …]
Dgus_pcm.c117 unsigned int voice; in snd_gf1_pcm_trigger_up() local
136 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
137 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up()
146 pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; in snd_gf1_pcm_trigger_up()
147 vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right; in snd_gf1_pcm_trigger_up()
149 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
167 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
168 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
177 for (voice = 0; voice < pcmp->voices; voice++) { in snd_gf1_pcm_trigger_up()
178 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
[all …]
Dgus_irq.c57 unsigned char voice_status, voice; in snd_gus_interrupt() local
62 voice = voice_status & 0x1f; in snd_gus_interrupt()
63 _current_ = 1 << voice; in snd_gus_interrupt()
70 voice, voice_status, inb(GUSP(gus, GF1PAGE))); in snd_gus_interrupt()
72 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt()
/linux-4.4.14/sound/pci/emu10k1/
Dirq.c61 int voice; in snd_emu10k1_interrupt() local
67 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt()
68 if (voice == 0x20) in snd_emu10k1_interrupt()
73 snd_emu10k1_voice_intr_ack(emu, voice); in snd_emu10k1_interrupt()
75 snd_emu10k1_voice_intr_disable(emu, voice); in snd_emu10k1_interrupt()
82 for (voice = 0; voice <= voice_max; voice++) { in snd_emu10k1_interrupt()
83 if (voice == 0x20) in snd_emu10k1_interrupt()
88 snd_emu10k1_voice_half_loop_intr_ack(emu, voice); in snd_emu10k1_interrupt()
90 snd_emu10k1_voice_half_loop_intr_disable(emu, voice); in snd_emu10k1_interrupt()
Dvoice.c51 struct snd_emu10k1_voice *voice; in voice_alloc() local
71 voice = &emu->voices[(i+k) % NUM_G]; in voice_alloc()
72 if (voice->use) { in voice_alloc()
90 voice = &emu->voices[(first_voice + i) % NUM_G]; in voice_alloc()
95 voice->use = 1; in voice_alloc()
98 voice->pcm = 1; in voice_alloc()
101 voice->synth = 1; in voice_alloc()
104 voice->midi = 1; in voice_alloc()
107 voice->efx = 1; in voice_alloc()
Demupcm.c38 struct snd_emu10k1_voice *voice) in snd_emu10k1_pcm_interrupt() argument
42 if ((epcm = voice->epcm) == NULL) in snd_emu10k1_pcm_interrupt()
292 int voice, stereo, w_16; in snd_emu10k1_pcm_init_voice() local
299 voice = evoice->number; in snd_emu10k1_pcm_init_voice()
339 snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice()
340 snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK); in snd_emu10k1_pcm_init_voice()
342 snd_emu10k1_ptr_write(emu, CPF, voice, 0); in snd_emu10k1_pcm_init_voice()
348 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in snd_emu10k1_pcm_init_voice()
350 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in snd_emu10k1_pcm_init_voice()
352 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, in snd_emu10k1_pcm_init_voice()
[all …]
Demu10k1x.c209 struct emu10k1x_voice *voice; member
363 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt() argument
367 if ((epcm = voice->epcm) == NULL) in snd_emu10k1x_pcm_interrupt()
422 if (! epcm->voice) { in snd_emu10k1x_pcm_hw_params()
423 epcm->voice = &epcm->emu->voices[substream->pcm->device]; in snd_emu10k1x_pcm_hw_params()
424 epcm->voice->use = 1; in snd_emu10k1x_pcm_hw_params()
425 epcm->voice->epcm = epcm; in snd_emu10k1x_pcm_hw_params()
443 if (epcm->voice) { in snd_emu10k1x_pcm_hw_free()
444 epcm->voice->use = 0; in snd_emu10k1x_pcm_hw_free()
445 epcm->voice->epcm = NULL; in snd_emu10k1x_pcm_hw_free()
[all …]
Demumixer.c1201 static void update_emu10k1_fxrt(struct snd_emu10k1 *emu, int voice, unsigned char *route) in update_emu10k1_fxrt() argument
1204 snd_emu10k1_ptr_write(emu, A_FXRT1, voice, in update_emu10k1_fxrt()
1206 snd_emu10k1_ptr_write(emu, A_FXRT2, voice, in update_emu10k1_fxrt()
1209 snd_emu10k1_ptr_write(emu, FXRT, voice, in update_emu10k1_fxrt()
1214 static void update_emu10k1_send_volume(struct snd_emu10k1 *emu, int voice, unsigned char *volume) in update_emu10k1_send_volume() argument
1216 snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_A, voice, volume[0]); in update_emu10k1_send_volume()
1217 snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_B, voice, volume[1]); in update_emu10k1_send_volume()
1218 snd_emu10k1_ptr_write(emu, PSST_FXSENDAMOUNT_C, voice, volume[2]); in update_emu10k1_send_volume()
1219 snd_emu10k1_ptr_write(emu, DSL_FXSENDAMOUNT_D, voice, volume[3]); in update_emu10k1_send_volume()
1225 snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, val); in update_emu10k1_send_volume()
[all …]
Demu10k1_callback.c33 int voice; member
103 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice()
105 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
230 best[i].voice = -1; in lookup_voices()
276 bp->voice = i; in lookup_voices()
298 if (best[i].voice >= 0) { in get_voice()
299 vp = &emu->voices[best[i].voice]; in get_voice()
Demuproc.c381 struct snd_emu10k1_voice *voice; in snd_emu10k1_proc_voices_read() local
386 voice = &emu->voices[idx]; in snd_emu10k1_proc_voices_read()
389 voice->use, in snd_emu10k1_proc_voices_read()
390 voice->pcm, in snd_emu10k1_proc_voices_read()
391 voice->efx, in snd_emu10k1_proc_voices_read()
392 voice->synth, in snd_emu10k1_proc_voices_read()
393 voice->midi); in snd_emu10k1_proc_voices_read()
DMakefile7 irq.o memory.o voice.o emumpu401.o emupcm.o io.o \
/linux-4.4.14/include/sound/
Dgus.h265 void (*handler_wave) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
266 void (*handler_volume) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
267 void (*handler_effect) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
292 void (*private_free)(struct snd_gus_voice *voice);
451 static inline void snd_gf1_select_voice(struct snd_gus_card * gus, int voice) in snd_gf1_select_voice() argument
456 if (voice != gus->gf1.active_voice) { in snd_gf1_select_voice()
457 gus->gf1.active_voice = voice; in snd_gf1_select_voice()
458 outb(voice, GUSP(gus, GF1PAGE)); in snd_gf1_select_voice()
532 extern irqreturn_t snd_gf1_lfo_effect_interrupt(struct snd_gus_card * gus, snd_gf1_voice_t * voice);
536 extern void snd_gf1_lfo_program(struct snd_gus_card * gus, int voice, int lfo_type, struct _SND_IW_…
[all …]
Demux_synth.h241 void snd_emux_lock_voice(struct snd_emux *emu, int voice);
242 void snd_emux_unlock_voice(struct snd_emux *emu, int voice);
Demu10k1.h1830 void snd_emu10k1_voice_init(struct snd_emu10k1 * emu, int voice);
/linux-4.4.14/sound/synth/emux/
Demux_oss.c338 int voice; in emuspec_control() local
344 voice = event[3]; in emuspec_control()
345 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control()
348 chan = &port->chset.channels[voice]; in emuspec_control()
376 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control()
379 fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop); in emuspec_control()
433 int voice; in gusspec_control() local
443 voice = event[3]; in gusspec_control()
444 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control()
447 chan = &port->chset.channels[voice]; in gusspec_control()
Demux_synth.c950 void snd_emux_lock_voice(struct snd_emux *emu, int voice) in snd_emux_lock_voice() argument
955 if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF) in snd_emux_lock_voice()
956 emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED; in snd_emux_lock_voice()
960 voice, emu->voices[voice].state); in snd_emux_lock_voice()
968 void snd_emux_unlock_voice(struct snd_emux *emu, int voice) in snd_emux_unlock_voice() argument
973 if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED) in snd_emux_unlock_voice()
974 emu->voices[voice].state = SNDRV_EMUX_ST_OFF; in snd_emux_unlock_voice()
978 voice, emu->voices[voice].state); in snd_emux_unlock_voice()
/linux-4.4.14/sound/soc/codecs/
Dwm8753.c896 u16 voice = snd_soc_read(codec, WM8753_PCM) & 0x01ec; in wm8753_vdac_adc_set_dai_fmt() local
901 voice |= 0x0002; in wm8753_vdac_adc_set_dai_fmt()
906 voice |= 0x0001; in wm8753_vdac_adc_set_dai_fmt()
909 voice |= 0x0003; in wm8753_vdac_adc_set_dai_fmt()
912 voice |= 0x0013; in wm8753_vdac_adc_set_dai_fmt()
918 snd_soc_write(codec, WM8753_PCM, voice); in wm8753_vdac_adc_set_dai_fmt()
931 u16 voice = snd_soc_read(codec, WM8753_PCM) & 0x01f3; in wm8753_pcm_hw_params() local
939 voice |= 0x0004; in wm8753_pcm_hw_params()
942 voice |= 0x0008; in wm8753_pcm_hw_params()
945 voice |= 0x000c; in wm8753_pcm_hw_params()
[all …]
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci_main.c223 struct snd_ymfpci_voice *voice, *voice2; in voice_alloc() local
228 voice = &chip->voices[idx]; in voice_alloc()
230 if (voice->use || (voice2 && voice2->use)) in voice_alloc()
232 voice->use = 1; in voice_alloc()
237 voice->pcm = 1; in voice_alloc()
242 voice->synth = 1; in voice_alloc()
245 voice->midi = 1; in voice_alloc()
251 *rvoice = voice; in voice_alloc()
304 static void snd_ymfpci_pcm_interrupt(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice) in snd_ymfpci_pcm_interrupt() argument
309 if ((ypcm = voice->ypcm) == NULL) in snd_ymfpci_pcm_interrupt()
[all …]
Dymfpci.h252 void (*interrupt)(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice);
/linux-4.4.14/sound/isa/sb/
Demu8000_pcm.c442 int voice, in emu8k_pcm_copy() argument
451 if (voice == -1) { in emu8k_pcm_copy()
463 return emu8k_transfer_block(emu, pos + rec->loop_start[voice], src, count); in emu8k_pcm_copy()
480 int voice, in emu8k_pcm_silence() argument
488 if (voice == -1 && rec->voices == 1) in emu8k_pcm_silence()
489 voice = 0; in emu8k_pcm_silence()
490 if (voice == -1) { in emu8k_pcm_silence()
497 return emu8k_silence_block(emu, pos + rec->loop_start[voice], count); in emu8k_pcm_silence()
508 int voice, in emu8k_pcm_copy() argument
541 int voice, in emu8k_pcm_silence() argument
Demu8000_callback.c171 int voice; in get_voice() member
179 best[i].voice = -1; in get_voice()
215 bp->voice = i; in get_voice()
220 if (best[i].voice >= 0) { in get_voice()
221 vp = &emu->voices[best[i].voice]; in get_voice()
222 vp->ch = best[i].voice; in get_voice()
/linux-4.4.14/include/uapi/sound/
Dasound_fm.h43 unsigned char voice; /* FM voice (0 to 17) */ member
71 unsigned char voice; /* 0-17 voice channel */ member
/linux-4.4.14/net/bluetooth/
Dsco.c799 struct bt_voice voice; in sco_sock_setsockopt() local
832 voice.setting = sco_pi(sk)->setting; in sco_sock_setsockopt()
834 len = min_t(unsigned int, sizeof(voice), optlen); in sco_sock_setsockopt()
835 if (copy_from_user((char *)&voice, optval, len)) { in sco_sock_setsockopt()
841 if (voice.setting != BT_VOICE_TRANSPARENT && in sco_sock_setsockopt()
842 voice.setting != BT_VOICE_CVSD_16BIT) { in sco_sock_setsockopt()
847 sco_pi(sk)->setting = voice.setting; in sco_sock_setsockopt()
925 struct bt_voice voice; in sco_sock_getsockopt() local
952 voice.setting = sco_pi(sk)->setting; in sco_sock_getsockopt()
954 len = min_t(unsigned int, len, sizeof(voice)); in sco_sock_getsockopt()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Domap-twl4030.txt10 - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl
/linux-4.4.14/drivers/isdn/
DKconfig11 is a fully digital telephone service that can be used for voice and
16 voice calls (eg. turning your PC into a software answering machine
50 <http://www.capi.org/>.) CAPI supports making and accepting voice
/linux-4.4.14/Documentation/isdn/
DREADME.audio89 responds with either CONNECT (data call) or VCON (voice call).
91 On outgoing voice calls, the emulator responds with VCON
DREADME.gigaset52 to use CAPI 2.0 or ISDN4Linux for ISDN connections (voice or data).
DREADME162 For voice-mode commands refer to README.audio
/linux-4.4.14/drivers/isdn/i4l/
DKconfig63 EIA Class 8 Voice commands. Using a getty with voice-support
68 is the only voice-supporting driver. See
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_ltlk.c67 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_apollo.c66 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_decext.c84 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_dectlk.c83 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_soft.c79 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_dtlk.c84 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspeakup_decpc.c178 __ATTR(voice, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
Dspkguide.txt413 voice
735 rate, volume, voice, etc. The voice entry in the Speakup sys system
1169 talkwith espeakup --default-voice=fr
1170 causes espeakup to use the French voice.
/linux-4.4.14/drivers/lguest/
DREADME27 - Whereby the Guest finds its voice and become useful, and our
/linux-4.4.14/sound/soc/davinci/
DKconfig73 Say Y if you want to add support for SoC On-chip voice codec
/linux-4.4.14/arch/arm/boot/dts/
Domap3-gta04.dtsi54 simple-audio-card,name = "GTA04 voice";
/linux-4.4.14/Documentation/
DManagementStyle233 and that is being called a "d*ckhead" in a sanctimonious voice. The
/linux-4.4.14/Documentation/video4linux/
Dvideobuf105 halt. Yes, this is the voice of experience. Note also that videobuf may
/linux-4.4.14/Documentation/development-process/
D1.Intro174 are heard, but active developers have a stronger voice - and the ability
/linux-4.4.14/net/netfilter/
DKconfig213 important VoIP protocols, it is widely used by voice hardware and
214 software including voice gateways, IP phones, Netmeeting, OpenPhone,
/linux-4.4.14/Documentation/blockdev/
DREADME.DAC96023 electronic mail at mylexsup@us.ibm.com, by voice at 510.608.2400, or by FAX at
/linux-4.4.14/Documentation/sound/oss/
DREADME.OSS157 work if "digitized voice support" was not enabled during "make config".