/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
D | usbkbd.c | 102 struct usb_kbd *kbd = urb->context; in usb_kbd_irq() local 118 input_report_key(kbd->dev, usb_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1); in usb_kbd_irq() 122 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) { in usb_kbd_irq() 123 if (usb_kbd_keycode[kbd->old[i]]) in usb_kbd_irq() 124 input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0); in usb_kbd_irq() 128 kbd->old[i]); in usb_kbd_irq() 131 if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) { in usb_kbd_irq() 132 if (usb_kbd_keycode[kbd->new[i]]) in usb_kbd_irq() 133 input_report_key(kbd->dev, usb_kbd_keycode[kbd->new[i]], 1); in usb_kbd_irq() 137 kbd->new[i]); in usb_kbd_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | spear-keyboard.c | 71 struct spear_kbd *kbd = dev_id; in spear_kbd_interrupt() local 72 struct input_dev *input = kbd->input; in spear_kbd_interrupt() 76 sts = readl_relaxed(kbd->io_base + STATUS_REG); in spear_kbd_interrupt() 80 if (kbd->last_key != KEY_RESERVED) { in spear_kbd_interrupt() 81 input_report_key(input, kbd->last_key, 0); in spear_kbd_interrupt() 82 kbd->last_key = KEY_RESERVED; in spear_kbd_interrupt() 86 val = readl_relaxed(kbd->io_base + DATA_REG) & in spear_kbd_interrupt() 88 key = kbd->keycodes[val]; in spear_kbd_interrupt() 94 kbd->last_key = key; in spear_kbd_interrupt() 97 writel_relaxed(0, kbd->io_base + STATUS_REG); in spear_kbd_interrupt() [all …]
|
D | maple_keyb.c | 81 static void dc_scan_kbd(struct dc_kbd *kbd) in dc_scan_kbd() argument 83 struct input_dev *dev = kbd->dev; in dc_scan_kbd() 90 keycode = kbd->keycode[code]; in dc_scan_kbd() 92 input_report_key(dev, keycode, (kbd->new[0] >> i) & 1); in dc_scan_kbd() 96 ptr = memchr(kbd->new + 2, kbd->old[i], 6); in dc_scan_kbd() 97 code = kbd->old[i]; in dc_scan_kbd() 99 keycode = kbd->keycode[code]; in dc_scan_kbd() 108 ptr = memchr(kbd->old + 2, kbd->new[i], 6); in dc_scan_kbd() 109 code = kbd->new[i]; in dc_scan_kbd() 111 keycode = kbd->keycode[code]; in dc_scan_kbd() [all …]
|
D | hil_kbd.c | 146 static void hil_dev_handle_kbd_events(struct hil_dev *kbd) in hil_dev_handle_kbd_events() argument 148 struct input_dev *dev = kbd->dev; in hil_dev_handle_kbd_events() 149 int idx = kbd->idx4 / 4; in hil_dev_handle_kbd_events() 152 switch (kbd->data[0] & HIL_POL_CHARTYPE_MASK) { in hil_dev_handle_kbd_events() 158 input_report_key(dev, kbd->data[i] & 0x7f, 1); in hil_dev_handle_kbd_events() 165 input_report_key(dev, kbd->data[i], 1); in hil_dev_handle_kbd_events() 170 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events() 181 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events() 192 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events() 326 static void hil_dev_keyboard_setup(struct hil_dev *kbd) in hil_dev_keyboard_setup() argument [all …]
|
D | imx_keypad.c | 528 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_noirq_suspend() local 529 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_noirq_suspend() 530 unsigned short reg_val = readw(kbd->mmio_base + KPSR); in imx_kbd_noirq_suspend() 536 clk_disable_unprepare(kbd->clk); in imx_kbd_noirq_suspend() 545 writew(reg_val, kbd->mmio_base + KPSR); in imx_kbd_noirq_suspend() 547 enable_irq_wake(kbd->irq); in imx_kbd_noirq_suspend() 556 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_noirq_resume() local 557 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_noirq_resume() 561 disable_irq_wake(kbd->irq); in imx_kbd_noirq_resume() 566 ret = clk_prepare_enable(kbd->clk); in imx_kbd_noirq_resume()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | keyboard.c | 77 struct kbd_data *kbd; in kbd_alloc() local 80 kbd = kzalloc(sizeof(struct kbd_data), GFP_KERNEL); in kbd_alloc() 81 if (!kbd) in kbd_alloc() 83 kbd->key_maps = kzalloc(sizeof(ebc_key_maps), GFP_KERNEL); in kbd_alloc() 84 if (!kbd->key_maps) in kbd_alloc() 88 kbd->key_maps[i] = kmemdup(ebc_key_maps[i], in kbd_alloc() 91 if (!kbd->key_maps[i]) in kbd_alloc() 95 kbd->func_table = kzalloc(sizeof(ebc_func_table), GFP_KERNEL); in kbd_alloc() 96 if (!kbd->func_table) in kbd_alloc() 100 kbd->func_table[i] = kstrdup(ebc_func_table[i], in kbd_alloc() [all …]
|
D | tty3270.c | 97 struct kbd_data *kbd; /* key_maps stuff. */ member 477 tty3270_rcl_backward(struct kbd_data *kbd) in tty3270_rcl_backward() argument 479 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_rcl_backward() 504 tty3270_exit_tty(struct kbd_data *kbd) in tty3270_exit_tty() argument 506 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_exit_tty() 515 tty3270_scroll_forward(struct kbd_data *kbd) in tty3270_scroll_forward() argument 517 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_scroll_forward() 537 tty3270_scroll_backward(struct kbd_data *kbd) in tty3270_scroll_backward() argument 539 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_scroll_backward() 603 kbd_keycode(tp->kbd, *input++); in tty3270_read_tasklet() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | kbd_kern.h | 68 extern void setledstate(struct kbd_struct *kbd, unsigned int led); 83 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument 85 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode() 88 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument 90 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led() 93 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument 95 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 98 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument 100 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 103 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument [all …]
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | xen-kbdfront.c | 36 struct input_dev *kbd; member 97 } else if (test_bit(key->keycode, info->kbd->keybit)) { in xenkbd_handle_key_event() 98 dev = info->kbd; in xenkbd_handle_key_event() 99 if (key->pressed && test_bit(key->keycode, info->kbd->key)) in xenkbd_handle_key_event() 206 struct input_dev *kbd, *ptr, *mtouch; in xenkbd_probe() local 247 kbd = input_allocate_device(); in xenkbd_probe() 248 if (!kbd) in xenkbd_probe() 250 kbd->name = "Xen Virtual Keyboard"; in xenkbd_probe() 251 kbd->phys = info->phys; in xenkbd_probe() 252 kbd->id.bustype = BUS_PCI; in xenkbd_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/vt/ |
D | keyboard.c | 113 static struct kbd_struct *kbd = kbd_table; variable 431 if (kbd->kbdmode == VC_UNICODE) in handle_diacr() 448 if (kbd->kbdmode == VC_UNICODE) in fn_enter() 459 if (vc_kbd_mode(kbd, VC_CRLF)) in fn_enter() 468 chg_vc_kbd_led(kbd, VC_CAPSLOCK); in fn_caps_toggle() 476 set_vc_kbd_led(kbd, VC_CAPSLOCK); in fn_caps_on() 507 if (vc_kbd_mode(kbd, VC_APPLIC)) in fn_num() 522 chg_vc_kbd_led(kbd, VC_NUMLOCK); in fn_bare_num() 636 if ((kbd->kbdmode == VC_RAW || in k_spec() 637 kbd->kbdmode == VC_MEDIUMRAW || in k_spec() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
D | spear-keyboard.txt | 4 - compatible: "st,spear300-kbd" 13 kbd@fc400000 { 14 compatible = "st,spear300-kbd";
|
/kernel/linux/linux-5.10/drivers/input/serio/ |
D | ioc3kbd.c | 22 struct serio *kbd, *aux; member 113 ioc3kbd_process_data(d->kbd, data_k); in ioc3kbd_intr() 171 d->kbd = sk; in ioc3kbd_probe() 176 serio_register_port(d->kbd); in ioc3kbd_probe() 182 serio_unregister_port(d->kbd); in ioc3kbd_probe() 199 serio_unregister_port(d->kbd); in ioc3kbd_remove()
|
D | i8042-sparcio.h | 61 struct platform_device *kbd = of_find_device_by_node(dp); in sparc_i8042_probe() local 62 unsigned int irq = kbd->archdata.irqs[0]; in sparc_i8042_probe() 66 kbd_iobase = of_ioremap(&kbd->resource[0], in sparc_i8042_probe() 68 kbd_res = &kbd->resource[0]; in sparc_i8042_probe()
|
/kernel/linux/linux-5.10/Documentation/dev-tools/ |
D | kgdb.rst | 162 kgdboc=[kms][[,]kbd][[,]serial_device][,baud] 171 - kbd = Keyboard 238 kgdboc=kbd,<serial_device>[,baud] 242 kgdboc=kbd,ttyS0,115200 246 kgdboc=kbd 250 kgdboc=kms,kbd 254 kgdboc=kms,kbd,ttyS0,115200 259 protocol. You must manually send a :kbd:`SysRq-G` unless you have a proxy 262 "human" console. The proxy can take care of sending the :kbd:`SysRq-G` 271 to issue a :kbd:`Sysrq` sequence and then type the letter :kbd:`g`. Then you [all …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | sysrq.rst | 52 You press the key combo :kbd:`ALT-SysRq-<command key>`. 59 have better luck with press :kbd:`Alt`, press :kbd:`SysRq`, 60 release :kbd:`SysRq`, press :kbd:`<command key>`, release everything. 63 You press :kbd:`ALT-STOP-<command key>`, I believe. 70 Press :kbd:`ALT - Print Screen` (or :kbd:`F13`) - :kbd:`<command key>`. 71 :kbd:`Print Screen` (or :kbd:`F13`) - :kbd:`<command key>` may suffice. 82 The :kbd:`<command key>` is case sensitive. 210 will fix the problem. (i.e., something like :kbd:`alt-sysrq-z`). Switching to 211 another virtual console (:kbd:`ALT+Fn`) and then back again should also help. 273 to temporarily up the console loglevel using :kbd:`alt-sysrq-8` or::
|
D | braille-console.rst | 24 :kbd:`PAGE-UP`/:kbd:`PAGE-DOWN` keys go at the top/bottom of the screen, and 25 the :kbd:`HOME` key goes back
|
/kernel/linux/linux-5.10/drivers/auxdisplay/ |
D | panel.c | 159 } kbd; member 1254 char *press_str = input->u.kbd.press_str; in input_state_high() 1257 int s = sizeof(input->u.kbd.press_str); in input_state_high() 1263 if (input->u.kbd.repeat_str[0]) { in input_state_high() 1264 char *repeat_str = input->u.kbd.repeat_str; in input_state_high() 1267 int s = sizeof(input->u.kbd.repeat_str); in input_state_high() 1305 if (input->u.kbd.repeat_str[0]) { in input_state_falling() 1306 char *repeat_str = input->u.kbd.repeat_str; in input_state_falling() 1309 int s = sizeof(input->u.kbd.repeat_str); in input_state_falling() 1330 char *release_str = input->u.kbd.release_str; in input_state_falling() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/ |
D | setup.c | 513 struct device_node *kbd; in chrp_init_IRQ() local 532 for_each_node_by_name(kbd, "keyboard") in chrp_init_IRQ() 533 if (of_node_is_type(kbd->parent, "adb")) in chrp_init_IRQ() 535 of_node_put(kbd); in chrp_init_IRQ() 536 if (kbd) { in chrp_init_IRQ()
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | spear300.dtsi | 74 kbd@a0000000 { 75 compatible = "st,spear300-kbd";
|
D | spear13xx.dtsi | 246 kbd@e0300000 { 247 compatible = "st,spear300-kbd";
|
D | spear1310-evb.dts | 55 kbd { 245 kbd@e0300000 {
|
/kernel/linux/linux-5.10/Documentation/sphinx-static/ |
D | theme_overrides.css | 111 code.kbd, code.kbd span {
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | remote-controller.rst | 34 ir-kbd-i2c module. 55 the keymaps, like the input kbd utility.
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | ams-delta-fiq-handler.S | 145 ldr r10, [r9, #BUF_STATE] @ fetch kbd interface state 161 mvn r11, #KEYBRD_CLK_MASK @ prepare all except kbd mask
|
/kernel/linux/linux-5.10/Documentation/process/ |
D | email-clients.rst | 89 should appear, and then pressing :kbd:`CTRL-R` let you specify the patch file 97 To insert a patch use :menuselection:`Message-->Insert File` (:kbd:`CTRL-I`) 111 from :menuselection:`Format-->Paragraph Style-->Preformatted` (:kbd:`CTRL-7`) 115 :menuselection:`Insert-->Text File...` (:kbd:`ALT-N x`)
|