Home
last modified time | relevance | path

Searched refs:sysrq (Results 1 – 25 of 29) sorted by relevance

12

/drivers/tty/
Dsysrq.c582 struct sysrq_state *sysrq = in sysrq_reinject_alt_sysrq() local
584 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq()
585 unsigned int alt_code = sysrq->alt_use; in sysrq_reinject_alt_sysrq()
587 if (sysrq->need_reinject) { in sysrq_reinject_alt_sysrq()
589 sysrq->reinjecting = true; in sysrq_reinject_alt_sysrq()
602 sysrq->reinjecting = false; in sysrq_reinject_alt_sysrq()
609 struct sysrq_state *sysrq = handle->private; in sysrq_filter() local
610 bool was_active = sysrq->active; in sysrq_filter()
617 if (sysrq->reinjecting) in sysrq_filter()
633 if (sysrq->active && code == sysrq->alt_use) in sysrq_filter()
[all …]
DMakefile6 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
/drivers/s390/char/
Dkeyboard.c305 if (kbd->sysrq) { in kbd_keycode()
306 if (kbd->sysrq == K(KT_LATIN, '-')) { in kbd_keycode()
307 kbd->sysrq = 0; in kbd_keycode()
312 kbd->sysrq = K(KT_LATIN, '-'); in kbd_keycode()
316 (*k_handler[KTYP(kbd->sysrq)])(kbd, KVAL(kbd->sysrq)); in kbd_keycode()
317 kbd->sysrq = 0; in kbd_keycode()
320 kbd->sysrq = K(type, value); in kbd_keycode()
Dkeyboard.h31 unsigned short sysrq; member
/drivers/usb/serial/
Dgeneric.c372 if (!port->port.console || !port->sysrq) in usb_serial_generic_process_read_urb()
488 if (port->sysrq && port->port.console) { in usb_serial_handle_sysrq_char()
489 if (ch && time_before(jiffies, port->sysrq)) { in usb_serial_handle_sysrq_char()
491 port->sysrq = 0; in usb_serial_handle_sysrq_char()
494 port->sysrq = 0; in usb_serial_handle_sysrq_char()
508 if (!port->sysrq) { in usb_serial_handle_break()
509 port->sysrq = jiffies + HZ*5; in usb_serial_handle_break()
512 port->sysrq = 0; in usb_serial_handle_break()
Df81232.c142 if (port->port.console && port->sysrq) { in f81232_process_read_urb()
Dssu100.c639 if (port->port.console && port->sysrq) { in ssu100_process_packet()
Dpl2303.c816 if (port->port.console && port->sysrq) { in pl2303_process_read_urb()
/drivers/tty/hvc/
Dhvsi.c94 uint8_t sysrq; member
342 hp->sysrq = 1; in hvsi_insert_chars()
344 } else if (hp->sysrq) { in hvsi_insert_chars()
346 hp->sysrq = 0; in hvsi_insert_chars()
/drivers/tty/serial/
Dsunhv.c436 if (port->sysrq) { in sunhv_console_write_paged()
495 if (port->sysrq) { in sunhv_console_write_bychar()
Dclps711x.c125 port->sysrq = 0; in clps711xuart_int_rx()
Dar933x_uart.c473 if (up->port.sysrq) in ar933x_uart_console_write()
Dbcm63xx_uart.c722 if (port->sysrq) { in bcm_console_write()
Dpnx8xxx_uart.c225 sport->port.sysrq = 0; in pnx8xxx_rx_chars()
Dpmac_zilog.c265 uap->port.sysrq = jiffies + HZ*5; in pmz_receive_chars()
269 if (uap->port.sysrq) { in pmz_receive_chars()
Dsa1100.c223 sport->port.sysrq = 0; in sa1100_rx_chars()
Dsunsab.c854 if (up->port.sysrq) { in sunsab_console_write()
Ducc_uart.c565 port->sysrq = 0; in qe_uart_int_rx()
Dmpc52xx_uart.c952 port->sysrq = 0; in mpc52xx_uart_int_rx_chars()
Dmfd.c1117 if (up->port.sysrq) in serial_hsu_console_write()
Dsunsu.c1299 if (up->port.sysrq) { in sunsu_console_write()
Dimx.c567 sport->port.sysrq = 0; in imx_rxint()
Dsunzilog.c1206 if (up->port.sysrq) { in sunzilog_console_write()
Dpch_uart.c1570 if (priv->port.sysrq) { in pch_console_write()
/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c363 port->sysrq = 0; in cpm_uart_int_rx()

12