| /linux-6.15/drivers/accessibility/speakup/ |
| H A D | serialio.c | 106 speakup_info.port_tts = ser->port; in spk_serial_init() 146 inb(speakup_info.port_tts + UART_LSR); in start_serial_interrupt() 147 inb(speakup_info.port_tts + UART_RX); in start_serial_interrupt() 148 inb(speakup_info.port_tts + UART_IIR); in start_serial_interrupt() 149 inb(speakup_info.port_tts + UART_MSR); in start_serial_interrupt() 162 outb(ch, speakup_info.port_tts); in spk_serial_send_xchar() 203 if (speakup_info.port_tts == 0) in spk_stop_serial_interrupt() 286 outb_p(ch, speakup_info.port_tts); in spk_serial_out() 301 outb(ch, speakup_info.port_tts); in spk_serial_synth_immediate() 313 if (speakup_info.port_tts == 0) in spk_serial_release() [all …]
|
| H A D | speakup_acntpc.c | 165 outb_p(ch, speakup_info.port_tts); in synth_immediate() 195 if (speakup_info.flushing) { in do_catch_up() 196 speakup_info.flushing = 0; in do_catch_up() 225 outb_p(ch, speakup_info.port_tts); in do_catch_up() 248 outb_p(PROCSPEECH, speakup_info.port_tts); in do_catch_up() 253 outb_p(SYNTH_CLEAR, speakup_info.port_tts); in synth_flush() 263 speakup_info.port_tts = port_forced; in synth_probe() 265 speakup_info.port_tts); in synth_probe() 271 port_val = inw(speakup_info.port_tts - 1); in synth_probe() 309 if (speakup_info.port_tts) in accent_release() [all …]
|
| H A D | speakup_decpc.c | 295 outb_p(0, speakup_info.port_tts + 2); in dt_ctrl() 296 outb_p(0, speakup_info.port_tts + 3); in dt_ctrl() 299 outb_p(0, speakup_info.port_tts + 6); in dt_ctrl() 328 outb_p(0, speakup_info.port_tts + 4); in synth_flush() 367 speakup_info.port_tts); in testkernel() 370 speakup_info.port_tts = 0; in testkernel() 394 if (speakup_info.flushing) { in do_catch_up() 395 speakup_info.flushing = 0; in do_catch_up() 482 speakup_info.port_tts, speakup_info.port_tts + 7, in synth_probe() 491 if (speakup_info.port_tts) in dtpc_release() [all …]
|
| H A D | speakup_dtlk.c | 182 outb_p(ch, speakup_info.port_tts); in spk_out() 209 if (speakup_info.flushing) { in do_catch_up() 210 speakup_info.flushing = 0; in do_catch_up() 264 outb_p(SYNTH_CLEAR, speakup_info.port_tts); in synth_flush() 276 outb_p(ch, speakup_info.port_tts); in synth_read_tts() 334 speakup_info.port_tts = port_forced; in synth_probe() 336 speakup_info.port_tts); in synth_probe() 345 synth_lpc = speakup_info.port_tts - 1; in synth_probe() 354 speakup_info.port_tts = synth_lpc + 1; in synth_probe() 381 if (speakup_info.port_tts) in dtlk_release() [all …]
|
| H A D | speakup_apollo.c | 153 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 155 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 159 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 163 if (speakup_info.flushing) { in do_catch_up() 164 speakup_info.flushing = 0; in do_catch_up() 165 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 171 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 177 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 185 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 199 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
| H A D | synth.c | 27 struct speakup_info_t speakup_info = { variable 43 EXPORT_SYMBOL_GPL(speakup_info); 71 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up() 73 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up() 77 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up() 78 if (speakup_info.flushing) { in _spk_do_catch_up() 79 speakup_info.flushing = 0; in _spk_do_catch_up() 105 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up() 119 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up() 199 speakup_info.flushing = 1; in spk_do_flush() [all …]
|
| H A D | speakup_decext.c | 167 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 169 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 173 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 174 if (speakup_info.flushing) { in do_catch_up() 175 speakup_info.flushing = 0; in do_catch_up() 176 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 196 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 198 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 210 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up() [all …]
|
| H A D | speakup_soft.c | 195 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open() 201 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open() 209 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close() 233 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read() 240 if (!synth_buffer_empty() || speakup_info.flushing) in softsynthx_read() 253 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read() 264 if (speakup_info.flushing) { in softsynthx_read() 265 speakup_info.flushing = 0; in softsynthx_read() 311 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read() 359 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_poll() [all …]
|
| H A D | speakup_keypc.c | 189 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 191 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 195 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 196 if (speakup_info.flushing) { in do_catch_up() 197 speakup_info.flushing = 0; in do_catch_up() 198 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 204 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 209 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 223 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 225 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
| H A D | speakup_dectlk.c | 228 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 231 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 248 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 249 if (speakup_info.flushing) { in do_catch_up() 250 speakup_info.flushing = 0; in do_catch_up() 251 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 264 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 272 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 274 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 286 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up() [all …]
|
| H A D | kobjects.c | 39 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_show() 74 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_show() 132 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_store() 241 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show() 275 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store() 351 spin_lock_irqsave(&speakup_info.spinlock, flags); in silent_store() 428 spin_lock_irqsave(&speakup_info.spinlock, flags); in synth_direct_store() 481 spin_lock_irqsave(&speakup_info.spinlock, flags); in punc_show() 529 spin_lock_irqsave(&speakup_info.spinlock, flags); in punc_store() 558 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_var_show() [all …]
|
| H A D | thread.c | 27 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_thread() 35 (speakup_info.flushing || in speakup_thread() 37 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_thread()
|
| H A D | devsynth.c | 31 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_file_write() 33 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_file_write() 86 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_file_writeu() 90 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_file_writeu()
|
| H A D | i18n.c | 568 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_msg_set() 572 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_msg_set() 599 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_reset_msg_group() 606 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_reset_msg_group() 622 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_free_user_msgs() 629 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_free_user_msgs()
|
| H A D | main.c | 1171 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_handle_shift() 1193 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_shift() 1200 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_handle_latin() 1217 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_latin() 1524 spin_lock_irqsave(&speakup_info.spinlock, flags); in pre_handle_cursor() 1538 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() 1547 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_handle_cursor() 1570 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_cursor() 1696 spin_lock_irqsave(&speakup_info.spinlock, flags); in cursor_done() 1816 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_handle_spec() [all …]
|
| H A D | serialio.h | 38 (!uart_lsr_tx_empty(inb(speakup_info.port_tts + UART_LSR)))
|
| H A D | spk_priv.h | 76 extern struct speakup_info_t speakup_info;
|