Lines Matching refs:synth
36 static int get_dev_to_use(struct spk_synth *synth, dev_t *dev_no)
39 if (strcmp(synth->dev_name, SYNTH_DEFAULT_DEV) ||
40 synth->ser == SYNTH_DEFAULT_SER)
41 return tty_dev_name_to_number(synth->dev_name, dev_no);
43 return ser_to_dev(synth->ser, dev_no);
144 static int spk_ttyio_initialise_ldisc(struct spk_synth *synth)
151 ret = get_dev_to_use(synth, &dev);
235 /* No synth any more, so nobody will restart TTYs,
237 * is no synth we can let application flood anyway
272 /* No synth any more, so nobody will restart TTYs, and we thus
273 * need to do it ourselves. Now that there is no synth we can
368 int spk_ttyio_synth_probe(struct spk_synth *synth)
370 int rv = spk_ttyio_initialise_ldisc(synth);
375 synth->alive = 1;
376 spk_ttyio_synth = synth;
398 const char *spk_ttyio_synth_immediate(struct spk_synth *synth, const char *buff)
404 ch = synth->procspeech;
406 !synth->io_ops->synth_out(synth, ch))