Lines Matching refs:synth
36 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()
376 spk_ttyio_synth = synth; in spk_ttyio_synth_probe()
398 const char *spk_ttyio_synth_immediate(struct spk_synth *synth, const char *buff) in spk_ttyio_synth_immediate() argument
404 ch = synth->procspeech; in spk_ttyio_synth_immediate()
406 !synth->io_ops->synth_out(synth, ch)) in spk_ttyio_synth_immediate()