/linux-6.1.9/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 …]
|
/linux-6.1.9/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 | 520 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_noirq_suspend() local 521 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_noirq_suspend() 522 unsigned short reg_val = readw(kbd->mmio_base + KPSR); in imx_kbd_noirq_suspend() 528 clk_disable_unprepare(kbd->clk); in imx_kbd_noirq_suspend() 537 writew(reg_val, kbd->mmio_base + KPSR); in imx_kbd_noirq_suspend() 539 enable_irq_wake(kbd->irq); in imx_kbd_noirq_suspend() 548 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_noirq_resume() local 549 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_noirq_resume() 553 disable_irq_wake(kbd->irq); in imx_kbd_noirq_resume() 558 ret = clk_prepare_enable(kbd->clk); in imx_kbd_noirq_resume()
|
/linux-6.1.9/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 479 tty3270_rcl_backward(struct kbd_data *kbd) in tty3270_rcl_backward() argument 481 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_rcl_backward() 506 tty3270_exit_tty(struct kbd_data *kbd) in tty3270_exit_tty() argument 508 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_exit_tty() 517 tty3270_scroll_forward(struct kbd_data *kbd) in tty3270_scroll_forward() argument 519 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_scroll_forward() 539 tty3270_scroll_backward(struct kbd_data *kbd) in tty3270_scroll_backward() argument 541 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_scroll_backward() 605 kbd_keycode(tp->kbd, *input++); in tty3270_read_tasklet() [all …]
|
/linux-6.1.9/include/linux/ |
D | kbd_kern.h | 63 extern void setledstate(struct kbd_struct *kbd, unsigned int led); 72 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument 74 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode() 77 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument 79 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led() 82 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument 84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 87 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument 89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 92 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/ |
D | sysrq.rst | 63 你可以按下键盘组合键 :kbd:`ALT-SysRq-<command key>`。 67 同时有些键盘无法处理同时按下这么多键,因此你可以先按下键盘 :kbd:`Alt` 键, 68 然后按下键盘 :kbd:`SysRq` 键,再释放键盘 :kbd:`SysRq` 键,之后按下键盘上命令键 69 :kbd:`<command key>`,最后释放所有键。 72 你可以按下键盘组合键 :kbd:`ALT-STOP-<command key>` 。 79 按下键盘组合键 :kbd:`ALT - Print Screen` (或者 :kbd:`F13`) - :kbd:`<命令键>` 。 80 :kbd:`Print Screen` (或者 :kbd:`F13`) - :kbd:`<命令键>` 或许也能实现。 90 这个命令键 :kbd:`<command key>` 是区分大小写的。 206 一个无效的 SysRq 键序列可以解决问题。(比如,像键盘组合键 :kbd:`alt-sysrq-z` ) 207 切换到另一个虚拟控制台(键盘操作 :kbd:`ALT+Fn` ),然后再切回来应该也有帮助。 [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/tty/vt/ |
D | keyboard.c | 111 static struct kbd_struct *kbd = kbd_table; variable 457 if (kbd->kbdmode == VC_UNICODE) in handle_diacr() 474 if (kbd->kbdmode == VC_UNICODE) in fn_enter() 485 if (vc_kbd_mode(kbd, VC_CRLF)) in fn_enter() 494 chg_vc_kbd_led(kbd, VC_CAPSLOCK); in fn_caps_toggle() 502 set_vc_kbd_led(kbd, VC_CAPSLOCK); in fn_caps_on() 533 if (vc_kbd_mode(kbd, VC_APPLIC)) in fn_num() 548 chg_vc_kbd_led(kbd, VC_NUMLOCK); in fn_bare_num() 662 if ((kbd->kbdmode == VC_RAW || in k_spec() 663 kbd->kbdmode == VC_MEDIUMRAW || in k_spec() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/chrome/ |
D | google,cros-kbd-led-backlight.yaml | 4 $id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml# 14 const: google,cros-kbd-led-backlight 31 kbd-led-backlight { 32 compatible = "google,cros-kbd-led-backlight";
|
/linux-6.1.9/Documentation/devicetree/bindings/input/ |
D | spear-keyboard.txt | 4 - compatible: "st,spear300-kbd" 13 kbd@fc400000 { 14 compatible = "st,spear300-kbd";
|
/linux-6.1.9/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 | 62 struct platform_device *kbd = of_find_device_by_node(dp); in sparc_i8042_probe() local 63 unsigned int irq = kbd->archdata.irqs[0]; in sparc_i8042_probe() 67 kbd_iobase = of_ioremap(&kbd->resource[0], in sparc_i8042_probe() 69 kbd_res = &kbd->resource[0]; in sparc_i8042_probe()
|
/linux-6.1.9/Documentation/dev-tools/ |
D | kgdb.rst | 161 kgdboc=[kms][[,]kbd][[,]serial_device][,baud] 170 - kbd = Keyboard 237 kgdboc=kbd,<serial_device>[,baud] 241 kgdboc=kbd,ttyS0,115200 245 kgdboc=kbd 249 kgdboc=kms,kbd 253 kgdboc=kms,kbd,ttyS0,115200 258 protocol. You must manually send a :kbd:`SysRq-G` unless you have a proxy 261 "human" console. The proxy can take care of sending the :kbd:`SysRq-G` 270 to issue a :kbd:`Sysrq` sequence and then type the letter :kbd:`g`. Then you [all …]
|
/linux-6.1.9/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 :kbd:`alt-sysrq-z`). 212 Switching to another virtual console (:kbd:`ALT+Fn`) and then back again 275 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
|
/linux-6.1.9/drivers/auxdisplay/ |
D | panel.c | 160 } kbd; member 1204 char *press_str = input->u.kbd.press_str; in input_state_high() 1207 int s = sizeof(input->u.kbd.press_str); in input_state_high() 1213 if (input->u.kbd.repeat_str[0]) { in input_state_high() 1214 char *repeat_str = input->u.kbd.repeat_str; in input_state_high() 1217 int s = sizeof(input->u.kbd.repeat_str); in input_state_high() 1255 if (input->u.kbd.repeat_str[0]) { in input_state_falling() 1256 char *repeat_str = input->u.kbd.repeat_str; in input_state_falling() 1259 int s = sizeof(input->u.kbd.repeat_str); in input_state_falling() 1280 char *release_str = input->u.kbd.release_str; in input_state_falling() [all …]
|
/linux-6.1.9/Documentation/sphinx-static/ |
D | theme_rtd_colors.css | 33 code.kbd, code.kbd span {
|
D | theme_overrides.css | 101 code.kbd, code.kbd span {
|
/linux-6.1.9/arch/powerpc/platforms/chrp/ |
D | setup.c | 504 struct device_node *kbd; in chrp_init_IRQ() local 523 for_each_node_by_name(kbd, "keyboard") in chrp_init_IRQ() 524 if (of_node_is_type(kbd->parent, "adb")) in chrp_init_IRQ() 526 of_node_put(kbd); in chrp_init_IRQ() 527 if (kbd) { in chrp_init_IRQ()
|
/linux-6.1.9/Documentation/translations/zh_CN/process/ |
D | email-clients.rst | 88 当写邮件时,光标应该放在补丁会出现的地方,然后按下 :kbd:`CTRL-R` 组合键,使指 96 用 :menuselection:`Message-->Insert File` (:kbd:`CTRL-I`) 或外置编辑器插入补丁。 108 从 :menuselection:`格式-->段落样式-->预格式化` (:kbd:`CTRL-7`) 112 :menuselection:`插入-->文本文件...` (:kbd:`ALT-N x`) 插入补丁文件。
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | spear300.dtsi | 74 kbd@a0000000 { 75 compatible = "st,spear300-kbd";
|
/linux-6.1.9/Documentation/admin-guide/media/ |
D | remote-controller.rst | 34 ir-kbd-i2c module. 55 the keymaps, like the input kbd utility.
|