/linux-6.12.1/drivers/accessibility/speakup/ |
D | serialio.c | 106 speakup_info.port_tts = ser->port; in spk_serial_init() 119 spin_lock_irqsave(&speakup_info.spinlock, flags); in synth_readbuf_handler() 120 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler() 121 c = inb_p(speakup_info.port_tts + UART_RX); in synth_readbuf_handler() 124 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in synth_readbuf_handler() 142 speakup_info.port_tts + UART_MCR); in start_serial_interrupt() 145 speakup_info.port_tts + UART_IER); in start_serial_interrupt() 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() [all …]
|
D | speakup_acntpc.c | 146 return inb_p(speakup_info.port_tts + UART_RX) == 'F'; in synth_full() 165 outb_p(ch, speakup_info.port_tts); in synth_immediate() 188 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 190 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 194 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 195 if (speakup_info.flushing) { in do_catch_up() 196 speakup_info.flushing = 0; in do_catch_up() 197 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 203 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 208 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | speakup_decpc.c | 251 dt_stat = inb_p(speakup_info.port_tts) | in dt_getstatus() 252 (inb_p(speakup_info.port_tts + 1) << 8); in dt_getstatus() 258 outb_p(cmd & 0xFF, speakup_info.port_tts); in dt_sendcmd() 259 outb_p((cmd >> 8) & 0xFF, speakup_info.port_tts + 1); in dt_sendcmd() 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() 327 outb_p(DMA_sync, speakup_info.port_tts + 4); in synth_flush() 328 outb_p(0, speakup_info.port_tts + 4); in synth_flush() 346 outb_p(DMA_single_in, speakup_info.port_tts + 4); in dt_sendchar() [all …]
|
D | speakup_dtlk.c | 157 synth_status = inb_p(speakup_info.port_tts + UART_RX); in synth_readable() 163 synth_status = inb_p(speakup_info.port_tts + UART_RX); in synth_writable() 169 synth_status = inb_p(speakup_info.port_tts + UART_RX); in synth_full() 182 outb_p(ch, speakup_info.port_tts); in spk_out() 203 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 205 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 208 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 209 if (speakup_info.flushing) { in do_catch_up() 210 speakup_info.flushing = 0; in do_catch_up() 211 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
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() 189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | synth.c | 27 struct speakup_info_t speakup_info = { variable 40 .spinlock = __SPIN_LOCK_UNLOCKED(speakup_info.spinlock), 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() 80 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up() 87 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up() [all …]
|
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() 182 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() [all …]
|
D | speakup_soft.c | 195 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open() 197 spin_unlock_irqrestore(&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() 212 spin_unlock_irqrestore(&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() 243 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read() 253 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read() 264 if (speakup_info.flushing) { in softsynthx_read() [all …]
|
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 …]
|
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() 257 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() [all …]
|
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() 220 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_store() 241 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show() 258 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_show() 275 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store() 278 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store() 285 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store() 304 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store() [all …]
|
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()
|
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()
|
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()
|
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() 1204 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_latin() 1208 spin_unlock_irqrestore(&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() 1528 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() 1535 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() 1538 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() [all …]
|
D | serialio.h | 38 (!uart_lsr_tx_empty(inb(speakup_info.port_tts + UART_LSR)))
|
D | spk_priv.h | 76 extern struct speakup_info_t speakup_info;
|