Home
last modified time | relevance | path

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

12

/drivers/accessibility/speakup/
A Dsynth.c81 synth->flush(synth); 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()
140 synth->io_ops->flush_buffer(synth); in spk_synth_flush()
141 synth->io_ops->synth_out(synth, synth->clear); in spk_synth_flush()
147 return synth->io_ops->synth_in_nowait(synth); in spk_synth_get_index()
360 synth->get_index(synth); in spk_reset_index_count()
393 int ind = synth->get_index(synth); in spk_get_index_count()
483 if (synth->probe(synth) < 0) { in do_synth_init()
[all …]
A Dspeakup_audptr.c19 static int synth_probe(struct spk_synth *synth);
20 static void synth_flush(struct spk_synth *synth);
131 synth->io_ops->flush_buffer(synth); in synth_flush()
132 synth->io_ops->send_xchar(synth, SYNTH_CLEAR); in synth_flush()
133 synth->io_ops->synth_out(synth, PROCSPEECH); in synth_flush()
141 synth->synth_immediate(synth, "\x05[Q]"); in synth_version()
142 synth_id[0] = synth->io_ops->synth_in(synth); in synth_version()
148 synth_id[i] = synth->io_ops->synth_in(synth); in synth_version()
160 failed = spk_ttyio_synth_probe(synth); in synth_probe()
162 synth_version(synth); in synth_probe()
[all …]
A Dspk_priv.h37 void spk_serial_release(struct spk_synth *synth);
38 void spk_ttyio_release(struct spk_synth *synth);
52 int spk_serial_synth_probe(struct spk_synth *synth);
53 int spk_ttyio_synth_probe(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);
[all …]
A Dspk_types.h160 void (*send_xchar)(struct spk_synth *synth, char ch);
162 unsigned char (*synth_in)(struct spk_synth *synth);
164 void (*flush_buffer)(struct spk_synth *synth);
165 int (*wait_for_xmitr)(struct spk_synth *synth);
191 int (*probe)(struct spk_synth *synth);
192 void (*release)(struct spk_synth *synth);
193 const char *(*synth_immediate)(struct spk_synth *synth,
195 void (*catch_up)(struct spk_synth *synth);
196 void (*flush)(struct spk_synth *synth);
197 int (*is_alive)(struct spk_synth *synth);
[all …]
A Dspeakup_dectlk.c32 static void do_catch_up(struct spk_synth *synth);
33 static void synth_flush(struct spk_synth *synth);
209 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
252 synth->flush(synth); in do_catch_up()
267 if (synth_full_val || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
281 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
284 synth->io_ops->synth_out(synth, in do_catch_up()
300 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
307 synth->io_ops->synth_out(synth, ']'); in synth_flush()
310 synth->io_ops->flush_buffer(synth); in synth_flush()
[all …]
A Dserialio.c122 synth->read_buff_add((u_char)c); in synth_readbuf_handler()
132 if (!synth->read_buff_add) in start_serial_interrupt()
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()
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()
299 ch = synth->procspeech; in spk_serial_synth_immediate()
300 if (spk_serial_wait_for_xmitr(synth)) in spk_serial_synth_immediate()
[all …]
A Dspeakup_decext.c36 static void do_catch_up(struct spk_synth *synth);
37 static void synth_flush(struct spk_synth *synth);
153 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
177 synth->flush(synth); in do_catch_up()
191 if (synth_full() || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
205 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
208 synth->io_ops->synth_out(synth, in do_catch_up()
224 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
227 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
230 synth->io_ops->flush_buffer(synth); in synth_flush()
[all …]
A Dspk_ttyio.c15 struct spk_synth *synth; member
41 synth->ser == SYNTH_DEFAULT_SER) in get_dev_to_use()
44 return ser_to_dev(synth->ser, dev_no); in get_dev_to_use()
78 struct spk_synth *synth = ldisc_data->synth; in spk_ttyio_receive_buf2() local
80 if (synth->read_buff_add) { in spk_ttyio_receive_buf2()
84 synth->read_buff_add(cp[i]); in spk_ttyio_receive_buf2()
150 ret = get_dev_to_use(synth, &dev); in spk_ttyio_initialise_ldisc()
196 ldisc_data->synth = synth; in spk_ttyio_initialise_ldisc()
197 synth->dev = tty; in spk_ttyio_initialise_ldisc()
341 int rv = spk_ttyio_initialise_ldisc(synth); in spk_ttyio_synth_probe()
[all …]
A Dspeakup_keypc.c26 static int synth_probe(struct spk_synth *synth);
27 static void keynote_release(struct spk_synth *synth);
29 static void do_catch_up(struct spk_synth *synth);
30 static void synth_flush(struct spk_synth *synth);
173 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
199 synth->flush(synth); in do_catch_up()
258 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
263 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
295 pr_info("%s: not found\n", synth->long_name); in synth_probe()
302 synth->version); in synth_probe()
[all …]
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()
A Dspeakup_acntpc.c27 static int synth_probe(struct spk_synth *synth);
28 static void accent_release(struct spk_synth *synth);
30 static void do_catch_up(struct spk_synth *synth);
31 static void synth_flush(struct spk_synth *synth);
171 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
198 synth->flush(synth); in do_catch_up()
251 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
256 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
294 pr_info("%s: not found\n", synth->long_name); in synth_probe()
301 synth->version); in synth_probe()
[all …]
A Dspeakup_apollo.c25 static void do_catch_up(struct spk_synth *synth);
138 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
166 synth->flush(synth); in do_catch_up()
178 if (!synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
179 synth->io_ops->tiocmset(synth, 0, UART_MCR_RTS); in do_catch_up()
180 synth->io_ops->tiocmset(synth, UART_MCR_RTS, 0); in do_catch_up()
190 if (synth->io_ops->synth_out(synth, synth->procspeech)) in do_catch_up()
203 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
A Dspeakup_dtlk.c26 static int synth_probe(struct spk_synth *synth);
27 static void dtlk_release(struct spk_synth *synth);
29 static void do_catch_up(struct spk_synth *synth);
30 static void synth_flush(struct spk_synth *synth);
191 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
212 synth->flush(synth); in do_catch_up()
262 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
290 synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
326 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
370 sp = synth_interrogate(synth); in synth_probe()
[all …]
A Dspeakup_decpc.c127 static int synth_probe(struct spk_synth *synth);
130 static void do_catch_up(struct spk_synth *synth);
131 static void synth_flush(struct spk_synth *synth);
309 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
374 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
397 synth->flush(synth); in do_catch_up()
461 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
465 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
478 pr_info("%s: not found\n", synth->long_name); in synth_probe()
483 synth->version); in synth_probe()
[all …]
A Dspeakup_ltlk.c19 static int synth_probe(struct spk_synth *synth);
139 static void synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
144 synth->synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
146 buf[i] = synth->io_ops->synth_in(synth); in synth_interrogate()
157 pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); in synth_interrogate()
160 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
164 failed = spk_ttyio_synth_probe(synth); in synth_probe()
166 synth_interrogate(synth); in synth_probe()
167 synth->alive = !failed; in synth_probe()
A Dspeakup_acntsa.c20 static int synth_probe(struct spk_synth *synth);
126 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
130 failed = spk_ttyio_synth_probe(synth); in synth_probe()
132 synth->synth_immediate(synth, "\033=R\r"); in synth_probe()
135 synth->alive = !failed; in synth_probe()
A Dspeakup_spkout.c19 static void synth_flush(struct spk_synth *synth);
129 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
131 synth->io_ops->flush_buffer(synth); in synth_flush()
132 synth->io_ops->send_xchar(synth, SYNTH_CLEAR); in synth_flush()
A Dspeakup_soft.c26 static int softsynth_probe(struct spk_synth *synth);
27 static void softsynth_release(struct spk_synth *synth);
28 static int softsynth_is_alive(struct spk_synth *synth);
29 static int softsynth_adjust(struct spk_synth *synth, struct st_var_header *var);
30 static unsigned char get_index(struct spk_synth *synth);
367 static unsigned char get_index(struct spk_synth *synth) in get_index() argument
394 static int softsynth_probe(struct spk_synth *synth) in softsynth_probe() argument
425 static void softsynth_release(struct spk_synth *synth) in softsynth_release() argument
434 static int softsynth_is_alive(struct spk_synth *synth) in softsynth_is_alive() argument
441 static int softsynth_adjust(struct spk_synth *synth, struct st_var_header *var) in softsynth_adjust() argument
A Dkobjects.c376 if (!synth) in synth_show()
379 rv = sprintf(buf, "%s\n", synth->name); in synth_show()
400 if (synth && !strcmp(new_synth_name, synth->name)) { in synth_store()
419 if (!synth) in synth_direct_store()
447 if (synth) in version_show()
449 synth->name, synth->version); in version_show()
604 if (synth && synth_default_value) { in spk_reset_default_value()
664 if (param->var_id == VOICE && synth && in spk_var_store()
668 spk_reset_default_value("pitch", synth->default_pitch, in spk_var_store()
670 spk_reset_default_value("vol", synth->default_vol, in spk_var_store()
[all …]
/drivers/clk/ti/
A Dfapll.c314 if (!synth->div) in ti_fapll_synth_recalc_rate()
332 if (synth->freq) { in ti_fapll_synth_recalc_rate()
413 if (!synth->freq) { in ti_fapll_synth_round_rate()
450 if (!synth->freq) in ti_fapll_synth_set_rate()
505 synth = kzalloc(sizeof(*synth), GFP_KERNEL); in ti_fapll_synth_setup()
506 if (!synth) in ti_fapll_synth_setup()
509 synth->fd = fd; in ti_fapll_synth_setup()
511 synth->freq = freq; in ti_fapll_synth_setup()
512 synth->div = div; in ti_fapll_synth_setup()
513 synth->name = name; in ti_fapll_synth_setup()
[all …]
/drivers/dpll/zl3073x/
A Dcore.h49 u8 synth; member
224 return zldev->synth[index].dpll; in zl3073x_synth_dpll_get()
237 return zldev->synth[index].freq; in zl3073x_synth_freq_get()
250 return zldev->synth[index].enabled; in zl3073x_synth_is_enabled()
263 return zldev->out[index].synth; in zl3073x_out_synth_get()
276 u8 synth; in zl3073x_out_is_enabled() local
279 synth = zl3073x_out_synth_get(zldev, index); in zl3073x_out_is_enabled()
280 if (zl3073x_synth_is_enabled(zldev, synth)) in zl3073x_out_is_enabled()
309 u8 synth; in zl3073x_out_dpll_get() local
312 synth = zl3073x_out_synth_get(zldev, index); in zl3073x_out_dpll_get()
[all …]
A Dcore.c526 out->synth = FIELD_GET(ZL_OUTPUT_CTRL_SYNTH_SEL, output_ctrl); in zl3073x_out_state_fetch()
529 str_enabled_disabled(out->enabled), out->synth); in zl3073x_out_state_fetch()
567 struct zl3073x_synth *synth = &zldev->synth[index]; in zl3073x_synth_state_fetch() local
581 synth->enabled = FIELD_GET(ZL_SYNTH_CTRL_EN, synth_ctrl); in zl3073x_synth_state_fetch()
582 synth->dpll = FIELD_GET(ZL_SYNTH_CTRL_DPLL_SEL, synth_ctrl); in zl3073x_synth_state_fetch()
585 str_enabled_disabled(synth->enabled), synth->dpll); in zl3073x_synth_state_fetch()
625 zldev->synth[index].freq = div_u64(mul_u32_u32(base * m, mult), n); in zl3073x_synth_state_fetch()
628 zldev->synth[index].freq); in zl3073x_synth_state_fetch()
A Ddpll.c956 u8 clock_type, synth; in zl3073x_dpll_output_pin_esync_get() local
1002 synth = zl3073x_out_synth_get(zldev, out); in zl3073x_dpll_output_pin_esync_get()
1069 u8 clock_type, out, output_mode, synth; in zl3073x_dpll_output_pin_esync_set() local
1118 synth = zl3073x_out_synth_get(zldev, out); in zl3073x_dpll_output_pin_esync_set()
1168 u8 out, signal_format, synth; in zl3073x_dpll_output_pin_frequency_get() local
1173 synth = zl3073x_out_synth_get(zldev, out); in zl3073x_dpll_output_pin_frequency_get()
1258 u8 out, signal_format, synth; in zl3073x_dpll_output_pin_frequency_set() local
1264 synth = zl3073x_out_synth_get(zldev, out); in zl3073x_dpll_output_pin_frequency_set()
1393 u8 out, synth; in zl3073x_dpll_output_pin_phase_adjust_get() local
1397 synth = zl3073x_out_synth_get(zldev, out); in zl3073x_dpll_output_pin_phase_adjust_get()
[all …]
/drivers/clk/
A Dclk-si5341.c568 u8 index = synth->index; in si5341_synth_clk_is_on()
614 u8 index = synth->index; in si5341_synth_clk_prepare()
656 f = synth->data->freq_vco; in si5341_synth_clk_recalc_rate()
673 f = synth->data->freq_vco; in si5341_synth_clk_round_rate()
678 f = synth->data->freq_vco; in si5341_synth_clk_round_rate()
690 u8 index = synth->index; in si5341_synth_program()
715 n_num = synth->data->freq_vco; in si5341_synth_clk_set_rate()
733 synth->index, n_num, n_den, in si5341_synth_clk_set_rate()
980 return &data->synth[idx].hw; in of_clk_si5341_get()
1706 data->synth[i].index = i; in si5341_probe()
[all …]
/drivers/clk/spear/
A DMakefile6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o

Completed in 55 milliseconds

12