Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/speakup/
Dspk_ttyio.c112 static int spk_ttyio_out(struct spk_synth *in_synth, const char ch);
113 static int spk_ttyio_out_unicode(struct spk_synth *in_synth, u16 ch);
199 static int spk_ttyio_out(struct spk_synth *in_synth, const char ch) in spk_ttyio_out() argument
202 if (in_synth->alive && speakup_tty && speakup_tty->ops->write) { in spk_ttyio_out()
210 pr_warn("%s: I/O error, deactivating speakup\n", in_synth->long_name); in spk_ttyio_out()
215 in_synth->alive = 0; in spk_ttyio_out()
226 static int spk_ttyio_out_unicode(struct spk_synth *in_synth, u16 ch) in spk_ttyio_out_unicode() argument
231 ret = spk_ttyio_out(in_synth, ch); in spk_ttyio_out_unicode()
233 ret = spk_ttyio_out(in_synth, 0xc0 | (ch >> 6)); in spk_ttyio_out_unicode()
234 ret &= spk_ttyio_out(in_synth, 0x80 | (ch & 0x3f)); in spk_ttyio_out_unicode()
[all …]
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 …]
Dserialio.c29 static int spk_serial_out(struct spk_synth *in_synth, const char ch);
214 int spk_wait_for_xmitr(struct spk_synth *in_synth) in spk_wait_for_xmitr() argument
218 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_wait_for_xmitr()
220 in_synth->long_name); in spk_wait_for_xmitr()
221 in_synth->alive = 0; in spk_wait_for_xmitr()
233 in_synth->long_name); in spk_wait_for_xmitr()
281 static int spk_serial_out(struct spk_synth *in_synth, const char ch) in spk_serial_out() argument
283 if (in_synth->alive && spk_wait_for_xmitr(in_synth)) { in spk_serial_out()
Dspk_priv.h39 int spk_wait_for_xmitr(struct spk_synth *in_synth);
73 int synth_add(struct spk_synth *in_synth);
74 void synth_remove(struct spk_synth *in_synth);