| /linux/drivers/clk/ti/ |
| H A D | fapll.c | 280 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_enable() local 281 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable() 283 v &= ~(1 << synth->index); in ti_fapll_synth_enable() 284 writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable() 291 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_disable() local 292 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_disable() 294 v |= 1 << synth->index; in ti_fapll_synth_disable() 295 writel_relaxed(v, synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_disable() 300 struct fapll_synth *synth = to_synth(hw); in ti_fapll_synth_is_enabled() local 301 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_is_enabled() [all …]
|
| /linux/drivers/accessibility/speakup/ |
| H A D | speakup_audptr.c | 19 static int synth_probe(struct spk_synth *synth); 20 static void synth_flush(struct spk_synth *synth); 129 static void synth_flush(struct spk_synth *synth) in synth_flush() argument 131 synth->io_ops->flush_buffer(synth); in synth_flush() 132 synth->io_ops->send_xchar(synth, SYNTH_CLEAR); in synth_flush() 133 synth->io_ops->synth_out(synth, PROCSPEECH); in synth_flush() 136 static void synth_version(struct spk_synth *synth) in synth_version() argument 141 synth->synth_immediate(synth, "\x05[Q]"); in synth_version() 142 synth_id[0] = synth->io_ops->synth_in(synth); in synth_version() 148 synth_id[i] = synth->io_ops->synth_in(synth); in synth_version() [all …]
|
| H A D | spk_priv.h | 37 void spk_serial_release(struct spk_synth *synth); 38 void spk_ttyio_release(struct spk_synth *synth); 52 int spk_serial_synth_probe(struct spk_synth *synth); 53 int spk_ttyio_synth_probe(struct spk_synth *synth); 54 const char *spk_serial_synth_immediate(struct spk_synth *synth, 56 const char *spk_ttyio_synth_immediate(struct spk_synth *synth, 58 void spk_do_catch_up(struct spk_synth *synth); 59 void spk_do_catch_up_unicode(struct spk_synth *synth); 60 void spk_synth_flush(struct spk_synth *synth); 61 unsigned char spk_synth_get_index(struct spk_synth *synth); [all …]
|
| H A D | serialio.c | 122 synth->read_buff_add((u_char)c); in synth_readbuf_handler() 132 if (!synth->read_buff_add) in start_serial_interrupt() 153 static void spk_serial_send_xchar(struct spk_synth *synth, char ch) in spk_serial_send_xchar() argument 172 int spk_serial_synth_probe(struct spk_synth *synth) in spk_serial_synth_probe() argument 177 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { in spk_serial_synth_probe() 178 ser = spk_serial_init(synth->ser); in spk_serial_synth_probe() 188 pr_warn("ttyS%i is an invalid port\n", synth->ser); in spk_serial_synth_probe() 191 pr_info("%s: not found\n", synth->long_name); in spk_serial_synth_probe() 195 synth->long_name, synth->ser, synth->version); in spk_serial_synth_probe() 196 synth->alive = 1; in spk_serial_synth_probe() [all …]
|
| H A D | speakup_dectlk.c | 32 static void do_catch_up(struct spk_synth *synth); 33 static void synth_flush(struct spk_synth *synth); 35 static unsigned char get_index(struct spk_synth *synth); 173 static unsigned char get_index(struct spk_synth *synth) in get_index() argument 209 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument 252 synth->flush(synth); in do_catch_up() 267 if (synth_full_val || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up() 281 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up() 284 synth->io_ops->synth_out(synth, in do_catch_up() 300 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up() [all …]
|
| H A D | speakup_decext.c | 36 static void do_catch_up(struct spk_synth *synth); 37 static void synth_flush(struct spk_synth *synth); 153 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument 177 synth->flush(synth); in do_catch_up() 191 if (synth_full() || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up() 205 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up() 208 synth->io_ops->synth_out(synth, in do_catch_up() 224 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up() 227 static void synth_flush(struct spk_synth *synth) in synth_flush() argument 230 synth->io_ops->flush_buffer(synth); in synth_flush() [all …]
|
| H A D | thread.c | 34 (synth && synth->catch_up && synth->alive && in speakup_thread() 50 if (synth && synth->catch_up && synth->alive) { in speakup_thread() 55 synth->catch_up(synth); in speakup_thread()
|
| H A D | spk_ttyio.c | 15 struct spk_synth *synth; member 37 static int get_dev_to_use(struct spk_synth *synth, dev_t *dev_no) in get_dev_to_use() argument 40 if (strcmp(synth->dev_name, SYNTH_DEFAULT_DEV) || in get_dev_to_use() 41 synth->ser == SYNTH_DEFAULT_SER) in get_dev_to_use() 42 return tty_dev_name_to_number(synth->dev_name, dev_no); in get_dev_to_use() 44 return ser_to_dev(synth->ser, dev_no); in get_dev_to_use() 78 struct spk_synth *synth = ldisc_data->synth; in spk_ttyio_receive_buf2() local 80 if (synth->read_buff_add) { in spk_ttyio_receive_buf2() 84 synth->read_buff_add(cp[i]); in spk_ttyio_receive_buf2() 143 static int spk_ttyio_initialise_ldisc(struct spk_synth *synth) in spk_ttyio_initialise_ldisc() argument [all …]
|
| H A D | speakup_keypc.c | 26 static int synth_probe(struct spk_synth *synth); 27 static void keynote_release(struct spk_synth *synth); 28 static const char *synth_immediate(struct spk_synth *synth, const char *buf); 29 static void do_catch_up(struct spk_synth *synth); 30 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 173 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument 199 synth->flush(synth); in do_catch_up() 258 static void synth_flush(struct spk_synth *synth) in synth_flush() argument 263 static int synth_probe(struct spk_synth *synth) in synth_probe() argument [all …]
|
| H A D | speakup_apollo.c | 25 static void do_catch_up(struct spk_synth *synth); 138 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument 166 synth->flush(synth); in do_catch_up() 178 if (!synth->io_ops->synth_out(synth, ch)) { in do_catch_up() 179 synth->io_ops->tiocmset(synth, 0, UART_MCR_RTS); in do_catch_up() 180 synth->io_ops->tiocmset(synth, UART_MCR_RTS, 0); in do_catch_up() 190 if (synth->io_ops->synth_out(synth, synth->procspeech)) in do_catch_up() 203 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
|
| H A D | speakup_acntpc.c | 27 static int synth_probe(struct spk_synth *synth); 28 static void accent_release(struct spk_synth *synth); 29 static const char *synth_immediate(struct spk_synth *synth, const char *buf); 30 static void do_catch_up(struct spk_synth *synth); 31 static void synth_flush(struct spk_synth *synth); 149 static const char *synth_immediate(struct spk_synth *synth, const char *buf) in synth_immediate() argument 171 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument 198 synth->flush(synth); in do_catch_up() 251 static void synth_flush(struct spk_synth *synth) in synth_flush() argument 256 static int synth_probe(struct spk_synth *synth) in synth_probe() argument [all …]
|
| H A D | speakup_dtlk.c | 26 static int synth_probe(struct spk_synth *synth); 27 static void dtlk_release(struct spk_synth *synth); 28 static const char *synth_immediate(struct spk_synth *synth, const char *buf); 29 static void do_catch_up(struct spk_synth *synth); 30 static void synth_flush(struct spk_synth *synth); 191 static void do_catch_up(struct spk_synth *synth) in do_catch_up() argument 212 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 [all …]
|
| H A D | speakup_ltlk.c | 19 static int synth_probe(struct spk_synth *synth); 139 static void synth_interrogate(struct spk_synth *synth) in synth_interrogate() argument 144 synth->synth_immediate(synth, "\x18\x01?"); in synth_interrogate() 146 buf[i] = synth->io_ops->synth_in(synth); in synth_interrogate() 157 pr_info("%s: ROM version: %s\n", synth->long_name, rom_v); in synth_interrogate() 160 static int synth_probe(struct spk_synth *synth) in synth_probe() argument 164 failed = spk_ttyio_synth_probe(synth); in synth_probe() 166 synth_interrogate(synth); in synth_probe() 167 synth->alive = !failed; in synth_probe()
|
| H A D | speakup_spkout.c | 19 static void synth_flush(struct spk_synth *synth); 129 static void synth_flush(struct spk_synth *synth) in synth_flush() argument 131 synth->io_ops->flush_buffer(synth); in synth_flush() 132 synth->io_ops->send_xchar(synth, SYNTH_CLEAR); in synth_flush()
|
| H A D | speakup_acntsa.c | 20 static int synth_probe(struct spk_synth *synth); 126 static int synth_probe(struct spk_synth *synth) in synth_probe() argument 130 failed = spk_ttyio_synth_probe(synth); in synth_probe() 132 synth->synth_immediate(synth, "\033=R\r"); in synth_probe() 135 synth->alive = !failed; in synth_probe()
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | core.h | 87 struct zl3073x_synth synth[ZL3073X_NUM_SYNTHS]; member 279 const struct zl3073x_synth *synth; in zl3073x_dev_synth_freq_get() local 281 synth = zl3073x_synth_state_get(zldev, index); in zl3073x_dev_synth_freq_get() 282 return zl3073x_synth_freq_get(synth); in zl3073x_dev_synth_freq_get() 311 const struct zl3073x_synth *synth; in zl3073x_dev_out_is_enabled() local 316 synth = zl3073x_synth_state_get(zldev, synth_id); in zl3073x_dev_out_is_enabled() 318 return zl3073x_synth_is_enabled(synth) && zl3073x_out_is_enabled(out); in zl3073x_dev_out_is_enabled() 345 const struct zl3073x_synth *synth; in zl3073x_dev_out_dpll_get() local 350 synth = zl3073x_synth_state_get(zldev, synth_id); in zl3073x_dev_out_dpll_get() 353 return zl3073x_synth_dpll_get(synth); in zl3073x_dev_out_dpll_get() [all …]
|
| H A D | prop.c | 45 u8 out, synth; in zl3073x_pin_check_freq() local 49 synth = zl3073x_dev_out_synth_get(zldev, out); in zl3073x_pin_check_freq() 52 synth_freq = zl3073x_dev_synth_freq_get(zldev, synth); in zl3073x_pin_check_freq() 213 u8 out, synth; in zl3073x_pin_props_get() local 222 synth = zl3073x_dev_out_synth_get(zldev, out); in zl3073x_pin_props_get() 223 f = 2 * zl3073x_dev_synth_freq_get(zldev, synth); in zl3073x_pin_props_get()
|
| /linux/drivers/clk/ |
| H A D | clk-si5341.c | 73 struct clk_si5341_synth synth[SI5341_NUM_SYNTH]; member 565 struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); in si5341_synth_clk_is_on() local 568 u8 index = synth->index; in si5341_synth_clk_is_on() 570 err = regmap_read(synth->data->regmap, in si5341_synth_clk_is_on() 578 err = regmap_read(synth->data->regmap, SI5341_SYNTH_N_PDNB, &val); in si5341_synth_clk_is_on() 586 err = regmap_read(synth->data->regmap, SI5341_SYNTH_N_CLK_DIS, &val); in si5341_synth_clk_is_on() 595 struct clk_si5341_synth *synth = to_clk_si5341_synth(hw); in si5341_synth_clk_unprepare() local 596 u8 index = synth->index; /* In range 0..5 */ in si5341_synth_clk_unprepare() 600 regmap_update_bits(synth->data->regmap, in si5341_synth_clk_unprepare() 603 regmap_update_bits(synth->data->regmap, in si5341_synth_clk_unprepare() [all …]
|
| /linux/sound/synth/emux/ |
| H A D | Makefile | 7 snd-emux-synth-y := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ 9 snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o 11 snd-emux-synth-y += emux_oss.o 14 obj-$(CONFIG_SND_SYNTH_EMUX) += snd-emux-synth.o
|
| /linux/drivers/clk/spear/ |
| H A D | Makefile | 6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
|
| /linux/sound/drivers/opl3/ |
| H A D | Makefile | 8 snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o 10 snd-opl3-synth-y += opl3_oss.o 15 obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-speakup | 165 What: /sys/accessibility/speakup/synth 169 synth returns the synthesizer driver currently in use. Writing 170 synth switches to the given synthesizer driver, provided it is 266 What: /sys/accessibility/speakup/<synth-name>/ 284 What: /sys/accessibility/speakup/<synth-name>/caps_start 292 What: /sys/accessibility/speakup/<synth-name>/caps_stop 301 What: /sys/accessibility/speakup/<synth-name>/delay_time 306 What: /sys/accessibility/speakup/<synth-name>/direct 317 What: /sys/accessibility/speakup/<synth-name>/freq 323 What: /sys/accessibility/speakup/<synth-name>/flush_time [all …]
|
| /linux/sound/drivers/opl4/ |
| H A D | Makefile | 9 snd-opl4-synth-y := opl4_seq.o opl4_synth.o yrw801.o 12 obj-$(CONFIG_SND_OPL4_LIB_SEQ) += snd-opl4-synth.o
|
| /linux/sound/pci/emu10k1/ |
| H A D | Makefile | 11 snd-emu10k1-synth-y := emu10k1_synth.o emu10k1_callback.o emu10k1_patch.o 16 obj-$(CONFIG_SND_EMU10K1_SEQ) += snd-emu10k1-synth.o
|
| /linux/Documentation/sound/designs/ |
| H A D | seq-oss.rst | 35 It purely depends on the synth drivers whether it's supported since 36 the patch loading is realized by callback to the synth driver. 41 are dependent on the synth driver, as well as even on original OSS. 55 it. No such a restriction in synth devices. 76 will be created. If the synth module of your sound card supports for OSS 85 The available synth and MIDI devices can be found in proc interface. 96 Number of synth devices: 1 97 synth 0: [EMU8000] 123 If the lowlevel driver supports multiple access to synth devices (like 238 filled by the synth driver at open callback. The ``addr`` contains [all …]
|