/linux/drivers/hid/usbhid/ |
A D | usbkbd.c | 122 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) { 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() 143 memcpy(kbd->old, kbd->new, 8); in usb_kbd_irq() 172 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_event() 177 *(kbd->leds) = kbd->newleds; in usb_kbd_event() 179 kbd->led->dev = kbd->usbdev; in usb_kbd_event() 201 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_led() 207 *(kbd->leds) = kbd->newleds; in usb_kbd_led() 209 kbd->led->dev = kbd->usbdev; in usb_kbd_led() 222 kbd->irq->dev = kbd->usbdev; in usb_kbd_open() [all …]
|
/linux/drivers/input/keyboard/ |
A D | spear-keyboard.c | 94 kbd->last_key = key; in spear_kbd_interrupt() 142 clk_disable(kbd->clk); in spear_kbd_close() 161 kbd->rep = true; in spear_kbd_parse_dt() 172 kbd->mode = val; in spear_kbd_parse_dt() 197 kbd = devm_kzalloc(&pdev->dev, sizeof(*kbd), GFP_KERNEL); in spear_kbd_probe() 198 if (!kbd) { in spear_kbd_probe() 210 kbd->irq = irq; in spear_kbd_probe() 228 if (IS_ERR(kbd->clk)) in spear_kbd_probe() 247 if (kbd->rep) in spear_kbd_probe() 254 "keyboard", kbd); in spear_kbd_probe() [all …]
|
A D | maple_keyb.c | 96 ptr = memchr(kbd->new + 2, kbd->old[i], 6); in dc_scan_kbd() 97 code = kbd->old[i]; in dc_scan_kbd() 108 ptr = memchr(kbd->old + 2, kbd->new[i], 6); in dc_scan_kbd() 122 memcpy(kbd->old, kbd->new, 8); in dc_scan_kbd() 139 dc_scan_kbd(kbd); in dc_kbd_callback() 151 struct dc_kbd *kbd; in probe_maple_kbd() local 158 if (!kbd) { in probe_maple_kbd() 169 kbd->dev = idev; in probe_maple_kbd() 170 memcpy(kbd->keycode, dc_kbd_keycode, sizeof(kbd->keycode)); in probe_maple_kbd() 204 kfree(kbd); in probe_maple_kbd() [all …]
|
A D | hil_kbd.c | 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() 328 struct input_dev *input_dev = kbd->dev; in hil_dev_keyboard_setup() 329 uint8_t did = kbd->idd[0]; in hil_dev_keyboard_setup() [all …]
|
A D | imx_keypad.c | 519 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_noirq_suspend() local 520 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_noirq_suspend() 521 unsigned short reg_val = readw(kbd->mmio_base + KPSR); in imx_kbd_noirq_suspend() 527 clk_disable_unprepare(kbd->clk); in imx_kbd_noirq_suspend() 536 writew(reg_val, kbd->mmio_base + KPSR); in imx_kbd_noirq_suspend() 538 enable_irq_wake(kbd->irq); in imx_kbd_noirq_suspend() 547 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_noirq_resume() local 548 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_noirq_resume() 552 disable_irq_wake(kbd->irq); in imx_kbd_noirq_resume() 557 ret = clk_prepare_enable(kbd->clk); in imx_kbd_noirq_resume()
|
/linux/drivers/s390/char/ |
A D | keyboard.c | 81 if (!kbd) in kbd_alloc() 116 return kbd; in kbd_alloc() 129 kfree(kbd); in kbd_alloc() 147 kfree(kbd); in kbd_free() 216 d = kbd->diacr; in handle_diacr() 217 kbd->diacr = 0; in handle_diacr() 239 kbd->diacr = (kbd->diacr ? handle_diacr(kbd, value) : value); in k_dead() 268 kbd_puts_queue(kbd->port, kbd->func_table[value]); in k_fn() 277 kbd->fn_handler[value](kbd); in k_spec() 312 if (!kbd) in kbd_keycode() [all …]
|
A 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 506 tty3270_exit_tty(struct kbd_data *kbd) in tty3270_exit_tty() argument 517 tty3270_scroll_forward(struct kbd_data *kbd) in tty3270_scroll_forward() argument 605 kbd_keycode(tp->kbd, *input++); in tty3270_read_tasklet() 753 tp->kbd = kbd_alloc(); in tty3270_alloc_view() 754 if (!tp->kbd) in tty3270_alloc_view() 792 kbd_free(tp->kbd); in tty3270_free_view() 1011 tp->kbd->port = &tp->port; in tty3270_install() 1016 kbd_ascebc(tp->kbd, tp->view.ascebc); in tty3270_install() [all …]
|
/linux/include/linux/ |
A D | kbd_kern.h | 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() 84 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 89 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 94 kbd->modeflags &= ~(1 << flag); in clr_vc_kbd_mode() 99 kbd->ledflagstate &= ~(1 << flag); in clr_vc_kbd_led() 104 kbd->lockstate ^= 1 << flag; in chg_vc_kbd_lock() 109 kbd->slockstate ^= 1 << flag; in chg_vc_kbd_slock() 114 kbd->modeflags ^= 1 << flag; in chg_vc_kbd_mode() [all …]
|
/linux/Documentation/translations/zh_CN/admin-guide/ |
A 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/drivers/input/misc/ |
A D | xen-kbdfront.c | 36 struct input_dev *kbd; member 98 dev = info->kbd; in xenkbd_handle_key_event() 248 if (!kbd) in xenkbd_probe() 251 kbd->phys = info->phys; in xenkbd_probe() 252 kbd->id.bustype = BUS_PCI; in xenkbd_probe() 253 kbd->id.vendor = 0x5853; in xenkbd_probe() 254 kbd->id.product = 0xffff; in xenkbd_probe() 258 __set_bit(i, kbd->keybit); in xenkbd_probe() 264 input_free_device(kbd); in xenkbd_probe() 269 info->kbd = kbd; in xenkbd_probe() [all …]
|
/linux/drivers/tty/vt/ |
A D | keyboard.c | 478 if (vc_kbd_mode(kbd, VC_CRLF)) in fn_enter() 655 if ((kbd->kbdmode == VC_RAW || in k_spec() 927 chg_vc_kbd_lock(kbd, value); in k_lock() 936 chg_vc_kbd_slock(kbd, value); in k_slock() 938 if (!key_maps[kbd->lockstate ^ kbd->slockstate]) { in k_slock() 939 kbd->slockstate = 0; in k_slock() 1380 kbd = &kbd_table[vc->vc_num]; in kbd_rawcode() 1381 if (kbd->kbdmode == VC_RAW) in kbd_rawcode() 1459 param.shift = shift_final = (shift_state | kbd->slockstate) ^ kbd->lockstate; in kbd_keycode() 1469 kbd->slockstate = 0; in kbd_keycode() [all …]
|
/linux/drivers/input/serio/ |
A 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()
|
A 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()
|
/linux/Documentation/devicetree/bindings/input/ |
A D | spear-keyboard.txt | 4 - compatible: "st,spear300-kbd" 13 kbd@fc400000 { 14 compatible = "st,spear300-kbd";
|
/linux/Documentation/dev-tools/ |
A D | kgdb.rst | 170 - kbd = Keyboard 241 kgdboc=kbd,ttyS0,115200 245 kgdboc=kbd 249 kgdboc=kms,kbd 270 to issue a :kbd:`Sysrq` sequence and then type the letter :kbd:`g`. Then you 413 Press: :kbd:`CTRL-A` :kbd:`f` :kbd:`g` 422 Press: :kbd:`Enter` :kbd:`g` 453 kgdboc=kbd 478 Release: :kbd:`Fn` 544 Press: :kbd:`CTRL-A` :kbd:`f` :kbd:`g` [all …]
|
/linux/Documentation/admin-guide/ |
A 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::
|
A 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/drivers/auxdisplay/ |
A 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() 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() 1259 int s = sizeof(input->u.kbd.repeat_str); in input_state_falling() 1452 strncpy(key->u.kbd.press_str, press, sizeof(key->u.kbd.press_str)); in panel_bind_key() 1453 strncpy(key->u.kbd.repeat_str, repeat, sizeof(key->u.kbd.repeat_str)); in panel_bind_key() 1454 strncpy(key->u.kbd.release_str, release, in panel_bind_key() [all …]
|
/linux/arch/powerpc/platforms/chrp/ |
A D | setup.c | 502 struct device_node *kbd; in chrp_init_IRQ() local 521 for_each_node_by_name(kbd, "keyboard") in chrp_init_IRQ() 522 if (of_node_is_type(kbd->parent, "adb")) in chrp_init_IRQ() 524 of_node_put(kbd); in chrp_init_IRQ() 525 if (kbd) { in chrp_init_IRQ()
|
/linux/arch/arm/boot/dts/ |
A D | spear300.dtsi | 74 kbd@a0000000 { 75 compatible = "st,spear300-kbd";
|
A D | spear1310-evb.dts | 55 kbd { 245 kbd@e0300000 {
|
A D | spear13xx.dtsi | 246 kbd@e0300000 { 247 compatible = "st,spear300-kbd";
|
/linux/Documentation/sphinx-static/ |
A D | theme_overrides.css | 111 code.kbd, code.kbd span {
|
/linux/Documentation/admin-guide/media/ |
A D | remote-controller.rst | 34 ir-kbd-i2c module. 55 the keymaps, like the input kbd utility.
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-kernel-reboot | 19 Description: Reboot type. Valid values are: bios acpi kbd triple efi pci
|