Home
last modified time | relevance | path

Searched refs:synth (Results 1 – 68 of 68) sorted by relevance

/linux-4.4.14/drivers/staging/speakup/
Dsynth.c22 struct spk_synth *synth; variable
47 int spk_serial_synth_probe(struct spk_synth *synth) in spk_serial_synth_probe() argument
52 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { in spk_serial_synth_probe()
53 ser = spk_serial_init(synth->ser); in spk_serial_synth_probe()
63 pr_warn("ttyS%i is an invalid port\n", synth->ser); in spk_serial_synth_probe()
66 pr_info("%s: not found\n", synth->long_name); in spk_serial_synth_probe()
70 synth->long_name, synth->ser, synth->version); in spk_serial_synth_probe()
71 synth->alive = 1; in spk_serial_synth_probe()
82 void spk_do_catch_up(struct spk_synth *synth) in spk_do_catch_up() argument
108 synth->flush(synth); in spk_do_catch_up()
[all …]
Dthread.c33 (synth && synth->catch_up && synth->alive && in speakup_thread()
49 if (synth && synth->catch_up && synth->alive) { in speakup_thread()
53 synth->catch_up(synth); in speakup_thread()
Dspeakup_acntpc.c40 static int synth_probe(struct spk_synth *synth);
42 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
43 static void do_catch_up(struct spk_synth *synth);
44 static void synth_flush(struct spk_synth *synth);
152 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
174 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
201 synth->flush(synth); in do_catch_up()
253 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
258 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
263 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
Dspeakup_keypc.c39 static int synth_probe(struct spk_synth *synth);
41 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
42 static void do_catch_up(struct spk_synth *synth);
43 static void synth_flush(struct spk_synth *synth);
155 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
176 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
202 synth->flush(synth); in do_catch_up()
260 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
265 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
270 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
Dspk_priv.h64 int spk_serial_synth_probe(struct spk_synth *synth);
65 const char *spk_synth_immediate(struct spk_synth *synth, const char *buff);
66 void spk_do_catch_up(struct spk_synth *synth);
67 void spk_synth_flush(struct spk_synth *synth);
68 int spk_synth_is_alive_nop(struct spk_synth *synth);
69 int spk_synth_is_alive_restart(struct spk_synth *synth);
Dspeakup_audptr.c33 static int synth_probe(struct spk_synth *synth);
34 static void synth_flush(struct spk_synth *synth);
132 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
145 static void synth_version(struct spk_synth *synth) in synth_version() argument
150 spk_synth_immediate(synth, "\x05[Q]"); in synth_version()
160 pr_info("%s version: %s", synth->long_name, synth_id); in synth_version()
163 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
167 failed = spk_serial_synth_probe(synth); in synth_probe()
169 synth_version(synth); in synth_probe()
170 synth->alive = !failed; in synth_probe()
Dspeakup_dtlk.c39 static int synth_probe(struct spk_synth *synth);
41 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
42 static void do_catch_up(struct spk_synth *synth);
43 static void synth_flush(struct spk_synth *synth);
192 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
213 synth->flush(synth); in do_catch_up()
247 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
262 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
283 static struct synth_settings *synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
290 synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
[all …]
Dspeakup_decpc.c142 static int synth_probe(struct spk_synth *synth);
144 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
145 static void do_catch_up(struct spk_synth *synth);
146 static void synth_flush(struct spk_synth *synth);
308 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
373 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
396 synth->flush(synth); in do_catch_up()
445 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
459 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
463 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
Dserialio.c103 synth->read_buff_add((u_char) c); in synth_readbuf_handler()
115 if (!synth->read_buff_add) in start_serial_interrupt()
141 if (!synth->read_buff_add) in spk_stop_serial_interrupt()
154 if ((synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_wait_for_xmitr()
156 synth->long_name); in spk_wait_for_xmitr()
157 synth->alive = 0; in spk_wait_for_xmitr()
168 pr_warn("%s: timed out (tx busy)\n", synth->long_name); in spk_wait_for_xmitr()
218 if (synth->alive && spk_wait_for_xmitr()) { in spk_serial_out()
Dspeakup_ltlk.c33 static int synth_probe(struct spk_synth *synth);
140 static void synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
145 spk_synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
158 pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); in synth_interrogate()
161 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
165 failed = spk_serial_synth_probe(synth); in synth_probe()
167 synth_interrogate(synth); in synth_probe()
168 synth->alive = !failed; in synth_probe()
Dspeakup_decext.c53 static void do_catch_up(struct spk_synth *synth);
54 static void synth_flush(struct spk_synth *synth);
155 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
179 synth->flush(synth); in do_catch_up()
227 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
230 spk_synth_immediate(synth, "\033P;10z\033\\"); in synth_flush()
Dspeakup_acntsa.c33 static int synth_probe(struct spk_synth *synth);
127 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
131 failed = spk_serial_synth_probe(synth); in synth_probe()
133 spk_synth_immediate(synth, "\033=R\r"); in synth_probe()
136 synth->alive = !failed; in synth_probe()
Dspk_types.h169 int (*probe)(struct spk_synth *synth);
171 const char *(*synth_immediate)(struct spk_synth *synth,
173 void (*catch_up)(struct spk_synth *synth);
174 void (*flush)(struct spk_synth *synth);
175 int (*is_alive)(struct spk_synth *synth);
Dspeakup_dectlk.c46 static void do_catch_up(struct spk_synth *synth);
47 static void synth_flush(struct spk_synth *synth);
205 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
243 synth->flush(synth); in do_catch_up()
292 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
Dspeakup_apollo.c38 static void do_catch_up(struct spk_synth *synth);
136 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
164 synth->flush(synth); in do_catch_up()
188 if (spk_serial_out(synth->procspeech)) in do_catch_up()
Dkobjects.c371 if (!synth) in synth_show()
374 rv = sprintf(buf, "%s\n", synth->name); in synth_show()
395 if ((synth != NULL) && (!strcmp(new_synth_name, synth->name))) { in synth_store()
415 if (!synth) in synth_direct_store()
441 if (synth) in version_show()
443 synth->name, synth->version); in version_show()
598 if (synth && synth_default_value) { in spk_reset_default_value()
658 if (param->var_id == VOICE && synth && in spk_var_store()
662 spk_reset_default_value("pitch", synth->default_pitch, in spk_var_store()
664 spk_reset_default_value("vol", synth->default_vol, in spk_var_store()
[all …]
Ddevsynth.c25 if (!synth) in speakup_file_write()
48 if (!synth) in speakup_file_open()
Dspeakup_soft.c38 static int softsynth_probe(struct spk_synth *synth);
40 static int softsynth_is_alive(struct spk_synth *synth);
317 static int softsynth_probe(struct spk_synth *synth) in softsynth_probe() argument
343 static int softsynth_is_alive(struct spk_synth *synth) in softsynth_is_alive() argument
Dspeakup_spkout.c33 static void synth_flush(struct spk_synth *synth);
131 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
Dvarhandlers.c224 if (var->var_id < FIRST_SYNTH_VAR || !synth) in spk_set_num_var()
226 if (synth->synth_adjust) { in spk_set_num_var()
227 int status = synth->synth_adjust(var); in spk_set_num_var()
Dmain.c65 module_param_named(synth, synth_name, charp, S_IRUGO);
68 MODULE_PARM_DESC(synth, "Synth to start if speakup is built in.");
305 if (synth != NULL) in speakup_shut_up()
311 char val = synth->is_alive(synth); in speech_kill()
1157 if (synth == NULL || up_flag || spk_killed) in do_handle_shift()
1194 if (synth == NULL || spk_killed) { in do_handle_latin()
1372 if ((vc->vc_num != fg_console) || synth == NULL || spk_shut_up) in read_all_doc()
1486 if (synth == NULL || up_flag || spk_shut_up) { in pre_handle_cursor()
1508 if (synth == NULL || up_flag || spk_shut_up || cursor_track == CT_Off) { in do_handle_cursor()
1701 if (spk_shut_up || synth == NULL) { in speakup_bs()
[all …]
DMakefile28 synth.o \
Dbuffers.c64 if (!synth->alive) { in synth_buffer_add()
Dspeakup.h95 extern struct spk_synth *synth;
Dspkguide.txt63 linux speakup.synth=ltlk
68 speakup.synth parameter will accept the following keywords, provided
99 speakup.synth boot parameter will have no effect if Speakup has been
385 /speakup/synth
501 synth dtlk version 1.1
530 synthesizer keyword to the /speakup/synth sys entry.
531 Depending on your situation, you may wish to echo none to the synth
534 new synthesizer into the synth sys entry in order to start speech
536 keywords in section 1 to find the keyword which matches your synth.
569 were using a different synth, then you would substitute its keyword in
[all …]
DDefaultKeyAssignments44 synth until it has caught up with what is being printed on the
/linux-4.4.14/drivers/clk/ti/
Dfapll.c283 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_enable() local
284 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable()
286 v &= ~(1 << synth->index); in ti_fapll_synth_enable()
287 writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable()
294 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_disable() local
295 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_disable()
297 v |= 1 << synth->index; in ti_fapll_synth_disable()
298 writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_disable()
303 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_is_enabled() local
304 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_is_enabled()
[all …]
/linux-4.4.14/sound/synth/emux/
DMakefile6 snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \
8 snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o
9 snd-emux-synth-$(CONFIG_SND_SEQUENCER_OSS) += emux_oss.o
12 obj-$(CONFIG_SND_SBAWE_SEQ) += snd-emux-synth.o
13 obj-$(CONFIG_SND_EMU10K1_SEQ) += snd-emux-synth.o
/linux-4.4.14/drivers/clk/spear/
DMakefile5 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
/linux-4.4.14/sound/drivers/opl3/
DMakefile7 snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o
8 snd-opl3-synth-$(CONFIG_SND_SEQUENCER_OSS) += opl3_oss.o
12 obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
/linux-4.4.14/sound/drivers/opl4/
DMakefile8 snd-opl4-synth-objs := opl4_seq.o opl4_synth.o yrw801.o
11 obj-$(CONFIG_SND_OPL4_LIB_SEQ) += snd-opl4-synth.o
/linux-4.4.14/sound/pci/emu10k1/
Dvoice.c101 voice->synth = 1; in voice_alloc()
138 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; in snd_emu10k1_voice_alloc()
161 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; in snd_emu10k1_voice_free()
DMakefile10 snd-emu10k1-synth-objs := emu10k1_synth.o emu10k1_callback.o emu10k1_patch.o
15 obj-$(CONFIG_SND_EMU10K1_SEQ) += snd-emu10k1-synth.o
Demu10k1_synth.c74 hw->synth = emux; in snd_emu10k1_synth_probe()
97 hw->synth = NULL; in snd_emu10k1_synth_remove()
Demu10k1_callback.c99 emu = hw->synth; in snd_emu10k1_synth_get_voice()
Demuproc.c392 voice->synth, in snd_emu10k1_proc_voices_read()
Demu10k1_main.c1845 emu->synth = NULL; in snd_emu10k1_create()
/linux-4.4.14/sound/isa/sb/
DMakefile13 snd-emu8000-synth-objs := emu8000_synth.o emu8000_callback.o emu8000_patch.o emu8000_pcm.o
28 obj-$(CONFIG_SND_SBAWE_SEQ) += snd-emu8000-synth.o
Dsb16.c347 struct snd_hwdep *synth = NULL; in snd_sb16_probe() local
423 if ((err = snd_opl3_hwdep_new(opl3, 0, seqdev, &synth)) < 0) in snd_sb16_probe()
434 snd_sb_csp_new(chip, synth != NULL ? 1 : 0, &xcsp); in snd_sb16_probe()
/linux-4.4.14/sound/pci/ali5451/
Dali5451.c191 synth :1, member
242 struct snd_alidev synth; member
533 if (codec->synth.chcnt >= ALI_CHANNELS){ in snd_ali_alloc_pcm_channel()
539 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_alloc_pcm_channel()
540 codec->synth.chmap |= 1 << idx; in snd_ali_alloc_pcm_channel()
541 codec->synth.chcnt++; in snd_ali_alloc_pcm_channel()
606 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_free_channel_pcm()
612 codec->synth.chmap &= ~(1 << idx); in snd_ali_free_channel_pcm()
613 codec->synth.chcnt--; in snd_ali_free_channel_pcm()
862 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
[all …]
/linux-4.4.14/tools/perf/tests/
Dmmap-thread-lookup.c150 static int mmap_events(synth_cb synth) in mmap_events() argument
170 err = synth(machine); in mmap_events()
/linux-4.4.14/drivers/net/wireless/p54/
Deeprom.c739 u16 synth = 0; in p54_parse_eeprom() local
812 synth = le16_to_cpu(exp_if->variant); in p54_parse_eeprom()
888 if (!synth || !priv->iq_autocal || !priv->output_limit || in p54_parse_eeprom()
896 priv->rxhw = synth & PDR_SYNTH_FRONTEND_MASK; in p54_parse_eeprom()
904 if (!(synth & PDR_SYNTH_24_GHZ_DISABLED)) in p54_parse_eeprom()
907 if (!(synth & PDR_SYNTH_5_GHZ_DISABLED)) in p54_parse_eeprom()
910 if ((synth & PDR_SYNTH_RX_DIV_MASK) == PDR_SYNTH_RX_DIV_SUPPORTED) in p54_parse_eeprom()
912 if ((synth & PDR_SYNTH_TX_DIV_MASK) == PDR_SYNTH_TX_DIV_SUPPORTED) in p54_parse_eeprom()
/linux-4.4.14/sound/
DMakefile8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
/linux-4.4.14/sound/oss/
Dpss.c131 unsigned int synth; member
457 devc->mixer.synth = 30; in pss_mixer_reset()
568 if (set_volume_mono(arg, &devc->mixer.synth)) in pss_mixer_ioctl()
570 set_synth_volume(devc, devc->mixer.synth); in pss_mixer_ioctl()
571 return ret_vol_mono(devc->mixer.synth); in pss_mixer_ioctl()
628 or_mask = ret_vol_mono(devc->mixer.synth); in pss_mixer_ioctl()
DKconfig391 can't control master volume, bass, treble and synth volume.
402 to include this file. Without this file the synth device (OPL) may
/linux-4.4.14/sound/pci/trident/
Dtrident.h279 synth:1, member
385 struct snd_4dwave synth; /* synth specific variables */ member
Dtrident_main.c403 trident->synth.ChanSynthCount++; in snd_trident_allocate_synth_channel()
429 trident->synth.ChanSynthCount--; in snd_trident_free_synth_channel()
3580 trident->synth.max_size = max_wavetable_size * 1024; in snd_trident_create()
3643 voice = &trident->synth.voices[i]; in snd_trident_create()
3745 voice = &trident->synth.voices[channel]; in snd_trident_interrupt()
3829 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
3845 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
3847 pvoice->synth = 1; in snd_trident_alloc_voice()
3876 if (voice->synth) in snd_trident_free_voice()
3878 voice->use = voice->pcm = voice->synth = voice->midi = 0; in snd_trident_free_voice()
/linux-4.4.14/Documentation/sound/oss/
DTropez+22 want to use the OPL/[34] synth on the soundcard
DOpti102 supported by the mad16 driver. The synth device is supported
131 connections to the mixer. The 3 inputs intended for cd, synth
138 15=line2 3=synth - reroute line2 to the synthesizer input.
DPSS37 genmidi.ld on newer DOS driver install disks and synth.ld on older ones.
DSoundblaster35 You may well want to load the opl3 driver for synth music on most SB and
DALS30 synth device can be accessed using the "opl3" module.
DREADME.OSS58 Rob Hooft Volume computation algorithm for the FM synth.
412 for information about using the wave table synth.
502 to the FM synth this chip has also digital audio (WSS) and
512 (not used in OSS/Free) in addition to the OPL3 FM synth.
977 the driver uses a software emulation for synth and pcm playbacks. It's
1037 you should probably enable the OPL3 synth also since
1069 With some cards the file is called 'synth.ld'. You must have access to
1189 port, just disable the MIDI port of MAD16. The 'Maui' compatible synth of
1240 The OPL4 synth will be inaccessible without loading the microcontroller code.
DIntroduction401 a midi synth in all cases then it will request "sound-service-0-n" where n
/linux-4.4.14/sound/isa/gus/
Dgus_dma.c198 int synth) in snd_gf1_dma_transfer_block() argument
221 if (synth) { in snd_gf1_dma_transfer_block()
Dgus_reset.c245 pvoice->synth = 1; in snd_gf1_alloc_voice_use()
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dti,cdce706.txt30 cdce706: clock-synth@69 {
/linux-4.4.14/include/sound/
Dsnd_wavefront.h106 struct pnp_dev *synth; member
Dgus.h253 synth:1, member
570 int synth);
Demu10k1.h1508 synth: 1, member
1746 void *synth; member
/linux-4.4.14/sound/isa/wavefront/
Dwavefront.c135 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
136 if (acard->synth == NULL) in snd_wavefront_pnp()
169 pdev = acard->synth; in snd_wavefront_pnp()
/linux-4.4.14/arch/xtensa/boot/dts/
Dxtfpga.dtsi93 cdce706: clock-synth@69 {
/linux-4.4.14/Documentation/sound/alsa/
DCMIPCI.txt221 OPL3 synth below).
222 What's said as MIDI synth on Windows is a software synthesizer
236 CMI8768 and newer chips do not have the FM synth.
DALSA-Configuration.txt143 64:0 OPL2 FM synth OPL2 FM Port
/linux-4.4.14/sound/isa/
Dopl3sa2.c131 struct snd_hwdep *synth; member
313 snd_opl3_interrupt(chip->synth); in snd_opl3sa2_interrupt()
705 if ((err = snd_opl3_hwdep_new(opl3, 0, 1, &chip->synth)) < 0) in snd_opl3sa2_probe()
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci.h248 synth: 1, member
Dymfpci_main.c242 voice->synth = 1; in voice_alloc()
293 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; in snd_ymfpci_voice_free()
/linux-4.4.14/sound/isa/opti9xx/
Dopti92x-ad1848.c824 struct snd_hwdep *synth; local
925 error = snd_opl3_hwdep_new(opl3, 0, 1, &synth);