Home
last modified time | relevance | path

Searched refs:speakup_info (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dserialio.c106 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 …]
Dspeakup_acntpc.c137 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 …]
Dspeakup_decpc.c240 dt_stat = inb_p(speakup_info.port_tts) | in dt_getstatus()
241 (inb_p(speakup_info.port_tts + 1) << 8); in dt_getstatus()
247 outb_p(cmd & 0xFF, speakup_info.port_tts); in dt_sendcmd()
248 outb_p((cmd >> 8) & 0xFF, speakup_info.port_tts + 1); in dt_sendcmd()
284 outb_p(0, speakup_info.port_tts + 2); in dt_ctrl()
285 outb_p(0, speakup_info.port_tts + 3); in dt_ctrl()
288 outb_p(0, speakup_info.port_tts + 6); in dt_ctrl()
316 outb_p(DMA_sync, speakup_info.port_tts + 4); in synth_flush()
317 outb_p(0, speakup_info.port_tts + 4); in synth_flush()
335 outb_p(DMA_single_in, speakup_info.port_tts + 4); in dt_sendchar()
[all …]
Dspeakup_dtlk.c147 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 …]
Dspeakup_decext.c158 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
160 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
164 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
165 if (speakup_info.flushing) { in do_catch_up()
166 speakup_info.flushing = 0; in do_catch_up()
167 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
173 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
179 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
187 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
[all …]
Dspeakup_apollo.c140 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 …]
Dspeakup_soft.c176 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
178 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
182 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
190 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
193 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
214 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
221 if (!synth_buffer_empty() || speakup_info.flushing) in softsynthx_read()
224 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
234 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
245 if (speakup_info.flushing) { in softsynthx_read()
[all …]
Dsynth.c27 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 …]
Dspeakup_keypc.c180 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 …]
Dspeakup_dectlk.c213 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
215 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
231 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
232 if (speakup_info.flushing) { in do_catch_up()
233 speakup_info.flushing = 0; in do_catch_up()
234 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
240 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
247 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
255 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
257 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
[all …]
Dkobjects.c39 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 …]
Dthread.c27 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()
Di18n.c563 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()
Dmain.c1171 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()
1516 spin_lock_irqsave(&speakup_info.spinlock, flags); in pre_handle_cursor()
1520 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor()
1527 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor()
1530 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor()
[all …]
Ddevsynth.c30 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_file_write()
32 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_file_write()
Dserialio.h39 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
Dspk_priv.h76 extern struct speakup_info_t speakup_info;