synth 57 drivers/clk/clk-si5341.c struct clk_si5341_synth synth[SI5341_NUM_SYNTH]; synth 402 drivers/clk/clk-si5341.c struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); synth 405 drivers/clk/clk-si5341.c u8 index = synth->index; synth 407 drivers/clk/clk-si5341.c err = regmap_read(synth->data->regmap, synth 415 drivers/clk/clk-si5341.c err = regmap_read(synth->data->regmap, SI5341_SYNTH_N_PDNB, &val); synth 423 drivers/clk/clk-si5341.c err = regmap_read(synth->data->regmap, SI5341_SYNTH_N_CLK_DIS, &val); synth 432 drivers/clk/clk-si5341.c struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); synth 433 drivers/clk/clk-si5341.c u8 index = synth->index; /* In range 0..5 */ synth 437 drivers/clk/clk-si5341.c regmap_update_bits(synth->data->regmap, synth 440 drivers/clk/clk-si5341.c regmap_update_bits(synth->data->regmap, synth 443 drivers/clk/clk-si5341.c regmap_update_bits(synth->data->regmap, synth 449 drivers/clk/clk-si5341.c struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); synth 451 drivers/clk/clk-si5341.c u8 index = synth->index; synth 455 drivers/clk/clk-si5341.c err = regmap_update_bits(synth->data->regmap, synth 461 drivers/clk/clk-si5341.c err = regmap_update_bits(synth->data->regmap, synth 467 drivers/clk/clk-si5341.c return regmap_update_bits(synth->data->regmap, synth 475 drivers/clk/clk-si5341.c struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); synth 481 drivers/clk/clk-si5341.c err = si5341_decode_44_32(synth->data->regmap, synth 482 drivers/clk/clk-si5341.c SI5341_SYNTH_N_NUM(synth->index), &n_num, &n_den); synth 490 drivers/clk/clk-si5341.c f = synth->data->freq_vco; synth 503 drivers/clk/clk-si5341.c struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); synth 507 drivers/clk/clk-si5341.c f = synth->data->freq_vco; synth 512 drivers/clk/clk-si5341.c f = synth->data->freq_vco; synth 520 drivers/clk/clk-si5341.c static int si5341_synth_program(struct clk_si5341_synth *synth, synth 524 drivers/clk/clk-si5341.c u8 index = synth->index; synth 526 drivers/clk/clk-si5341.c err = si5341_encode_44_32(synth->data->regmap, synth 529 drivers/clk/clk-si5341.c err = regmap_update_bits(synth->data->regmap, synth 534 drivers/clk/clk-si5341.c return regmap_write(synth->data->regmap, synth 542 drivers/clk/clk-si5341.c struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); synth 549 drivers/clk/clk-si5341.c n_num = synth->data->freq_vco; synth 565 drivers/clk/clk-si5341.c dev_dbg(&synth->data->i2c_client->dev, synth 567 drivers/clk/clk-si5341.c synth->index, n_num, n_den, synth 570 drivers/clk/clk-si5341.c return si5341_synth_program(synth, n_num, n_den, is_integer); synth 806 drivers/clk/clk-si5341.c return &data->synth[idx].hw; synth 1254 drivers/clk/clk-si5341.c data->synth[i].index = i; synth 1255 drivers/clk/clk-si5341.c data->synth[i].data = data; synth 1256 drivers/clk/clk-si5341.c data->synth[i].hw.init = &init; synth 1257 drivers/clk/clk-si5341.c err = devm_clk_hw_register(&client->dev, &data->synth[i].hw); synth 284 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 285 drivers/clk/ti/fapll.c u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); synth 287 drivers/clk/ti/fapll.c v &= ~(1 << synth->index); synth 288 drivers/clk/ti/fapll.c writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); synth 295 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 296 drivers/clk/ti/fapll.c u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); synth 298 drivers/clk/ti/fapll.c v |= 1 << synth->index; synth 299 drivers/clk/ti/fapll.c writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); synth 304 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 305 drivers/clk/ti/fapll.c u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); synth 307 drivers/clk/ti/fapll.c return !(v & (1 << synth->index)); synth 316 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 321 drivers/clk/ti/fapll.c if (!synth->div) synth 329 drivers/clk/ti/fapll.c if (ti_fapll_clock_is_bypass(synth->fd)) synth 339 drivers/clk/ti/fapll.c if (synth->freq) { synth 342 drivers/clk/ti/fapll.c v = readl_relaxed(synth->freq); synth 352 drivers/clk/ti/fapll.c synth_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M; synth 360 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 365 drivers/clk/ti/fapll.c post_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M; synth 371 drivers/clk/ti/fapll.c static u32 ti_fapll_synth_set_frac_rate(struct fapll_synth *synth, synth 399 drivers/clk/ti/fapll.c v = readl_relaxed(synth->freq); synth 404 drivers/clk/ti/fapll.c writel_relaxed(v, synth->freq); synth 412 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 413 drivers/clk/ti/fapll.c struct fapll_data *fd = synth->fd; synth 416 drivers/clk/ti/fapll.c if (ti_fapll_clock_is_bypass(fd) || !synth->div || !rate) synth 420 drivers/clk/ti/fapll.c if (!synth->freq) { synth 446 drivers/clk/ti/fapll.c struct fapll_synth *synth = to_synth(hw); synth 447 drivers/clk/ti/fapll.c struct fapll_data *fd = synth->fd; synth 451 drivers/clk/ti/fapll.c if (ti_fapll_clock_is_bypass(fd) || !synth->div || !rate) synth 457 drivers/clk/ti/fapll.c if (!synth->freq) synth 463 drivers/clk/ti/fapll.c if (!synth->freq && !post_rate) synth 468 drivers/clk/ti/fapll.c if ((post_rate != rate) && synth->freq) synth 469 drivers/clk/ti/fapll.c post_div_m = ti_fapll_synth_set_frac_rate(synth, synth 473 drivers/clk/ti/fapll.c v = readl_relaxed(synth->div); synth 477 drivers/clk/ti/fapll.c writel_relaxed(v, synth->div); synth 500 drivers/clk/ti/fapll.c struct fapll_synth *synth; synth 511 drivers/clk/ti/fapll.c synth = kzalloc(sizeof(*synth), GFP_KERNEL); synth 512 drivers/clk/ti/fapll.c if (!synth) synth 515 drivers/clk/ti/fapll.c synth->fd = fd; synth 516 drivers/clk/ti/fapll.c synth->index = index; synth 517 drivers/clk/ti/fapll.c synth->freq = freq; synth 518 drivers/clk/ti/fapll.c synth->div = div; synth 519 drivers/clk/ti/fapll.c synth->name = name; synth 520 drivers/clk/ti/fapll.c synth->hw.init = init; synth 521 drivers/clk/ti/fapll.c synth->clk_pll = pll_clk; synth 523 drivers/clk/ti/fapll.c return clk_register(NULL, &synth->hw); synth 526 drivers/clk/ti/fapll.c kfree(synth); synth 738 drivers/net/wireless/intersil/p54/eeprom.c u16 synth = 0; synth 811 drivers/net/wireless/intersil/p54/eeprom.c synth = le16_to_cpu(exp_if->variant); synth 887 drivers/net/wireless/intersil/p54/eeprom.c if (!synth || !priv->iq_autocal || !priv->output_limit || synth 895 drivers/net/wireless/intersil/p54/eeprom.c priv->rxhw = synth & PDR_SYNTH_FRONTEND_MASK; synth 903 drivers/net/wireless/intersil/p54/eeprom.c if (!(synth & PDR_SYNTH_24_GHZ_DISABLED)) synth 906 drivers/net/wireless/intersil/p54/eeprom.c if (!(synth & PDR_SYNTH_5_GHZ_DISABLED)) synth 909 drivers/net/wireless/intersil/p54/eeprom.c if ((synth & PDR_SYNTH_RX_DIV_MASK) == PDR_SYNTH_RX_DIV_SUPPORTED) synth 911 drivers/net/wireless/intersil/p54/eeprom.c if ((synth & PDR_SYNTH_TX_DIV_MASK) == PDR_SYNTH_TX_DIV_SUPPORTED) synth 65 drivers/staging/speakup/buffers.c if (!synth->alive) { synth 26 drivers/staging/speakup/devsynth.c if (!synth) synth 49 drivers/staging/speakup/devsynth.c if (!synth) synth 376 drivers/staging/speakup/kobjects.c if (!synth) synth 379 drivers/staging/speakup/kobjects.c rv = sprintf(buf, "%s\n", synth->name); synth 400 drivers/staging/speakup/kobjects.c if (synth && !strcmp(new_synth_name, synth->name)) { synth 422 drivers/staging/speakup/kobjects.c if (!synth) synth 450 drivers/staging/speakup/kobjects.c if (synth) synth 452 drivers/staging/speakup/kobjects.c synth->name, synth->version); synth 607 drivers/staging/speakup/kobjects.c if (synth && synth_default_value) { synth 667 drivers/staging/speakup/kobjects.c if (param->var_id == VOICE && synth && synth 671 drivers/staging/speakup/kobjects.c spk_reset_default_value("pitch", synth->default_pitch, synth 673 drivers/staging/speakup/kobjects.c spk_reset_default_value("vol", synth->default_vol, synth 874 drivers/staging/speakup/kobjects.c __ATTR_RW(synth); synth 52 drivers/staging/speakup/main.c module_param_named(synth, synth_name, charp, 0444); synth 55 drivers/staging/speakup/main.c MODULE_PARM_DESC(synth, "Synth to start if speakup is built in."); synth 297 drivers/staging/speakup/main.c if (synth) synth 303 drivers/staging/speakup/main.c char val = synth->is_alive(synth); synth 1170 drivers/staging/speakup/main.c if (!synth || up_flag || spk_killed) synth 1208 drivers/staging/speakup/main.c if (!synth || spk_killed) { synth 1402 drivers/staging/speakup/main.c if ((vc->vc_num != fg_console) || !synth || spk_shut_up) synth 1520 drivers/staging/speakup/main.c if (!synth || up_flag || spk_shut_up) { synth 1542 drivers/staging/speakup/main.c if (!synth || up_flag || spk_shut_up || cursor_track == CT_Off) { synth 1738 drivers/staging/speakup/main.c if (spk_shut_up || !synth) { synth 1755 drivers/staging/speakup/main.c if ((vc->vc_num != fg_console) || spk_shut_up || !synth) synth 1803 drivers/staging/speakup/main.c if (!synth || up_flag || spk_killed) synth 2107 drivers/staging/speakup/main.c if (!synth) synth 120 drivers/staging/speakup/serialio.c synth->read_buff_add((u_char)c); synth 130 drivers/staging/speakup/serialio.c if (!synth->read_buff_add) synth 170 drivers/staging/speakup/serialio.c int spk_serial_synth_probe(struct spk_synth *synth) synth 175 drivers/staging/speakup/serialio.c if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { synth 176 drivers/staging/speakup/serialio.c ser = spk_serial_init(synth->ser); synth 186 drivers/staging/speakup/serialio.c pr_warn("ttyS%i is an invalid port\n", synth->ser); synth 189 drivers/staging/speakup/serialio.c pr_info("%s: not found\n", synth->long_name); synth 193 drivers/staging/speakup/serialio.c synth->long_name, synth->ser, synth->version); synth 194 drivers/staging/speakup/serialio.c synth->alive = 1; synth 204 drivers/staging/speakup/serialio.c if (!synth->read_buff_add) synth 290 drivers/staging/speakup/serialio.c const char *spk_serial_synth_immediate(struct spk_synth *synth, synth 297 drivers/staging/speakup/serialio.c ch = synth->procspeech; synth 298 drivers/staging/speakup/serialio.c if (spk_wait_for_xmitr(synth)) synth 94 drivers/staging/speakup/speakup.h extern struct spk_synth *synth; synth 27 drivers/staging/speakup/speakup_acntpc.c static int synth_probe(struct spk_synth *synth); synth 29 drivers/staging/speakup/speakup_acntpc.c static const char *synth_immediate(struct spk_synth *synth, const char *buf); synth 30 drivers/staging/speakup/speakup_acntpc.c static void do_catch_up(struct spk_synth *synth); synth 31 drivers/staging/speakup/speakup_acntpc.c static void synth_flush(struct spk_synth *synth); synth 140 drivers/staging/speakup/speakup_acntpc.c static const char *synth_immediate(struct spk_synth *synth, const char *buf) synth 162 drivers/staging/speakup/speakup_acntpc.c static void do_catch_up(struct spk_synth *synth) synth 189 drivers/staging/speakup/speakup_acntpc.c synth->flush(synth); synth 242 drivers/staging/speakup/speakup_acntpc.c static void synth_flush(struct spk_synth *synth) synth 247 drivers/staging/speakup/speakup_acntpc.c static int synth_probe(struct spk_synth *synth) synth 252 drivers/staging/speakup/speakup_acntpc.c pr_info("Probing for %s.\n", synth->long_name); synth 285 drivers/staging/speakup/speakup_acntpc.c pr_info("%s: not found\n", synth->long_name); synth 290 drivers/staging/speakup/speakup_acntpc.c pr_info("%s: %03x-%03x, driver version %s,\n", synth->long_name, synth 292 drivers/staging/speakup/speakup_acntpc.c synth->version); synth 293 drivers/staging/speakup/speakup_acntpc.c synth->alive = 1; synth 20 drivers/staging/speakup/speakup_acntsa.c static int synth_probe(struct spk_synth *synth); synth 116 drivers/staging/speakup/speakup_acntsa.c static int synth_probe(struct spk_synth *synth) synth 120 drivers/staging/speakup/speakup_acntsa.c failed = spk_ttyio_synth_probe(synth); synth 122 drivers/staging/speakup/speakup_acntsa.c synth->synth_immediate(synth, "\033=R\r"); synth 125 drivers/staging/speakup/speakup_acntsa.c synth->alive = !failed; synth 25 drivers/staging/speakup/speakup_apollo.c static void do_catch_up(struct spk_synth *synth); synth 125 drivers/staging/speakup/speakup_apollo.c static void do_catch_up(struct spk_synth *synth) synth 153 drivers/staging/speakup/speakup_apollo.c synth->flush(synth); synth 165 drivers/staging/speakup/speakup_apollo.c if (!synth->io_ops->synth_out(synth, ch)) { synth 166 drivers/staging/speakup/speakup_apollo.c synth->io_ops->tiocmset(0, UART_MCR_RTS); synth 167 drivers/staging/speakup/speakup_apollo.c synth->io_ops->tiocmset(UART_MCR_RTS, 0); synth 177 drivers/staging/speakup/speakup_apollo.c if (synth->io_ops->synth_out(synth, synth->procspeech)) synth 190 drivers/staging/speakup/speakup_apollo.c synth->io_ops->synth_out(synth, PROCSPEECH); synth 19 drivers/staging/speakup/speakup_audptr.c static int synth_probe(struct spk_synth *synth); synth 20 drivers/staging/speakup/speakup_audptr.c static void synth_flush(struct spk_synth *synth); synth 120 drivers/staging/speakup/speakup_audptr.c static void synth_flush(struct spk_synth *synth) synth 122 drivers/staging/speakup/speakup_audptr.c synth->io_ops->flush_buffer(); synth 123 drivers/staging/speakup/speakup_audptr.c synth->io_ops->send_xchar(SYNTH_CLEAR); synth 124 drivers/staging/speakup/speakup_audptr.c synth->io_ops->synth_out(synth, PROCSPEECH); synth 127 drivers/staging/speakup/speakup_audptr.c static void synth_version(struct spk_synth *synth) synth 132 drivers/staging/speakup/speakup_audptr.c synth->synth_immediate(synth, "\x05[Q]"); synth 133 drivers/staging/speakup/speakup_audptr.c synth_id[test] = synth->io_ops->synth_in(); synth 137 drivers/staging/speakup/speakup_audptr.c synth_id[++test] = synth->io_ops->synth_in(); synth 142 drivers/staging/speakup/speakup_audptr.c pr_info("%s version: %s", synth->long_name, synth_id); synth 145 drivers/staging/speakup/speakup_audptr.c static int synth_probe(struct spk_synth *synth) synth 149 drivers/staging/speakup/speakup_audptr.c failed = spk_ttyio_synth_probe(synth); synth 151 drivers/staging/speakup/speakup_audptr.c synth_version(synth); synth 152 drivers/staging/speakup/speakup_audptr.c synth->alive = !failed; synth 36 drivers/staging/speakup/speakup_decext.c static void do_catch_up(struct spk_synth *synth); synth 37 drivers/staging/speakup/speakup_decext.c static void synth_flush(struct spk_synth *synth); synth 140 drivers/staging/speakup/speakup_decext.c static void do_catch_up(struct spk_synth *synth) synth 164 drivers/staging/speakup/speakup_decext.c synth->flush(synth); synth 178 drivers/staging/speakup/speakup_decext.c if (synth_full() || !synth->io_ops->synth_out(synth, ch)) { synth 192 drivers/staging/speakup/speakup_decext.c synth->io_ops->synth_out(synth, PROCSPEECH); synth 195 drivers/staging/speakup/speakup_decext.c synth->io_ops->synth_out(synth, synth 211 drivers/staging/speakup/speakup_decext.c synth->io_ops->synth_out(synth, PROCSPEECH); synth 214 drivers/staging/speakup/speakup_decext.c static void synth_flush(struct spk_synth *synth) synth 217 drivers/staging/speakup/speakup_decext.c synth->io_ops->flush_buffer(); synth 218 drivers/staging/speakup/speakup_decext.c synth->synth_immediate(synth, "\033P;10z\033\\"); synth 127 drivers/staging/speakup/speakup_decpc.c static int synth_probe(struct spk_synth *synth); synth 129 drivers/staging/speakup/speakup_decpc.c static const char *synth_immediate(struct spk_synth *synth, const char *buf); synth 130 drivers/staging/speakup/speakup_decpc.c static void do_catch_up(struct spk_synth *synth); synth 131 drivers/staging/speakup/speakup_decpc.c static void synth_flush(struct spk_synth *synth); synth 294 drivers/staging/speakup/speakup_decpc.c static void synth_flush(struct spk_synth *synth) synth 359 drivers/staging/speakup/speakup_decpc.c static void do_catch_up(struct spk_synth *synth) synth 382 drivers/staging/speakup/speakup_decpc.c synth->flush(synth); synth 432 drivers/staging/speakup/speakup_decpc.c static const char *synth_immediate(struct spk_synth *synth, const char *buf) synth 446 drivers/staging/speakup/speakup_decpc.c static int synth_probe(struct spk_synth *synth) synth 450 drivers/staging/speakup/speakup_decpc.c pr_info("Probing for %s.\n", synth->long_name); synth 463 drivers/staging/speakup/speakup_decpc.c pr_info("%s: not found\n", synth->long_name); synth 466 drivers/staging/speakup/speakup_decpc.c pr_info("%s: %03x-%03x, Driver Version %s,\n", synth->long_name, synth 468 drivers/staging/speakup/speakup_decpc.c synth->version); synth 469 drivers/staging/speakup/speakup_decpc.c synth->alive = 1; synth 32 drivers/staging/speakup/speakup_dectlk.c static void do_catch_up(struct spk_synth *synth); synth 33 drivers/staging/speakup/speakup_dectlk.c static void synth_flush(struct spk_synth *synth); synth 35 drivers/staging/speakup/speakup_dectlk.c static unsigned char get_index(struct spk_synth *synth); synth 157 drivers/staging/speakup/speakup_dectlk.c static unsigned char get_index(struct spk_synth *synth) synth 193 drivers/staging/speakup/speakup_dectlk.c static void do_catch_up(struct spk_synth *synth) synth 231 drivers/staging/speakup/speakup_dectlk.c synth->flush(synth); synth 246 drivers/staging/speakup/speakup_dectlk.c if (synth_full_val || !synth->io_ops->synth_out(synth, ch)) { synth 260 drivers/staging/speakup/speakup_dectlk.c synth->io_ops->synth_out(synth, PROCSPEECH); synth 263 drivers/staging/speakup/speakup_dectlk.c synth->io_ops->synth_out(synth, synth 279 drivers/staging/speakup/speakup_dectlk.c synth->io_ops->synth_out(synth, PROCSPEECH); synth 282 drivers/staging/speakup/speakup_dectlk.c static void synth_flush(struct spk_synth *synth) synth 286 drivers/staging/speakup/speakup_dectlk.c synth->io_ops->synth_out(synth, ']'); synth 289 drivers/staging/speakup/speakup_dectlk.c synth->io_ops->flush_buffer(); synth 290 drivers/staging/speakup/speakup_dectlk.c synth->io_ops->synth_out(synth, SYNTH_CLEAR); synth 26 drivers/staging/speakup/speakup_dtlk.c static int synth_probe(struct spk_synth *synth); synth 28 drivers/staging/speakup/speakup_dtlk.c static const char *synth_immediate(struct spk_synth *synth, const char *buf); synth 29 drivers/staging/speakup/speakup_dtlk.c static void do_catch_up(struct spk_synth *synth); synth 30 drivers/staging/speakup/speakup_dtlk.c static void synth_flush(struct spk_synth *synth); synth 181 drivers/staging/speakup/speakup_dtlk.c static void do_catch_up(struct spk_synth *synth) synth 202 drivers/staging/speakup/speakup_dtlk.c synth->flush(synth); synth 237 drivers/staging/speakup/speakup_dtlk.c static const char *synth_immediate(struct spk_synth *synth, const char *buf) synth 252 drivers/staging/speakup/speakup_dtlk.c static void synth_flush(struct spk_synth *synth) synth 273 drivers/staging/speakup/speakup_dtlk.c static struct synth_settings *synth_interrogate(struct spk_synth *synth) synth 280 drivers/staging/speakup/speakup_dtlk.c synth_immediate(synth, "\x18\x01?"); synth 316 drivers/staging/speakup/speakup_dtlk.c static int synth_probe(struct spk_synth *synth) synth 360 drivers/staging/speakup/speakup_dtlk.c sp = synth_interrogate(synth); synth 362 drivers/staging/speakup/speakup_dtlk.c synth->long_name, synth_lpc, synth_lpc + SYNTH_IO_EXTENT - 1, synth 363 drivers/staging/speakup/speakup_dtlk.c sp->rom_version, sp->serial_number, synth->version); synth 364 drivers/staging/speakup/speakup_dtlk.c synth->alive = 1; synth 26 drivers/staging/speakup/speakup_keypc.c static int synth_probe(struct spk_synth *synth); synth 28 drivers/staging/speakup/speakup_keypc.c static const char *synth_immediate(struct spk_synth *synth, const char *buf); synth 29 drivers/staging/speakup/speakup_keypc.c static void do_catch_up(struct spk_synth *synth); synth 30 drivers/staging/speakup/speakup_keypc.c static void synth_flush(struct spk_synth *synth); synth 143 drivers/staging/speakup/speakup_keypc.c static const char *synth_immediate(struct spk_synth *synth, const char *buf) synth 164 drivers/staging/speakup/speakup_keypc.c static void do_catch_up(struct spk_synth *synth) synth 190 drivers/staging/speakup/speakup_keypc.c synth->flush(synth); synth 249 drivers/staging/speakup/speakup_keypc.c static void synth_flush(struct spk_synth *synth) synth 254 drivers/staging/speakup/speakup_keypc.c static int synth_probe(struct spk_synth *synth) synth 259 drivers/staging/speakup/speakup_keypc.c pr_info("Probing for %s.\n", synth->long_name); synth 286 drivers/staging/speakup/speakup_keypc.c pr_info("%s: not found\n", synth->long_name); synth 291 drivers/staging/speakup/speakup_keypc.c pr_info("%s: %03x-%03x, driver version %s,\n", synth->long_name, synth 293 drivers/staging/speakup/speakup_keypc.c synth->version); synth 294 drivers/staging/speakup/speakup_keypc.c synth->alive = 1; synth 19 drivers/staging/speakup/speakup_ltlk.c static int synth_probe(struct spk_synth *synth); synth 128 drivers/staging/speakup/speakup_ltlk.c static void synth_interrogate(struct spk_synth *synth) synth 133 drivers/staging/speakup/speakup_ltlk.c synth->synth_immediate(synth, "\x18\x01?"); synth 135 drivers/staging/speakup/speakup_ltlk.c buf[i] = synth->io_ops->synth_in(); synth 146 drivers/staging/speakup/speakup_ltlk.c pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); synth 149 drivers/staging/speakup/speakup_ltlk.c static int synth_probe(struct spk_synth *synth) synth 153 drivers/staging/speakup/speakup_ltlk.c failed = spk_ttyio_synth_probe(synth); synth 155 drivers/staging/speakup/speakup_ltlk.c synth_interrogate(synth); synth 156 drivers/staging/speakup/speakup_ltlk.c synth->alive = !failed; synth 28 drivers/staging/speakup/speakup_soft.c static int softsynth_probe(struct spk_synth *synth); synth 30 drivers/staging/speakup/speakup_soft.c static int softsynth_is_alive(struct spk_synth *synth); synth 31 drivers/staging/speakup/speakup_soft.c static unsigned char get_index(struct spk_synth *synth); synth 346 drivers/staging/speakup/speakup_soft.c static unsigned char get_index(struct spk_synth *synth) synth 373 drivers/staging/speakup/speakup_soft.c static int softsynth_probe(struct spk_synth *synth) synth 410 drivers/staging/speakup/speakup_soft.c static int softsynth_is_alive(struct spk_synth *synth) synth 19 drivers/staging/speakup/speakup_spkout.c static void synth_flush(struct spk_synth *synth); synth 118 drivers/staging/speakup/speakup_spkout.c static void synth_flush(struct spk_synth *synth) synth 120 drivers/staging/speakup/speakup_spkout.c synth->io_ops->flush_buffer(); synth 121 drivers/staging/speakup/speakup_spkout.c synth->io_ops->send_xchar(SYNTH_CLEAR); synth 55 drivers/staging/speakup/spk_priv.h int spk_serial_synth_probe(struct spk_synth *synth); synth 56 drivers/staging/speakup/spk_priv.h int spk_ttyio_synth_probe(struct spk_synth *synth); synth 57 drivers/staging/speakup/spk_priv.h const char *spk_serial_synth_immediate(struct spk_synth *synth, synth 59 drivers/staging/speakup/spk_priv.h const char *spk_ttyio_synth_immediate(struct spk_synth *synth, synth 61 drivers/staging/speakup/spk_priv.h void spk_do_catch_up(struct spk_synth *synth); synth 62 drivers/staging/speakup/spk_priv.h void spk_do_catch_up_unicode(struct spk_synth *synth); synth 63 drivers/staging/speakup/spk_priv.h void spk_synth_flush(struct spk_synth *synth); synth 64 drivers/staging/speakup/spk_priv.h unsigned char spk_synth_get_index(struct spk_synth *synth); synth 65 drivers/staging/speakup/spk_priv.h int spk_synth_is_alive_nop(struct spk_synth *synth); synth 66 drivers/staging/speakup/spk_priv.h int spk_synth_is_alive_restart(struct spk_synth *synth); synth 36 drivers/staging/speakup/spk_ttyio.c static int get_dev_to_use(struct spk_synth *synth, dev_t *dev_no) synth 39 drivers/staging/speakup/spk_ttyio.c if (strcmp(synth->dev_name, SYNTH_DEFAULT_DEV) || synth 40 drivers/staging/speakup/spk_ttyio.c synth->ser == SYNTH_DEFAULT_SER) synth 41 drivers/staging/speakup/spk_ttyio.c return tty_dev_name_to_number(synth->dev_name, dev_no); synth 43 drivers/staging/speakup/spk_ttyio.c return ser_to_dev(synth->ser, dev_no); synth 139 drivers/staging/speakup/spk_ttyio.c static int spk_ttyio_initialise_ldisc(struct spk_synth *synth) synth 146 drivers/staging/speakup/spk_ttyio.c ret = get_dev_to_use(synth, &dev); synth 340 drivers/staging/speakup/spk_ttyio.c int spk_ttyio_synth_probe(struct spk_synth *synth) synth 342 drivers/staging/speakup/spk_ttyio.c int rv = spk_ttyio_initialise_ldisc(synth); synth 347 drivers/staging/speakup/spk_ttyio.c synth->alive = 1; synth 348 drivers/staging/speakup/spk_ttyio.c spk_ttyio_synth = synth; synth 370 drivers/staging/speakup/spk_ttyio.c const char *spk_ttyio_synth_immediate(struct spk_synth *synth, const char *buff) synth 376 drivers/staging/speakup/spk_ttyio.c ch = synth->procspeech; synth 378 drivers/staging/speakup/spk_ttyio.c !synth->io_ops->synth_out(synth, ch)) synth 153 drivers/staging/speakup/spk_types.h int (*synth_out)(struct spk_synth *synth, const char ch); synth 154 drivers/staging/speakup/spk_types.h int (*synth_out_unicode)(struct spk_synth *synth, u16 ch); synth 184 drivers/staging/speakup/spk_types.h int (*probe)(struct spk_synth *synth); synth 186 drivers/staging/speakup/spk_types.h const char *(*synth_immediate)(struct spk_synth *synth, synth 188 drivers/staging/speakup/spk_types.h void (*catch_up)(struct spk_synth *synth); synth 189 drivers/staging/speakup/spk_types.h void (*flush)(struct spk_synth *synth); synth 190 drivers/staging/speakup/spk_types.h int (*is_alive)(struct spk_synth *synth); synth 193 drivers/staging/speakup/spk_types.h unsigned char (*get_index)(struct spk_synth *synth); synth 22 drivers/staging/speakup/synth.c struct spk_synth *synth; synth 54 drivers/staging/speakup/synth.c static void _spk_do_catch_up(struct spk_synth *synth, int unicode) synth 81 drivers/staging/speakup/synth.c synth->flush(synth); synth 95 drivers/staging/speakup/synth.c ch = synth->procspeech; synth 97 drivers/staging/speakup/synth.c ret = synth->io_ops->synth_out_unicode(synth, ch); synth 99 drivers/staging/speakup/synth.c ret = synth->io_ops->synth_out(synth, ch); synth 110 drivers/staging/speakup/synth.c if (synth->io_ops->synth_out(synth, synth->procspeech)) synth 123 drivers/staging/speakup/synth.c synth->io_ops->synth_out(synth, synth->procspeech); synth 126 drivers/staging/speakup/synth.c void spk_do_catch_up(struct spk_synth *synth) synth 128 drivers/staging/speakup/synth.c _spk_do_catch_up(synth, 0); synth 132 drivers/staging/speakup/synth.c void spk_do_catch_up_unicode(struct spk_synth *synth) synth 134 drivers/staging/speakup/synth.c _spk_do_catch_up(synth, 1); synth 138 drivers/staging/speakup/synth.c void spk_synth_flush(struct spk_synth *synth) synth 140 drivers/staging/speakup/synth.c synth->io_ops->flush_buffer(); synth 141 drivers/staging/speakup/synth.c synth->io_ops->synth_out(synth, synth->clear); synth 145 drivers/staging/speakup/synth.c unsigned char spk_synth_get_index(struct spk_synth *synth) synth 147 drivers/staging/speakup/synth.c return synth->io_ops->synth_in_nowait(); synth 151 drivers/staging/speakup/synth.c int spk_synth_is_alive_nop(struct spk_synth *synth) synth 153 drivers/staging/speakup/synth.c synth->alive = 1; synth 158 drivers/staging/speakup/synth.c int spk_synth_is_alive_restart(struct spk_synth *synth) synth 160 drivers/staging/speakup/synth.c if (synth->alive) synth 162 drivers/staging/speakup/synth.c if (spk_wait_for_xmitr(synth) > 0) { synth 164 drivers/staging/speakup/synth.c synth->alive = 1; synth 165 drivers/staging/speakup/synth.c synth_printf("%s", synth->init); synth 168 drivers/staging/speakup/synth.c pr_warn("%s: can't restart synth\n", synth->long_name); synth 184 drivers/staging/speakup/synth.c if (!synth->alive) { synth 196 drivers/staging/speakup/synth.c if (!synth) synth 201 drivers/staging/speakup/synth.c if (synth->alive) { synth 276 drivers/staging/speakup/synth.c synth->get_index(synth); synth 283 drivers/staging/speakup/synth.c if (synth->get_index) synth 292 drivers/staging/speakup/synth.c if (synth->alive) { synth 294 drivers/staging/speakup/synth.c synth->indexing.currindex++; synth 296 drivers/staging/speakup/synth.c if (synth->indexing.currindex > synth 297 drivers/staging/speakup/synth.c synth->indexing.highindex) synth 298 drivers/staging/speakup/synth.c synth->indexing.currindex = synth 299 drivers/staging/speakup/synth.c synth->indexing.lowindex; synth 302 drivers/staging/speakup/synth.c out = synth->indexing.currindex * 10 + sent_num; synth 303 drivers/staging/speakup/synth.c synth_printf(synth->indexing.command, out, out); synth 309 drivers/staging/speakup/synth.c int ind = synth->get_index(synth); synth 314 drivers/staging/speakup/synth.c if ((ind / 10) <= synth->indexing.currindex) synth 315 drivers/staging/speakup/synth.c index_count = synth->indexing.currindex - (ind / 10); synth 317 drivers/staging/speakup/synth.c index_count = synth->indexing.currindex synth 318 drivers/staging/speakup/synth.c - synth->indexing.lowindex synth 319 drivers/staging/speakup/synth.c + synth->indexing.highindex - (ind / 10) + 1; synth 332 drivers/staging/speakup/synth.c synth_res.name = synth->name; synth 358 drivers/staging/speakup/synth.c struct spk_synth *tmp, *synth = NULL; synth 374 drivers/staging/speakup/synth.c synth = tmp; synth 378 drivers/staging/speakup/synth.c if (synth) synth 379 drivers/staging/speakup/synth.c ret = do_synth_init(synth); synth 395 drivers/staging/speakup/synth.c synth = in_synth; synth 396 drivers/staging/speakup/synth.c synth->alive = 0; synth 398 drivers/staging/speakup/synth.c if (synth->probe(synth) < 0) { synth 400 drivers/staging/speakup/synth.c synth = NULL; synth 404 drivers/staging/speakup/synth.c synth_time_vars[0].u.n.default_val = synth->delay; synth 406 drivers/staging/speakup/synth.c synth_time_vars[1].u.n.default_val = synth->trigger; synth 408 drivers/staging/speakup/synth.c synth_time_vars[2].u.n.default_val = synth->jiffies; synth 410 drivers/staging/speakup/synth.c synth_time_vars[3].u.n.default_val = synth->full; synth 411 drivers/staging/speakup/synth.c synth_printf("%s", synth->init); synth 412 drivers/staging/speakup/synth.c for (var = synth->vars; synth 416 drivers/staging/speakup/synth.c synth_printf("%s found\n", synth->long_name); synth 417 drivers/staging/speakup/synth.c if (synth->attributes.name && synth 418 drivers/staging/speakup/synth.c sysfs_create_group(speakup_kobj, &synth->attributes) < 0) synth 420 drivers/staging/speakup/synth.c synth_flags = synth->flags; synth 432 drivers/staging/speakup/synth.c if (!synth) synth 435 drivers/staging/speakup/synth.c pr_info("releasing synth %s\n", synth->name); synth 436 drivers/staging/speakup/synth.c synth->alive = 0; synth 439 drivers/staging/speakup/synth.c if (synth->attributes.name) synth 440 drivers/staging/speakup/synth.c sysfs_remove_group(speakup_kobj, &synth->attributes); synth 441 drivers/staging/speakup/synth.c for (var = synth->vars; var->var_id != MAXVARS; var++) synth 443 drivers/staging/speakup/synth.c synth->release(); synth 444 drivers/staging/speakup/synth.c synth = NULL; synth 476 drivers/staging/speakup/synth.c if (synth == in_synth) synth 486 drivers/staging/speakup/synth.c return synth; synth 34 drivers/staging/speakup/thread.c (synth && synth->catch_up && synth->alive && synth 50 drivers/staging/speakup/thread.c if (synth && synth->catch_up && synth->alive) { synth 55 drivers/staging/speakup/thread.c synth->catch_up(synth); synth 227 drivers/staging/speakup/varhandlers.c if (var->var_id < FIRST_SYNTH_VAR || !synth) synth 229 drivers/staging/speakup/varhandlers.c if (synth->synth_adjust) synth 230 drivers/staging/speakup/varhandlers.c return synth->synth_adjust(var); synth 1493 include/sound/emu10k1.h synth: 1, synth 1732 include/sound/emu10k1.h void *synth; synth 238 include/sound/gus.h synth:1, synth 555 include/sound/gus.h int synth); synth 108 include/sound/snd_wavefront.h struct pnp_dev *synth; synth 183 sound/isa/gus/gus_dma.c int synth) synth 205 sound/isa/gus/gus_dma.c if (synth) { synth 230 sound/isa/gus/gus_reset.c pvoice->synth = 1; synth 116 sound/isa/opl3sa2.c struct snd_hwdep *synth; synth 298 sound/isa/opl3sa2.c snd_opl3_interrupt(chip->synth); synth 690 sound/isa/opl3sa2.c if ((err = snd_opl3_hwdep_new(opl3, 0, 1, &chip->synth)) < 0) synth 820 sound/isa/opti9xx/opti92x-ad1848.c struct snd_hwdep *synth; synth 923 sound/isa/opti9xx/opti92x-ad1848.c error = snd_opl3_hwdep_new(opl3, 0, 1, &synth); synth 332 sound/isa/sb/sb16.c struct snd_hwdep *synth = NULL; synth 408 sound/isa/sb/sb16.c if ((err = snd_opl3_hwdep_new(opl3, 0, seqdev, &synth)) < 0) synth 419 sound/isa/sb/sb16.c snd_sb_csp_new(chip, synth != NULL ? 1 : 0, &xcsp); synth 122 sound/isa/wavefront/wavefront.c acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); synth 123 sound/isa/wavefront/wavefront.c if (acard->synth == NULL) synth 156 sound/isa/wavefront/wavefront.c pdev = acard->synth; synth 177 sound/pci/ali5451/ali5451.c synth :1, synth 228 sound/pci/ali5451/ali5451.c struct snd_alidev synth; synth 519 sound/pci/ali5451/ali5451.c if (codec->synth.chcnt >= ALI_CHANNELS){ synth 525 sound/pci/ali5451/ali5451.c if (!(codec->synth.chmap & (1 << idx))) { synth 526 sound/pci/ali5451/ali5451.c codec->synth.chmap |= 1 << idx; synth 527 sound/pci/ali5451/ali5451.c codec->synth.chcnt++; synth 592 sound/pci/ali5451/ali5451.c if (!(codec->synth.chmap & (1 << idx))) { synth 598 sound/pci/ali5451/ali5451.c codec->synth.chmap &= ~(1 << idx); synth 599 sound/pci/ali5451/ali5451.c codec->synth.chcnt--; synth 848 sound/pci/ali5451/ali5451.c pvoice = &codec->synth.voices[channel]; synth 867 sound/pci/ali5451/ali5451.c } else if (codec->synth.voices[channel].synth) { synth 869 sound/pci/ali5451/ali5451.c } else if (codec->synth.voices[channel].midi) { synth 926 sound/pci/ali5451/ali5451.c pvoice = &(codec->synth.voices[idx]); synth 956 sound/pci/ali5451/ali5451.c pvoice->use = pvoice->pcm = pvoice->synth = 0; synth 2132 sound/pci/ali5451/ali5451.c codec->synth.chmap = 0; synth 2133 sound/pci/ali5451/ali5451.c codec->synth.chcnt = 0; synth 2135 sound/pci/ali5451/ali5451.c codec->synth.synthcount = 0; synth 2177 sound/pci/ali5451/ali5451.c codec->synth.voices[i].number = i; synth 86 sound/pci/emu10k1/emu10k1_callback.c emu = hw->synth; synth 1823 sound/pci/emu10k1/emu10k1_main.c emu->synth = NULL; synth 61 sound/pci/emu10k1/emu10k1_synth.c hw->synth = emux; synth 84 sound/pci/emu10k1/emu10k1_synth.c hw->synth = NULL; synth 377 sound/pci/emu10k1/emuproc.c voice->synth, synth 87 sound/pci/emu10k1/voice.c voice->synth = 1; synth 124 sound/pci/emu10k1/voice.c pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; synth 147 sound/pci/emu10k1/voice.c pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; synth 264 sound/pci/trident/trident.h synth:1, synth 370 sound/pci/trident/trident.h struct snd_4dwave synth; /* synth specific variables */ synth 389 sound/pci/trident/trident_main.c trident->synth.ChanSynthCount++; synth 415 sound/pci/trident/trident_main.c trident->synth.ChanSynthCount--; synth 3564 sound/pci/trident/trident_main.c trident->synth.max_size = max_wavetable_size * 1024; synth 3627 sound/pci/trident/trident_main.c voice = &trident->synth.voices[i]; synth 3729 sound/pci/trident/trident_main.c voice = &trident->synth.voices[channel]; synth 3813 sound/pci/trident/trident_main.c pvoice = &trident->synth.voices[idx]; synth 3829 sound/pci/trident/trident_main.c pvoice = &trident->synth.voices[idx]; synth 3831 sound/pci/trident/trident_main.c pvoice->synth = 1; synth 3860 sound/pci/trident/trident_main.c if (voice->synth) synth 3862 sound/pci/trident/trident_main.c voice->use = voice->pcm = voice->synth = voice->midi = 0; synth 233 sound/pci/ymfpci/ymfpci.h synth: 1, synth 228 sound/pci/ymfpci/ymfpci_main.c voice->synth = 1; synth 279 sound/pci/ymfpci/ymfpci_main.c pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; synth 156 tools/perf/tests/mmap-thread-lookup.c static int mmap_events(synth_cb synth) synth 174 tools/perf/tests/mmap-thread-lookup.c err = synth(machine);