/Linux-v4.19/drivers/tty/ |
D | sysrq.c | 748 struct sysrq_state *sysrq = in sysrq_reinject_alt_sysrq() local 750 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq() 751 unsigned int alt_code = sysrq->alt_use; in sysrq_reinject_alt_sysrq() 753 if (sysrq->need_reinject) { in sysrq_reinject_alt_sysrq() 755 sysrq->reinjecting = true; in sysrq_reinject_alt_sysrq() 768 sysrq->reinjecting = false; in sysrq_reinject_alt_sysrq() 772 static bool sysrq_handle_keypress(struct sysrq_state *sysrq, in sysrq_handle_keypress() argument 775 bool was_active = sysrq->active; in sysrq_handle_keypress() 784 if (sysrq->active && code == sysrq->alt_use) in sysrq_handle_keypress() 785 sysrq->active = false; in sysrq_handle_keypress() [all …]
|
D | Makefile | 9 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
/Linux-v4.19/Documentation/devicetree/bindings/input/ |
D | input-reset.txt | 1 Input: sysrq reset sequence 5 sysrq driver. Upon holding the keys for a specified amount of time (if 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 15 sysrq-reset-seq: array of Linux keycodes, one keycode per cell. 19 generating a sysrq. If omitted the system is rebooted immediately when a valid 25 linux,sysrq-reset-seq {
|
/Linux-v4.19/Documentation/admin-guide/ |
D | sysrq.rst | 4 Documentation for sysrq.c 17 /proc/sys/kernel/sysrq controls the functions allowed to be invoked via 20 to 1. Here is the list of possible values in /proc/sys/kernel/sysrq: 22 - 0 - disable sysrq completely 23 - 1 - enable all functions of sysrq 24 - >1 - bitmask of allowed sysrq functions (see below for detailed function 38 echo "number" >/proc/sys/kernel/sysrq 44 Note that the value of ``/proc/sys/kernel/sysrq`` influences only the invocation 45 via a keyboard. Invocation of any operation via ``/proc/sysrq-trigger`` is 76 write a character to /proc/sysrq-trigger. e.g.:: [all …]
|
D | index.rst | 66 sysrq
|
/Linux-v4.19/tools/testing/selftests/pstore/ |
D | pstore_crash_test | 16 echo 1 > /proc/sys/kernel/sysrq 30 echo c > /proc/sysrq-trigger
|
/Linux-v4.19/include/linux/ |
D | serial_core.h | 175 unsigned long sysrq; /* sysrq timeout */ member 475 if (port->sysrq) { in uart_handle_sysrq_char() 476 if (ch && time_before(jiffies, port->sysrq)) { in uart_handle_sysrq_char() 478 port->sysrq = 0; in uart_handle_sysrq_char() 481 port->sysrq = 0; in uart_handle_sysrq_char() 501 if (!port->sysrq) { in uart_handle_break() 502 port->sysrq = jiffies + HZ*5; in uart_handle_break() 505 port->sysrq = 0; in uart_handle_break()
|
/Linux-v4.19/drivers/s390/char/ |
D | ctrlchar.c | 23 struct sysrq_work *sysrq = container_of(work, struct sysrq_work, work); in ctrlchar_handle_sysrq() local 25 handle_sysrq(sysrq->key); in ctrlchar_handle_sysrq()
|
D | keyboard.c | 331 if (kbd->sysrq) { in kbd_keycode() 332 if (kbd->sysrq == K(KT_LATIN, '-')) { in kbd_keycode() 333 kbd->sysrq = 0; in kbd_keycode() 338 kbd->sysrq = K(KT_LATIN, '-'); in kbd_keycode() 342 (*k_handler[KTYP(kbd->sysrq)])(kbd, KVAL(kbd->sysrq)); in kbd_keycode() 343 kbd->sysrq = 0; in kbd_keycode() 346 kbd->sysrq = K(type, value); in kbd_keycode()
|
D | keyboard.h | 42 unsigned short sysrq; member
|
D | sclp_vt220.c | 484 static struct sysrq_work sysrq; variable 506 sysrq.key = buffer[i]; in sclp_vt220_handle_input() 507 schedule_sysrq_work(&sysrq); in sclp_vt220_handle_input()
|
/Linux-v4.19/drivers/usb/serial/ |
D | generic.c | 362 if (!port->port.console || !port->sysrq) { in usb_serial_generic_process_read_urb() 571 if (port->sysrq && port->port.console) { in usb_serial_handle_sysrq_char() 572 if (ch && time_before(jiffies, port->sysrq)) { in usb_serial_handle_sysrq_char() 574 port->sysrq = 0; in usb_serial_handle_sysrq_char() 577 port->sysrq = 0; in usb_serial_handle_sysrq_char() 591 if (!port->sysrq) { in usb_serial_handle_break() 592 port->sysrq = jiffies + HZ*5; in usb_serial_handle_break() 595 port->sysrq = 0; in usb_serial_handle_break()
|
D | ssu100.c | 540 if (port->port.console && port->sysrq) { in ssu100_process_read_urb()
|
/Linux-v4.19/drivers/tty/serial/ |
D | sunhv.c | 155 if (port->sysrq != 0 && *con_read_page) { in receive_chars_read() 445 if (port->sysrq || oops_in_progress) in sunhv_console_write_paged() 500 if (port->sysrq || oops_in_progress) in sunhv_console_write_bychar()
|
D | msm_serial.c | 538 int count = 0, i, sysrq; in msm_complete_rx_dma() local 581 sysrq = uart_handle_sysrq_char(port, dma->virt[i]); in msm_complete_rx_dma() 583 if (!sysrq) in msm_complete_rx_dma() 710 int sysrq, r_count, i; in msm_handle_rx_dm() local 736 sysrq = uart_handle_sysrq_char(port, buf[i]); in msm_handle_rx_dm() 738 if (!sysrq) in msm_handle_rx_dm() 776 int sysrq; in msm_handle_rx() local 799 sysrq = uart_handle_sysrq_char(port, c); in msm_handle_rx() 801 if (!sysrq) in msm_handle_rx()
|
D | qcom_geni_serial.c | 489 int sysrq; in handle_rx_console() local 498 sysrq = uart_handle_sysrq_char(uport, buf[c]); in handle_rx_console() 499 if (!sysrq) in handle_rx_console()
|
/Linux-v4.19/Documentation/ |
D | SAK.txt | 17 sysrq support. 20 ``loadkeys``. This will work whether or not sysrq support is compiled
|
/Linux-v4.19/arch/um/kernel/ |
D | Makefile | 20 signal.o syscall.o sysrq.o time.o tlb.o trap.o \
|
/Linux-v4.19/arch/um/ |
D | Kconfig | 142 On UML, this is accomplished by sending a "sysrq" command with 145 The keys are documented in <file:Documentation/admin-guide/sysrq.rst>. Don't say Y
|
/Linux-v4.19/drivers/tty/hvc/ |
D | hvsi.c | 80 uint8_t sysrq; member 329 hp->sysrq = 1; in hvsi_insert_chars() 331 } else if (hp->sysrq) { in hvsi_insert_chars() 333 hp->sysrq = 0; in hvsi_insert_chars()
|
/Linux-v4.19/arch/mips/kernel/ |
D | Makefile | 82 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
/Linux-v4.19/include/linux/usb/ |
D | serial.h | 120 unsigned long sysrq; /* sysrq timeout */ member
|
/Linux-v4.19/Documentation/x86/ |
D | exception-tables.txt | 58 the get_user call in drivers/char/sysrq.c for a detailed examination. 60 The original code in sysrq.c line 587:
|
/Linux-v4.19/include/linux/mfd/ |
D | cros_ec_commands.h | 2101 uint32_t sysrq; member 2109 uint32_t sysrq; member
|
/Linux-v4.19/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 258 val = get_unaligned_le32(&ckdev->ec->event_data.data.sysrq); in cros_ec_keyb_work()
|