sysrq             260 drivers/input/keyboard/cros_ec_keyb.c 		val = get_unaligned_le32(&ckdev->ec->event_data.data.sysrq);
sysrq              23 drivers/s390/char/ctrlchar.c 	struct sysrq_work *sysrq = container_of(work, struct sysrq_work, work);
sysrq              25 drivers/s390/char/ctrlchar.c 	handle_sysrq(sysrq->key);
sysrq             331 drivers/s390/char/keyboard.c 		if (kbd->sysrq) {
sysrq             332 drivers/s390/char/keyboard.c 			if (kbd->sysrq == K(KT_LATIN, '-')) {
sysrq             333 drivers/s390/char/keyboard.c 				kbd->sysrq = 0;
sysrq             338 drivers/s390/char/keyboard.c 				kbd->sysrq = K(KT_LATIN, '-');
sysrq             342 drivers/s390/char/keyboard.c 			(*k_handler[KTYP(kbd->sysrq)])(kbd, KVAL(kbd->sysrq));
sysrq             343 drivers/s390/char/keyboard.c 			kbd->sysrq = 0;
sysrq             346 drivers/s390/char/keyboard.c 			kbd->sysrq = K(type, value);
sysrq              42 drivers/s390/char/keyboard.h 	unsigned short sysrq;
sysrq             484 drivers/s390/char/sclp_vt220.c static struct sysrq_work sysrq;
sysrq             506 drivers/s390/char/sclp_vt220.c 			sysrq.key = buffer[i];
sysrq             507 drivers/s390/char/sclp_vt220.c 			schedule_sysrq_work(&sysrq);
sysrq              80 drivers/tty/hvc/hvsi.c 	uint8_t sysrq;
sysrq             329 drivers/tty/hvc/hvsi.c 			hp->sysrq = 1;
sysrq             331 drivers/tty/hvc/hvsi.c 		} else if (hp->sysrq) {
sysrq             333 drivers/tty/hvc/hvsi.c 			hp->sysrq = 0;
sysrq            2218 drivers/tty/serial/amba-pl011.c 	if (uap->port.sysrq)
sysrq             551 drivers/tty/serial/ar933x_uart.c 	if (up->port.sysrq)
sysrq             709 drivers/tty/serial/bcm63xx_uart.c 	if (port->sysrq) {
sysrq             351 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	port->sysrq = 0;
sysrq             667 drivers/tty/serial/fsl_linflexuart.c 	if (sport->sysrq)
sysrq             869 drivers/tty/serial/fsl_lpuart.c 			sport->port.sysrq = 0;
sysrq             951 drivers/tty/serial/fsl_lpuart.c 			sport->port.sysrq = 0;
sysrq            2098 drivers/tty/serial/fsl_lpuart.c 	if (sport->port.sysrq || oops_in_progress)
sysrq            2128 drivers/tty/serial/fsl_lpuart.c 	if (sport->port.sysrq || oops_in_progress)
sysrq             792 drivers/tty/serial/imx.c 			sport->port.sysrq = 0;
sysrq            1950 drivers/tty/serial/imx.c 	if (sport->port.sysrq)
sysrq             141 drivers/tty/serial/lpc32xx_hs.c 	if (up->port.sysrq)
sysrq             475 drivers/tty/serial/meson_uart.c 	if (port->sysrq) {
sysrq            1387 drivers/tty/serial/mpc52xx_uart.c 			port->sysrq = 0;
sysrq             542 drivers/tty/serial/msm_serial.c 	int count = 0, i, sysrq;
sysrq             585 drivers/tty/serial/msm_serial.c 		sysrq = uart_handle_sysrq_char(port, dma->virt[i]);
sysrq             587 drivers/tty/serial/msm_serial.c 		if (!sysrq)
sysrq             714 drivers/tty/serial/msm_serial.c 		int sysrq, r_count, i;
sysrq             740 drivers/tty/serial/msm_serial.c 			sysrq = uart_handle_sysrq_char(port, buf[i]);
sysrq             742 drivers/tty/serial/msm_serial.c 			if (!sysrq)
sysrq             780 drivers/tty/serial/msm_serial.c 		int sysrq;
sysrq             803 drivers/tty/serial/msm_serial.c 		sysrq = uart_handle_sysrq_char(port, c);
sysrq             805 drivers/tty/serial/msm_serial.c 		if (!sysrq)
sysrq            1596 drivers/tty/serial/msm_serial.c 	if (port->sysrq)
sysrq            1311 drivers/tty/serial/omap-serial.c 	if (up->port.sysrq)
sysrq             503 drivers/tty/serial/owl-uart.c 	if (port->sysrq)
sysrq             591 drivers/tty/serial/pch_uart.c 		if (port->sysrq) {
sysrq            1643 drivers/tty/serial/pch_uart.c 	if (priv->port.sysrq) {
sysrq             253 drivers/tty/serial/pmac_zilog.c 			uap->port.sysrq = jiffies + HZ*5;
sysrq             257 drivers/tty/serial/pmac_zilog.c 		if (uap->port.sysrq) {
sysrq             224 drivers/tty/serial/pnx8xxx_uart.c 			sport->port.sysrq = 0;
sysrq             650 drivers/tty/serial/pxa.c 	if (up->port.sysrq)
sysrq             495 drivers/tty/serial/qcom_geni_serial.c 			int sysrq;
sysrq             504 drivers/tty/serial/qcom_geni_serial.c 			sysrq = uart_prepare_sysrq_char(uport, buf[c]);
sysrq             506 drivers/tty/serial/qcom_geni_serial.c 			if (!sysrq)
sysrq             598 drivers/tty/serial/rda-uart.c 	if (port->sysrq) {
sysrq             218 drivers/tty/serial/sa1100.c 			sport->port.sysrq = 0;
sysrq            3025 drivers/tty/serial/sh-sci.c 	if (port->sysrq)
sysrq             781 drivers/tty/serial/sifive.c 	if (ssp->port.sysrq)
sysrq             971 drivers/tty/serial/sprd_serial.c 	if (port->sysrq)
sysrq             886 drivers/tty/serial/st-asc.c 	if (port->sysrq)
sysrq            1269 drivers/tty/serial/stm32-usart.c 	if (port->sysrq)
sysrq             155 drivers/tty/serial/sunhv.c 		if (port->sysrq != 0 &&  *con_read_page) {
sysrq             445 drivers/tty/serial/sunhv.c 	if (port->sysrq || oops_in_progress)
sysrq             500 drivers/tty/serial/sunhv.c 	if (port->sysrq || oops_in_progress)
sysrq             868 drivers/tty/serial/sunsab.c 	if (up->port.sysrq || oops_in_progress)
sysrq            1312 drivers/tty/serial/sunsu.c 	if (up->port.sysrq || oops_in_progress)
sysrq            1209 drivers/tty/serial/sunzilog.c 	if (up->port.sysrq || oops_in_progress)
sysrq             555 drivers/tty/serial/ucc_uart.c 	port->sysrq = 0;
sysrq            1203 drivers/tty/serial/xilinx_uartps.c 	if (port->sysrq)
sysrq             748 drivers/tty/sysrq.c 	struct sysrq_state *sysrq =
sysrq             750 drivers/tty/sysrq.c 	struct input_handle *handle = &sysrq->handle;
sysrq             751 drivers/tty/sysrq.c 	unsigned int alt_code = sysrq->alt_use;
sysrq             753 drivers/tty/sysrq.c 	if (sysrq->need_reinject) {
sysrq             755 drivers/tty/sysrq.c 		sysrq->reinjecting = true;
sysrq             768 drivers/tty/sysrq.c 		sysrq->reinjecting = false;
sysrq             772 drivers/tty/sysrq.c static bool sysrq_handle_keypress(struct sysrq_state *sysrq,
sysrq             775 drivers/tty/sysrq.c 	bool was_active = sysrq->active;
sysrq             784 drivers/tty/sysrq.c 			if (sysrq->active && code == sysrq->alt_use)
sysrq             785 drivers/tty/sysrq.c 				sysrq->active = false;
sysrq             787 drivers/tty/sysrq.c 			sysrq->alt = KEY_RESERVED;
sysrq             790 drivers/tty/sysrq.c 			sysrq->alt = code;
sysrq             791 drivers/tty/sysrq.c 			sysrq->need_reinject = false;
sysrq             796 drivers/tty/sysrq.c 		if (value == 1 && sysrq->alt != KEY_RESERVED) {
sysrq             797 drivers/tty/sysrq.c 			sysrq->active = true;
sysrq             798 drivers/tty/sysrq.c 			sysrq->alt_use = sysrq->alt;
sysrq             803 drivers/tty/sysrq.c 			sysrq->need_reinject = true;
sysrq             814 drivers/tty/sysrq.c 		if (sysrq->active)
sysrq             815 drivers/tty/sysrq.c 			clear_bit(KEY_SYSRQ, sysrq->handle.dev->key);
sysrq             820 drivers/tty/sysrq.c 		if (sysrq->active && value && value != 2) {
sysrq             821 drivers/tty/sysrq.c 			sysrq->need_reinject = false;
sysrq             827 drivers/tty/sysrq.c 	suppress = sysrq->active;
sysrq             829 drivers/tty/sysrq.c 	if (!sysrq->active) {
sysrq             834 drivers/tty/sysrq.c 		if (sysrq->reset_seq_version != sysrq_reset_seq_version)
sysrq             835 drivers/tty/sysrq.c 			sysrq_parse_reset_sequence(sysrq);
sysrq             843 drivers/tty/sysrq.c 			set_bit(code, sysrq->key_down);
sysrq             845 drivers/tty/sysrq.c 			clear_bit(code, sysrq->key_down);
sysrq             848 drivers/tty/sysrq.c 			schedule_work(&sysrq->reinject_work);
sysrq             851 drivers/tty/sysrq.c 		sysrq_detect_reset_sequence(sysrq, code, value);
sysrq             853 drivers/tty/sysrq.c 	} else if (value == 0 && test_and_clear_bit(code, sysrq->key_down)) {
sysrq             867 drivers/tty/sysrq.c 	struct sysrq_state *sysrq = handle->private;
sysrq             874 drivers/tty/sysrq.c 	if (sysrq->reinjecting)
sysrq             884 drivers/tty/sysrq.c 		suppress = sysrq_handle_keypress(sysrq, code, value);
sysrq             888 drivers/tty/sysrq.c 		suppress = sysrq->active;
sysrq             899 drivers/tty/sysrq.c 	struct sysrq_state *sysrq;
sysrq             902 drivers/tty/sysrq.c 	sysrq = kzalloc(sizeof(struct sysrq_state), GFP_KERNEL);
sysrq             903 drivers/tty/sysrq.c 	if (!sysrq)
sysrq             906 drivers/tty/sysrq.c 	INIT_WORK(&sysrq->reinject_work, sysrq_reinject_alt_sysrq);
sysrq             908 drivers/tty/sysrq.c 	sysrq->handle.dev = dev;
sysrq             909 drivers/tty/sysrq.c 	sysrq->handle.handler = handler;
sysrq             910 drivers/tty/sysrq.c 	sysrq->handle.name = "sysrq";
sysrq             911 drivers/tty/sysrq.c 	sysrq->handle.private = sysrq;
sysrq             912 drivers/tty/sysrq.c 	timer_setup(&sysrq->keyreset_timer, sysrq_do_reset, 0);
sysrq             914 drivers/tty/sysrq.c 	error = input_register_handle(&sysrq->handle);
sysrq             921 drivers/tty/sysrq.c 	error = input_open_device(&sysrq->handle);
sysrq             930 drivers/tty/sysrq.c 	input_unregister_handle(&sysrq->handle);
sysrq             932 drivers/tty/sysrq.c 	kfree(sysrq);
sysrq             938 drivers/tty/sysrq.c 	struct sysrq_state *sysrq = handle->private;
sysrq             941 drivers/tty/sysrq.c 	cancel_work_sync(&sysrq->reinject_work);
sysrq             942 drivers/tty/sysrq.c 	del_timer_sync(&sysrq->keyreset_timer);
sysrq             944 drivers/tty/sysrq.c 	kfree(sysrq);
sysrq             368 drivers/usb/serial/f81232.c 		if (port->port.console && port->sysrq) {
sysrq            1241 drivers/usb/serial/f81534.c 		if (port->port.console && port->sysrq) {
sysrq            2562 drivers/usb/serial/ftdi_sio.c 	if (port->port.console && port->sysrq) {
sysrq             358 drivers/usb/serial/generic.c 	if (!port->port.console || !port->sysrq) {
sysrq             577 drivers/usb/serial/generic.c 	if (port->sysrq && port->port.console) {
sysrq             578 drivers/usb/serial/generic.c 		if (ch && time_before(jiffies, port->sysrq)) {
sysrq             580 drivers/usb/serial/generic.c 			port->sysrq = 0;
sysrq             583 drivers/usb/serial/generic.c 		port->sysrq = 0;
sysrq             597 drivers/usb/serial/generic.c 	if (!port->sysrq) {
sysrq             598 drivers/usb/serial/generic.c 		port->sysrq = jiffies + HZ*5;
sysrq             601 drivers/usb/serial/generic.c 	port->sysrq = 0;
sysrq             330 drivers/usb/serial/mxuport.c 	if (!port->port.console || !port->sysrq) {
sysrq            1026 drivers/usb/serial/pl2303.c 	if (port->port.console && port->sysrq) {
sysrq             520 drivers/usb/serial/ssu100.c 	if (port->port.console && port->sysrq) {
sysrq            3400 include/linux/platform_data/cros_ec_commands.h 	uint32_t sysrq;
sysrq            3425 include/linux/platform_data/cros_ec_commands.h 	uint32_t sysrq;
sysrq             165 include/linux/serial_core.h 	unsigned long		sysrq;			/* sysrq timeout */
sysrq             467 include/linux/serial_core.h 	if (port->sysrq) {
sysrq             468 include/linux/serial_core.h 		if (ch && time_before(jiffies, port->sysrq)) {
sysrq             470 include/linux/serial_core.h 			port->sysrq = 0;
sysrq             473 include/linux/serial_core.h 		port->sysrq = 0;
sysrq             480 include/linux/serial_core.h 	if (port->sysrq) {
sysrq             481 include/linux/serial_core.h 		if (ch && time_before(jiffies, port->sysrq)) {
sysrq             483 include/linux/serial_core.h 			port->sysrq = 0;
sysrq             486 include/linux/serial_core.h 		port->sysrq = 0;
sysrq             527 include/linux/serial_core.h 		if (!port->sysrq) {
sysrq             528 include/linux/serial_core.h 			port->sysrq = jiffies + HZ*5;
sysrq             531 include/linux/serial_core.h 		port->sysrq = 0;
sysrq             114 include/linux/usb/serial.h 	unsigned long		sysrq; /* sysrq timeout */