/Linux-v4.19/drivers/staging/speakup/ |
D | serialio.c | 104 speakup_info.port_tts = ser->port; in spk_serial_init() 117 spin_lock_irqsave(&speakup_info.spinlock, flags); in synth_readbuf_handler() 118 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler() 119 c = inb_p(speakup_info.port_tts + UART_RX); in synth_readbuf_handler() 122 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in synth_readbuf_handler() 140 speakup_info.port_tts + UART_MCR); in start_serial_interrupt() 143 speakup_info.port_tts + UART_IER); in start_serial_interrupt() 144 inb(speakup_info.port_tts + UART_LSR); in start_serial_interrupt() 145 inb(speakup_info.port_tts + UART_RX); in start_serial_interrupt() 146 inb(speakup_info.port_tts + UART_IIR); in start_serial_interrupt() [all …]
|
D | speakup_acntpc.c | 137 return inb_p(speakup_info.port_tts + UART_RX) == 'F'; in synth_full() 156 outb_p(ch, speakup_info.port_tts); in synth_immediate() 179 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 181 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 185 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 186 if (speakup_info.flushing) { in do_catch_up() 187 speakup_info.flushing = 0; in do_catch_up() 188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 194 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 199 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | speakup_decpc.c | 236 dt_stat = inb_p(speakup_info.port_tts) | in dt_getstatus() 237 (inb_p(speakup_info.port_tts + 1) << 8); in dt_getstatus() 243 outb_p(cmd & 0xFF, speakup_info.port_tts); in dt_sendcmd() 244 outb_p((cmd >> 8) & 0xFF, speakup_info.port_tts + 1); in dt_sendcmd() 280 outb_p(0, speakup_info.port_tts + 2); in dt_ctrl() 281 outb_p(0, speakup_info.port_tts + 3); in dt_ctrl() 284 outb_p(0, speakup_info.port_tts + 6); in dt_ctrl() 312 outb_p(DMA_sync, speakup_info.port_tts + 4); in synth_flush() 313 outb_p(0, speakup_info.port_tts + 4); in synth_flush() 331 outb_p(DMA_single_in, speakup_info.port_tts + 4); in dt_sendchar() [all …]
|
D | speakup_dtlk.c | 147 synth_status = inb_p(speakup_info.port_tts + UART_RX); in synth_readable() 153 synth_status = inb_p(speakup_info.port_tts + UART_RX); in synth_writable() 159 synth_status = inb_p(speakup_info.port_tts + UART_RX); in synth_full() 172 outb_p(ch, speakup_info.port_tts); in spk_out() 193 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 198 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 199 if (speakup_info.flushing) { in do_catch_up() 200 speakup_info.flushing = 0; in do_catch_up() 201 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | speakup_soft.c | 172 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open() 174 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open() 178 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open() 186 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close() 189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close() 210 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read() 215 if (!synth_buffer_empty() || speakup_info.flushing) in softsynthx_read() 217 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read() 227 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read() 236 if (speakup_info.flushing) { in softsynthx_read() [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_apollo.c | 140 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 142 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 146 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 150 if (speakup_info.flushing) { in do_catch_up() 151 speakup_info.flushing = 0; in do_catch_up() 152 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 158 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 164 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 172 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 176 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | speakup_decext.c | 154 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 156 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 160 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 161 if (speakup_info.flushing) { in do_catch_up() 162 speakup_info.flushing = 0; in do_catch_up() 163 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 169 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 175 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 183 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 185 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | speakup_keypc.c | 180 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 182 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 186 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 187 if (speakup_info.flushing) { in do_catch_up() 188 speakup_info.flushing = 0; in do_catch_up() 189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 200 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 214 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 216 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() [all …]
|
D | speakup_dectlk.c | 209 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 211 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 227 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 228 if (speakup_info.flushing) { in do_catch_up() 229 speakup_info.flushing = 0; in do_catch_up() 230 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 236 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 243 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up() 251 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up() 253 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() 216 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_store() 237 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show() 254 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_show() 271 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store() 274 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store() 281 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store() 300 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 | i18n.c | 563 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_msg_set() 567 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_msg_set() 594 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_reset_msg_group() 601 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_reset_msg_group() 617 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_free_user_msgs() 624 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() 1514 spin_lock_irqsave(&speakup_info.spinlock, flags); in pre_handle_cursor() 1518 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() 1525 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() 1528 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor() [all …]
|
D | devsynth.c | 34 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_file_write() 36 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_file_write()
|
D | serialio.h | 42 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
|
D | spk_priv.h | 76 extern struct speakup_info_t speakup_info;
|