/drivers/staging/speakup/ |
H A D | synth.c | 22 struct spk_synth *synth; variable in typeref:struct:spk_synth 34 * the synth buffer, so only needs to take the lock while tinkering with 47 int spk_serial_synth_probe(struct spk_synth *synth) argument 52 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { 53 ser = spk_serial_init(synth->ser); 63 pr_warn("ttyS%i is an invalid port\n", synth->ser); 66 pr_info("%s: not found\n", synth->long_name); 70 synth->long_name, synth 82 spk_do_catch_up(struct spk_synth *synth) argument 148 spk_synth_immediate(struct spk_synth *synth, const char *buff) argument 165 spk_synth_flush(struct spk_synth *synth) argument 171 spk_synth_is_alive_nop(struct spk_synth *synth) argument 178 spk_synth_is_alive_restart(struct spk_synth *synth) argument 351 struct spk_synth *synth = NULL; local [all...] |
H A D | thread.c | 33 (synth && synth->catch_up && synth->alive && 49 if (synth && synth->catch_up && synth->alive) { 52 synth->catch_up(synth);
|
H A D | spk_priv.h | 37 /* synth flags, for odd synths */ 64 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);
|
H A D | speakup_audptr.c | 30 #define SYNTH_CLEAR 0x18 /* flush synth buffer */ 31 #define PROCSPEECH '\r' /* start synth processing speech char */ 33 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) argument 145 static void synth_version(struct spk_synth *synth) argument 150 spk_synth_immediate(synth, "\x05[Q]"); 154 /* read version string from synth */ 160 pr_info("%s version: %s", synth->long_name, synth_id); 163 static int synth_probe(struct spk_synth *synth) argument [all...] |
H A D | serialio.c | 91 synth->read_buff_add((u_char) c); 103 if (synth->read_buff_add == NULL) 129 if (synth->read_buff_add == NULL) 142 if ((synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { 144 synth->long_name); 145 synth->alive = 0; 146 /* No synth any more, so nobody will restart TTYs, and we thus 147 * need to do it ourselves. Now that there is no synth we can 155 pr_warn("%s: timed out (tx busy)\n", synth->long_name); 166 * synth [all...] |
H A D | speakup_ltlk.c | 33 static int synth_probe(struct spk_synth *synth); 140 static void synth_interrogate(struct spk_synth *synth) argument 145 spk_synth_immediate(synth, "\x18\x01?"); 158 pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); 161 static int synth_probe(struct spk_synth *synth) argument 165 failed = spk_serial_synth_probe(synth); 167 synth_interrogate(synth); 168 synth->alive = !failed;
|
H A D | speakup_acntpc.c | 40 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) argument 174 static void do_catch_up(struct spk_synth *synth) argument 201 synth->flush(synth); 253 static void synth_flush(struct spk_synth *synth) argument 258 static int synth_probe(struct spk_synth *synth) argument [all...] |
H A D | speakup_keypc.c | 39 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); 151 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4); 155 static const char *synth_immediate(struct spk_synth *synth, const char *buf) argument 176 static void do_catch_up(struct spk_synth *synth) argument 202 synth->flush(synth); 260 static void synth_flush(struct spk_synth *synth) argument 265 synth_probe(struct spk_synth *synth) argument [all...] |
H A D | speakup_dtlk.c | 39 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) argument 213 synth->flush(synth); 247 static const char *synth_immediate(struct spk_synth *synth, const char *buf) argument 262 static void synth_flush(struct spk_synth *synth) argument 283 static struct synth_settings *synth_interrogate(struct spk_synth *synth) argument 326 synth_probe(struct spk_synth *synth) argument [all...] |
H A D | speakup_decpc.c | 141 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) argument 372 static void do_catch_up(struct spk_synth *synth) argument 395 synth->flush(synth); 442 static const char *synth_immediate(struct spk_synth *synth, const char *buf) argument 456 static int synth_probe(struct spk_synth *synth) argument [all...] |
H A D | devsynth.c | 25 if (synth == NULL) 48 if (synth == NULL) 70 .name = "synth", 80 pr_warn("Couldn't initialize miscdevice /dev/synth.\n"); 82 pr_info("initialized device: /dev/synth, node (MAJOR %d, MINOR %d)\n", 92 pr_info("speakup: unregistering synth device /dev/synth\n");
|
H A D | speakup_acntsa.c | 33 static int synth_probe(struct spk_synth *synth); 127 static int synth_probe(struct spk_synth *synth) argument 131 failed = spk_serial_synth_probe(synth); 133 spk_synth_immediate(synth, "\033=R\r"); 136 synth->alive = !failed;
|
H A D | speakup_decext.c | 53 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) argument 179 synth->flush(synth); 225 static void synth_flush(struct spk_synth *synth) argument 228 spk_synth_immediate(synth, "\033P;10z\033\\");
|
H A D | speakup_apollo.c | 38 static void do_catch_up(struct spk_synth *synth); 136 static void do_catch_up(struct spk_synth *synth) argument 164 synth->flush(synth); 188 if (spk_serial_out(synth->procspeech))
|
H A D | spk_types.h | 116 char *out_str; /* if synth needs char representation of number */ 164 const int checkval; /* for validating a proper synth module */ 168 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);
|
H A D | speakup_dectlk.c | 46 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) argument 243 synth->flush(synth); 292 static void synth_flush(struct spk_synth *synth) argument
|
H A D | Makefile | 28 synth.o \
|
H A D | kobjects.c | 363 * This is called when a user reads the synth setting. 370 if (synth == NULL) 373 rv = sprintf(buf, "%s\n", synth->name); 394 if ((synth != NULL) && (!strcmp(new_synth_name, synth->name))) { 397 pr_warn("failed to init synth %s\n", new_synth_name); 404 * This is called when text is sent to the synth via the synth_direct file. 414 if (!synth) 440 if (synth) 442 synth [all...] |
H A D | speakup_spkout.c | 33 static void synth_flush(struct spk_synth *synth); 131 static void synth_flush(struct spk_synth *synth) argument
|
H A D | buffers.c | 21 * and the alive synth will eventually call start_ttys from the thread context. 64 if (!synth->alive) { 65 /* This makes sure that we won't stop TTYs if there is no synth
|
H A D | speakup_soft.c | 33 #define SOFTSYNTH_MINOR 26 /* might as well give it one more than /dev/synth */ 37 static int softsynth_probe(struct spk_synth *synth); 39 static int softsynth_is_alive(struct spk_synth *synth); 126 .long_name = "software synth", 316 static int softsynth_probe(struct spk_synth *synth) argument 342 static int softsynth_is_alive(struct spk_synth *synth) argument
|
H A D | varhandlers.c | 224 if (var->var_id < FIRST_SYNTH_VAR || synth == NULL) 226 if (synth->synth_adjust != NULL) { 227 int status = synth->synth_adjust(var);
|
H A D | speakup.h | 95 extern struct spk_synth *synth;
|
/drivers/clk/spear/ |
H A D | Makefile | 5 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
|
/drivers/net/wireless/p54/ |
H A D | eeprom.c | 739 u16 synth = 0; local 812 synth = le16_to_cpu(exp_if->variant); 888 if (!synth || !priv->iq_autocal || !priv->output_limit || 896 priv->rxhw = synth & PDR_SYNTH_FRONTEND_MASK; 904 if (!(synth & PDR_SYNTH_24_GHZ_DISABLED)) 907 if (!(synth & PDR_SYNTH_5_GHZ_DISABLED)) 910 if ((synth & PDR_SYNTH_RX_DIV_MASK) == PDR_SYNTH_RX_DIV_SUPPORTED) 912 if ((synth & PDR_SYNTH_TX_DIV_MASK) == PDR_SYNTH_TX_DIV_SUPPORTED)
|