Searched refs:sysrq (Results 1 – 25 of 32) sorted by relevance
12
676 struct sysrq_state *sysrq = in sysrq_reinject_alt_sysrq() local678 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq()679 unsigned int alt_code = sysrq->alt_use; in sysrq_reinject_alt_sysrq()681 if (sysrq->need_reinject) { in sysrq_reinject_alt_sysrq()683 sysrq->reinjecting = true; in sysrq_reinject_alt_sysrq()696 sysrq->reinjecting = false; in sysrq_reinject_alt_sysrq()700 static bool sysrq_handle_keypress(struct sysrq_state *sysrq, in sysrq_handle_keypress() argument703 bool was_active = sysrq->active; in sysrq_handle_keypress()712 if (sysrq->active && code == sysrq->alt_use) in sysrq_handle_keypress()713 sysrq->active = false; in sysrq_handle_keypress()[all …]
6 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
344 if (!port->port.console || !port->sysrq) in usb_serial_generic_process_read_urb()540 if (port->sysrq && port->port.console) { in usb_serial_handle_sysrq_char()541 if (ch && time_before(jiffies, port->sysrq)) { in usb_serial_handle_sysrq_char()543 port->sysrq = 0; in usb_serial_handle_sysrq_char()546 port->sysrq = 0; in usb_serial_handle_sysrq_char()560 if (!port->sysrq) { in usb_serial_handle_break()561 port->sysrq = jiffies + HZ*5; in usb_serial_handle_break()564 port->sysrq = 0; in usb_serial_handle_break()
132 if (port->port.console && port->sysrq) { in f81232_process_read_urb()
536 if (port->port.console && port->sysrq) { in ssu100_process_read_urb()
800 if (port->port.console && port->sysrq) { in pl2303_process_read_urb()
304 if (kbd->sysrq) { in kbd_keycode()305 if (kbd->sysrq == K(KT_LATIN, '-')) { in kbd_keycode()306 kbd->sysrq = 0; in kbd_keycode()311 kbd->sysrq = K(KT_LATIN, '-'); in kbd_keycode()315 (*k_handler[KTYP(kbd->sysrq)])(kbd, KVAL(kbd->sysrq)); in kbd_keycode()316 kbd->sysrq = 0; in kbd_keycode()319 kbd->sysrq = K(type, value); in kbd_keycode()
30 unsigned short sysrq; member
93 uint8_t sysrq; member340 hp->sysrq = 1; in hvsi_insert_chars()342 } else if (hp->sysrq) { in hvsi_insert_chars()344 hp->sysrq = 0; in hvsi_insert_chars()
437 if (port->sysrq) { in sunhv_console_write_paged()496 if (port->sysrq) { in sunhv_console_write_bychar()
148 if (up->port.sysrq) in lpc32xx_hsuart_console_write()
537 if (up->port.sysrq) in ar933x_uart_console_write()
568 sport->port.sysrq = 0; in imx_rxint()1219 if (sport->port.sysrq) in imx_console_write()
720 if (port->sysrq) { in bcm_console_write()
224 sport->port.sysrq = 0; in pnx8xxx_rx_chars()
265 uap->port.sysrq = jiffies + HZ*5; in pmz_receive_chars()269 if (uap->port.sysrq) { in pmz_receive_chars()
222 sport->port.sysrq = 0; in sa1100_rx_chars()
573 if (port->sysrq) { in pch_uart_hal_read()1634 if (priv->port.sysrq) { in pch_console_write()
677 if (up->port.sysrq) in serial_pxa_console_write()
565 port->sysrq = 0; in qe_uart_int_rx()
848 if (up->port.sysrq) { in sunsab_console_write()
956 port->sysrq = 0; in mpc52xx_uart_int_rx_chars()
1299 if (up->port.sysrq) { in sunsu_console_write()
131 unsigned long sysrq; /* sysrq timeout */ member
363 port->sysrq = 0; in cpm_uart_int_rx()