Home
last modified time | relevance | path

Searched refs:in_synth (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dspk_ttyio.c115 static int spk_ttyio_out(struct spk_synth *in_synth, const char ch);
116 static int spk_ttyio_out_unicode(struct spk_synth *in_synth, u16 ch);
122 static int spk_ttyio_wait_for_xmitr(struct spk_synth *in_synth);
222 static int spk_ttyio_out(struct spk_synth *in_synth, const char ch) in spk_ttyio_out() argument
225 if (in_synth->alive && speakup_tty && speakup_tty->ops->write) { in spk_ttyio_out()
234 in_synth->long_name); in spk_ttyio_out()
239 in_synth->alive = 0; in spk_ttyio_out()
250 static int spk_ttyio_out_unicode(struct spk_synth *in_synth, u16 ch) in spk_ttyio_out_unicode() argument
255 ret = spk_ttyio_out(in_synth, ch); in spk_ttyio_out_unicode()
257 ret = spk_ttyio_out(in_synth, 0xc0 | (ch >> 6)); in spk_ttyio_out_unicode()
[all …]
Dserialio.c29 static int spk_serial_out(struct spk_synth *in_synth, const char ch);
35 static int spk_serial_wait_for_xmitr(struct spk_synth *in_synth);
216 static int spk_serial_wait_for_xmitr(struct spk_synth *in_synth) in spk_serial_wait_for_xmitr() argument
220 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_serial_wait_for_xmitr()
222 in_synth->long_name); in spk_serial_wait_for_xmitr()
223 in_synth->alive = 0; in spk_serial_wait_for_xmitr()
235 in_synth->long_name); in spk_serial_wait_for_xmitr()
283 static int spk_serial_out(struct spk_synth *in_synth, const char ch) in spk_serial_out() argument
285 if (in_synth->alive && spk_serial_wait_for_xmitr(in_synth)) { in spk_serial_out()
Dsynth.c45 static int do_synth_init(struct spk_synth *in_synth);
388 static int do_synth_init(struct spk_synth *in_synth) in do_synth_init() argument
393 if (in_synth->checkval != SYNTH_CHECK) in do_synth_init()
395 synth = in_synth; in do_synth_init()
399 pr_warn("%s: device probe failed\n", in_synth->name); in do_synth_init()
448 int synth_add(struct spk_synth *in_synth) in synth_add() argument
456 if (tmp == in_synth) { in synth_add()
462 if (in_synth->startup) in synth_add()
463 status = do_synth_init(in_synth); in synth_add()
466 list_add_tail(&in_synth->node, &synths); in synth_add()
[all …]
Dspk_priv.h72 int synth_add(struct spk_synth *in_synth);
73 void synth_remove(struct spk_synth *in_synth);