Home
last modified time | relevance | path

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

12

/drivers/staging/speakup/
Dsynth.c22 struct spk_synth *synth; variable
47 int spk_serial_synth_probe(struct spk_synth *synth) in spk_serial_synth_probe() argument
52 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { in spk_serial_synth_probe()
53 ser = spk_serial_init(synth->ser); in spk_serial_synth_probe()
63 pr_warn("ttyS%i is an invalid port\n", synth->ser); in spk_serial_synth_probe()
66 pr_info("%s: not found\n", synth->long_name); in spk_serial_synth_probe()
70 synth->long_name, synth->ser, synth->version); in spk_serial_synth_probe()
71 synth->alive = 1; in spk_serial_synth_probe()
82 void spk_do_catch_up(struct spk_synth *synth) in spk_do_catch_up() argument
108 synth->flush(synth); in spk_do_catch_up()
[all …]
Dthread.c33 (synth && synth->catch_up && synth->alive && in speakup_thread()
49 if (synth && synth->catch_up && synth->alive) { in speakup_thread()
52 synth->catch_up(synth); in speakup_thread()
Dspeakup_keypc.c39 static int synth_probe(struct spk_synth *synth);
41 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
42 static void do_catch_up(struct spk_synth *synth);
43 static void synth_flush(struct spk_synth *synth);
155 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
176 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
202 synth->flush(synth); in do_catch_up()
260 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
265 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
270 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
Dspeakup_acntpc.c40 static int synth_probe(struct spk_synth *synth);
42 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
43 static void do_catch_up(struct spk_synth *synth);
44 static void synth_flush(struct spk_synth *synth);
152 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
174 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
201 synth->flush(synth); in do_catch_up()
253 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
258 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
263 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
Dspeakup_audptr.c33 static int synth_probe(struct spk_synth *synth);
34 static void synth_flush(struct spk_synth *synth);
132 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
145 static void synth_version(struct spk_synth *synth) in synth_version() argument
150 spk_synth_immediate(synth, "\x05[Q]"); in synth_version()
160 pr_info("%s version: %s", synth->long_name, synth_id); in synth_version()
163 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
167 failed = spk_serial_synth_probe(synth); in synth_probe()
169 synth_version(synth); in synth_probe()
170 synth->alive = !failed; in synth_probe()
Dspeakup_dtlk.c39 static int synth_probe(struct spk_synth *synth);
41 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
42 static void do_catch_up(struct spk_synth *synth);
43 static void synth_flush(struct spk_synth *synth);
192 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
213 synth->flush(synth); in do_catch_up()
247 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
262 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
283 static struct synth_settings *synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
290 synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
[all …]
Dspk_priv.h64 extern int spk_serial_synth_probe(struct spk_synth *synth);
65 extern const char *spk_synth_immediate(struct spk_synth *synth, const char *buff);
66 extern void spk_do_catch_up(struct spk_synth *synth);
67 extern void spk_synth_flush(struct spk_synth *synth);
68 extern int spk_synth_is_alive_nop(struct spk_synth *synth);
69 extern int spk_synth_is_alive_restart(struct spk_synth *synth);
Dspeakup_decpc.c141 static int synth_probe(struct spk_synth *synth);
143 static const char *synth_immediate(struct spk_synth *synth, const char *buf);
144 static void do_catch_up(struct spk_synth *synth);
145 static void synth_flush(struct spk_synth *synth);
307 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
372 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
395 synth->flush(synth); in do_catch_up()
442 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument
456 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
460 pr_info("Probing for %s.\n", synth->long_name); in synth_probe()
[all …]
Dserialio.c102 synth->read_buff_add((u_char) c); in synth_readbuf_handler()
114 if (synth->read_buff_add == NULL) in start_serial_interrupt()
140 if (synth->read_buff_add == NULL) in spk_stop_serial_interrupt()
153 if ((synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_wait_for_xmitr()
155 synth->long_name); in spk_wait_for_xmitr()
156 synth->alive = 0; in spk_wait_for_xmitr()
166 pr_warn("%s: timed out (tx busy)\n", synth->long_name); in spk_wait_for_xmitr()
215 if (synth->alive && spk_wait_for_xmitr()) { in spk_serial_out()
Dspeakup_ltlk.c33 static int synth_probe(struct spk_synth *synth);
140 static void synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument
145 spk_synth_immediate(synth, "\x18\x01?"); in synth_interrogate()
158 pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); in synth_interrogate()
161 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
165 failed = spk_serial_synth_probe(synth); in synth_probe()
167 synth_interrogate(synth); in synth_probe()
168 synth->alive = !failed; in synth_probe()
Dspeakup_decext.c53 static void do_catch_up(struct spk_synth *synth);
54 static void synth_flush(struct spk_synth *synth);
155 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
179 synth->flush(synth); in do_catch_up()
225 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
228 spk_synth_immediate(synth, "\033P;10z\033\\"); in synth_flush()
Dspeakup_acntsa.c33 static int synth_probe(struct spk_synth *synth);
127 static int synth_probe(struct spk_synth *synth) in synth_probe() argument
131 failed = spk_serial_synth_probe(synth); in synth_probe()
133 spk_synth_immediate(synth, "\033=R\r"); in synth_probe()
136 synth->alive = !failed; in synth_probe()
Dspk_types.h168 int (*probe)(struct spk_synth *synth);
170 const char *(*synth_immediate)(struct spk_synth *synth, const char *buff);
171 void (*catch_up)(struct spk_synth *synth);
172 void (*flush)(struct spk_synth *synth);
173 int (*is_alive)(struct spk_synth *synth);
Dspeakup_dectlk.c46 static void do_catch_up(struct spk_synth *synth);
47 static void synth_flush(struct spk_synth *synth);
205 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
243 synth->flush(synth); in do_catch_up()
292 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
Dspeakup_apollo.c38 static void do_catch_up(struct spk_synth *synth);
136 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument
164 synth->flush(synth); in do_catch_up()
188 if (spk_serial_out(synth->procspeech)) in do_catch_up()
Dkobjects.c370 if (synth == NULL) in synth_show()
373 rv = sprintf(buf, "%s\n", synth->name); in synth_show()
394 if ((synth != NULL) && (!strcmp(new_synth_name, synth->name))) { in synth_store()
414 if (!synth) in synth_direct_store()
440 if (synth) in version_show()
442 synth->name, synth->version); in version_show()
597 if (synth && synth_default_value) { in spk_reset_default_value()
657 if (param->var_id == VOICE && synth && in spk_var_store()
661 spk_reset_default_value("pitch", synth->default_pitch, in spk_var_store()
663 spk_reset_default_value("vol", synth->default_vol, in spk_var_store()
[all …]
Ddevsynth.c25 if (synth == NULL) in speakup_file_write()
48 if (synth == NULL) in speakup_file_open()
Dspeakup_soft.c37 static int softsynth_probe(struct spk_synth *synth);
39 static int softsynth_is_alive(struct spk_synth *synth);
316 static int softsynth_probe(struct spk_synth *synth) in softsynth_probe() argument
342 static int softsynth_is_alive(struct spk_synth *synth) in softsynth_is_alive() argument
Dspeakup_spkout.c33 static void synth_flush(struct spk_synth *synth);
131 static void synth_flush(struct spk_synth *synth) in synth_flush() argument
Dmain.c65 module_param_named(synth, synth_name, charp, S_IRUGO);
68 MODULE_PARM_DESC(synth, "Synth to start if speakup is built in.");
303 if (synth != NULL) in speakup_shut_up()
309 char val = synth->is_alive(synth); in speech_kill()
1151 if (synth == NULL || up_flag || spk_killed) in do_handle_shift()
1188 if (synth == NULL || spk_killed) { in do_handle_latin()
1366 if ((vc->vc_num != fg_console) || synth == NULL || spk_shut_up) in read_all_doc()
1480 if (synth == NULL || up_flag || spk_shut_up) { in pre_handle_cursor()
1502 if (synth == NULL || up_flag || spk_shut_up || cursor_track == CT_Off) { in do_handle_cursor()
1697 if (spk_shut_up || synth == NULL) { in speakup_bs()
[all …]
Dvarhandlers.c224 if (var->var_id < FIRST_SYNTH_VAR || synth == NULL) in spk_set_num_var()
226 if (synth->synth_adjust != NULL) { in spk_set_num_var()
227 int status = synth->synth_adjust(var); in spk_set_num_var()
DMakefile28 synth.o \
Dbuffers.c64 if (!synth->alive) { in synth_buffer_add()
/drivers/clk/spear/
DMakefile5 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
/drivers/net/wireless/p54/
Deeprom.c739 u16 synth = 0; in p54_parse_eeprom() local
812 synth = le16_to_cpu(exp_if->variant); in p54_parse_eeprom()
888 if (!synth || !priv->iq_autocal || !priv->output_limit || in p54_parse_eeprom()
896 priv->rxhw = synth & PDR_SYNTH_FRONTEND_MASK; in p54_parse_eeprom()
904 if (!(synth & PDR_SYNTH_24_GHZ_DISABLED)) in p54_parse_eeprom()
907 if (!(synth & PDR_SYNTH_5_GHZ_DISABLED)) in p54_parse_eeprom()
910 if ((synth & PDR_SYNTH_RX_DIV_MASK) == PDR_SYNTH_RX_DIV_SUPPORTED) in p54_parse_eeprom()
912 if ((synth & PDR_SYNTH_TX_DIV_MASK) == PDR_SYNTH_TX_DIV_SUPPORTED) in p54_parse_eeprom()

12