Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/accessibility/speakup/
H A Dsynth.c22 struct spk_synth *synth; variable
54 static void _spk_do_catch_up(struct spk_synth *synth, int unicode) in _spk_do_catch_up() argument
81 synth->flush(synth); in _spk_do_catch_up()
95 ch = synth->procspeech; in _spk_do_catch_up()
97 ret = synth->io_ops->synth_out_unicode(synth, ch); in _spk_do_catch_up()
99 ret = synth->io_ops->synth_out(synth, ch); in _spk_do_catch_up()
110 if (synth->io_ops->synth_out(synth, synth->procspeech)) in _spk_do_catch_up()
123 synth->io_ops->synth_out(synth, synth->procspeech); in _spk_do_catch_up()
126 void spk_do_catch_up(struct spk_synth *synth) in spk_do_catch_up() argument
128 _spk_do_catch_up(synth, 0); in spk_do_catch_up()
[all …]
H A Dspeakup_audptr.c19 static int synth_probe(struct spk_synth *synth);
20 static void synth_flush(struct spk_synth *synth);
120 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
122 synth->io_ops->flush_buffer(); in synth_flush()
123 synth->io_ops->send_xchar(SYNTH_CLEAR); in synth_flush()
124 synth->io_ops->synth_out(synth, PROCSPEECH); in synth_flush()
127 static void synth_version(struct spk_synth *synth) in synth_version() argument
132 synth->synth_immediate(synth, "\x05[Q]"); in synth_version()
133 synth_id[test] = synth->io_ops->synth_in(); in synth_version()
137 synth_id[++test] = synth->io_ops->synth_in(); in synth_version()
[all …]
H A Dspeakup_dectlk.c32 static void do_catch_up(struct spk_synth *synth);
33 static void synth_flush(struct spk_synth *synth);
35 static unsigned char get_index(struct spk_synth *synth);
161 static unsigned char get_index(struct spk_synth *synth) in get_index() argument
197 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
235 synth->flush(synth); in do_catch_up()
250 if (synth_full_val || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
264 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
267 synth->io_ops->synth_out(synth, in do_catch_up()
283 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
[all …]
H A Dspeakup_decext.c36 static void do_catch_up(struct spk_synth *synth);
37 static void synth_flush(struct spk_synth *synth);
144 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
168 synth->flush(synth); in do_catch_up()
182 if (synth_full() || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
196 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
199 synth->io_ops->synth_out(synth, in do_catch_up()
215 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
218 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
221 synth->io_ops->flush_buffer(); in synth_flush()
[all …]
H A Dspk_priv.h52 int spk_serial_synth_probe(struct spk_synth *synth);
53 int spk_ttyio_synth_probe(struct spk_synth *synth);
54 const char *spk_serial_synth_immediate(struct spk_synth *synth,
56 const char *spk_ttyio_synth_immediate(struct spk_synth *synth,
58 void spk_do_catch_up(struct spk_synth *synth);
59 void spk_do_catch_up_unicode(struct spk_synth *synth);
60 void spk_synth_flush(struct spk_synth *synth);
61 unsigned char spk_synth_get_index(struct spk_synth *synth);
62 int spk_synth_is_alive_nop(struct spk_synth *synth);
63 int spk_synth_is_alive_restart(struct spk_synth *synth);
H A Dserialio.c122 synth->read_buff_add((u_char)c); in synth_readbuf_handler()
132 if (!synth->read_buff_add) in start_serial_interrupt()
172 int spk_serial_synth_probe(struct spk_synth *synth) in spk_serial_synth_probe() argument
177 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { in spk_serial_synth_probe()
178 ser = spk_serial_init(synth->ser); in spk_serial_synth_probe()
188 pr_warn("ttyS%i is an invalid port\n", synth->ser); in spk_serial_synth_probe()
191 pr_info("%s: not found\n", synth->long_name); in spk_serial_synth_probe()
195 synth->long_name, synth->ser, synth->version); in spk_serial_synth_probe()
196 synth->alive = 1; in spk_serial_synth_probe()
206 if (!synth->read_buff_add) in spk_stop_serial_interrupt()
[all …]
H A Dthread.c34 (synth && synth->catch_up && synth->alive && in speakup_thread()
50 if (synth && synth->catch_up && synth->alive) { in speakup_thread()
55 synth->catch_up(synth); in speakup_thread()
H A Dspeakup_keypc.c26 static int synth_probe(struct spk_synth *synth);
28 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
29 static void do_catch_up(struct spk_synth *synth);
30 static void synth_flush(struct spk_synth *synth);
143 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
164 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
190 synth->flush(synth); in do_catch_up()
249 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
254 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
259 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
H A Dspeakup_acntpc.c27 static int synth_probe(struct spk_synth *synth);
29 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
30 static void do_catch_up(struct spk_synth *synth);
31 static void synth_flush(struct spk_synth *synth);
140 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
162 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
189 synth->flush(synth); in do_catch_up()
242 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
247 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
252 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
H A Dspeakup_apollo.c25 static void do_catch_up(struct spk_synth *synth);
125 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
153 synth->flush(synth); in do_catch_up()
165 if (!synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
166 synth->io_ops->tiocmset(0, UART_MCR_RTS); in do_catch_up()
167 synth->io_ops->tiocmset(UART_MCR_RTS, 0); in do_catch_up()
177 if (synth->io_ops->synth_out(synth, synth->procspeech)) in do_catch_up()
190 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
H A Dspk_ttyio.c36 static int get_dev_to_use(struct spk_synth *synth, dev_t *dev_no) in get_dev_to_use() argument
39 if (strcmp(synth->dev_name, SYNTH_DEFAULT_DEV) || in get_dev_to_use()
40 synth->ser == SYNTH_DEFAULT_SER) in get_dev_to_use()
41 return tty_dev_name_to_number(synth->dev_name, dev_no); in get_dev_to_use()
43 return ser_to_dev(synth->ser, dev_no); in get_dev_to_use()
144 static int spk_ttyio_initialise_ldisc(struct spk_synth *synth) in spk_ttyio_initialise_ldisc() argument
151 ret = get_dev_to_use(synth, &dev); in spk_ttyio_initialise_ldisc()
368 int spk_ttyio_synth_probe(struct spk_synth *synth) in spk_ttyio_synth_probe() argument
370 int rv = spk_ttyio_initialise_ldisc(synth); in spk_ttyio_synth_probe()
375 synth->alive = 1; in spk_ttyio_synth_probe()
[all …]
H A Dspeakup_dtlk.c26 static int synth_probe(struct spk_synth *synth);
28 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
29 static void do_catch_up(struct spk_synth *synth);
30 static void synth_flush(struct spk_synth *synth);
181 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
202 synth->flush(synth); in do_catch_up()
237 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
252 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
273 static struct synth_settings *synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
280 synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
[all …]
H A Dspeakup_ltlk.c19 static int synth_probe(struct spk_synth *synth);
128 static void synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
133 synth->synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
135 buf[i] = synth->io_ops->synth_in(); in synth_interrogate()
146 pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); in synth_interrogate()
149 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
153 failed = spk_ttyio_synth_probe(synth); in synth_probe()
155 synth_interrogate(synth); in synth_probe()
156 synth->alive = !failed; in synth_probe()
H A Dspeakup_decpc.c127 static int synth_probe(struct spk_synth *synth);
129 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
130 static void do_catch_up(struct spk_synth *synth);
131 static void synth_flush(struct spk_synth *synth);
298 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
363 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
386 synth->flush(synth); in do_catch_up()
436 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
450 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
454 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
H A Dspk_types.h158 int (*synth_out)(struct spk_synth *synth, const char ch);
159 int (*synth_out_unicode)(struct spk_synth *synth, u16 ch);
165 int (*wait_for_xmitr)(struct spk_synth *synth);
190 int (*probe)(struct spk_synth *synth);
192 const char *(*synth_immediate)(struct spk_synth *synth,
194 void (*catch_up)(struct spk_synth *synth);
195 void (*flush)(struct spk_synth *synth);
196 int (*is_alive)(struct spk_synth *synth);
199 unsigned char (*get_index)(struct spk_synth *synth);
H A Dspeakup_acntsa.c20 static int synth_probe(struct spk_synth *synth);
116 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
120 failed = spk_ttyio_synth_probe(synth); in synth_probe()
122 synth->synth_immediate(synth, "\033=R\r"); in synth_probe()
125 synth->alive = !failed; in synth_probe()
/OK3568_Linux_fs/buildroot/dl/sox/git/scripts/
H A Dtestcd.sh95 $SOX $SOXOPT $NAME synth $LEN sine $f $FADE $VOL
113 $SOX $SOXOPT $NAME synth $LEN sine $MARKFREQ synth square amod 0.1 0 97 94 vol -3 db synth $LEN sin…
118 $SOX $SOXOPT $NAME synth $LEN sine $MARKFREQ synth square amod 0.1 0 97 94 vol -3 db synth $LEN sin…
125 $SOX $SOXOPT $NAME synth $LEN sine $f $FADE $VOL
136 $SOX $SOXOPT $NAME synth $LEN sine $FREQ1 synth sine mix $FREQ2 $FADE $VOL
140 $SOX $SOXOPT $NAME synth $LEN sine $FREQ1 synth sine mix $FREQ2 $FADE $VOL
147 $SOX $SOXOPT $NAME synth $LEN whitenoise $FADE $VOL
149 $SOX $SOXOPT $NAME synth $LEN pinknoise $FADE $VOL
151 $SOX $SOXOPT $NAME synth $LEN brownnoise $FADE $VOL
162 $SOX $SOXOPT $NAME synth $LEN square $f vol -12 db $FADE
[all …]
H A Dtesttones.sh114 $input $output synth $length whitenoise $fade $gain
116 $input $output synth $length pinknoise $fade $gain
118 $input $output synth $length brownnoise $fade $gain
132 $input $output synth -j 0 sine %$note $fade $gain
143 $input $output synth sine $freq $fade $gain
152 $input $output synth $length sine $freq 0 25 $fade $gain
163 $input $output synth sine %30 \
164 synth sine amod 8.333333333333333333 0 $phase1 \
165 synth squa amod 0.08333333333333333333 0 $phase2 1 gain -9 \
166 synth $length sine mix $freq gain -h 3 $gain
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/ti/
H A Dfapll.c284 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_enable() local
285 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable()
287 v &= ~(1 << synth->index); in ti_fapll_synth_enable()
288 writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable()
295 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_disable() local
296 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_disable()
298 v |= 1 << synth->index; in ti_fapll_synth_disable()
299 writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_disable()
304 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_is_enabled() local
305 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_is_enabled()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/
H A D0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch20 src/synth/fluid_synth.c | 69 ++++++++++++++++++++++++++++-------------
23 diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c
25 --- a/src/synth/fluid_synth.c
26 +++ b/src/synth/fluid_synth.c
27 @@ -3628,10 +3628,10 @@ fluid_synth_program_reset(fluid_synth_t *synth)
29 * @param synth FluidSynth instance
31 - * @param left Array of float buffers to store left channel of planar audio (as many as \c synth.a…
33 …NULL, array of float buffers to store left effect channels (as many as \c synth.effects-channels b…
35 + * @param left Array of float buffers to store left channel of planar audio (as many as \c synth.a…
37 …NULL, array of float buffers to store left effect channels (as many as \c synth.effects-channels b…
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-si5341.c71 struct clk_si5341_synth synth[SI5341_NUM_SYNTH]; member
555 struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); in si5341_synth_clk_is_on() local
558 u8 index = synth->index; in si5341_synth_clk_is_on()
560 err = regmap_read(synth->data->regmap, in si5341_synth_clk_is_on()
568 err = regmap_read(synth->data->regmap, SI5341_SYNTH_N_PDNB, &val); in si5341_synth_clk_is_on()
576 err = regmap_read(synth->data->regmap, SI5341_SYNTH_N_CLK_DIS, &val); in si5341_synth_clk_is_on()
585 struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); in si5341_synth_clk_unprepare() local
586 u8 index = synth->index; /* In range 0..5 */ in si5341_synth_clk_unprepare()
590 regmap_update_bits(synth->data->regmap, in si5341_synth_clk_unprepare()
593 regmap_update_bits(synth->data->regmap, in si5341_synth_clk_unprepare()
[all …]
/OK3568_Linux_fs/kernel/sound/synth/emux/
H A DMakefile7 snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \
9 snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o
11 snd-emux-synth-y += emux_oss.o
14 obj-$(CONFIG_SND_SYNTH_EMUX) += snd-emux-synth.o
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Dtimer.c30 u32 synth; in timer_init() local
35 synth = MISC_GPT4SYNTH; in timer_init()
38 synth = MISC_GPT3SYNTH; in timer_init()
43 writel(readl(&misc_regs_p->periph_clk_cfg) | synth, in timer_init()
/OK3568_Linux_fs/kernel/drivers/clk/spear/
H A DMakefile6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
/OK3568_Linux_fs/kernel/sound/drivers/opl3/
H A DMakefile8 snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o
10 snd-opl3-synth-y += opl3_oss.o
15 obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o

1234