/linux-4.1.27/drivers/hid/usbhid/ |
D | usbkbd.c | 115 struct usb_kbd *kbd = urb->context; in usb_kbd_irq() local 131 input_report_key(kbd->dev, usb_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1); in usb_kbd_irq() 135 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) { in usb_kbd_irq() 136 if (usb_kbd_keycode[kbd->old[i]]) in usb_kbd_irq() 137 input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0); in usb_kbd_irq() 141 kbd->old[i]); in usb_kbd_irq() 144 if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) { in usb_kbd_irq() 145 if (usb_kbd_keycode[kbd->new[i]]) in usb_kbd_irq() 146 input_report_key(kbd->dev, usb_kbd_keycode[kbd->new[i]], 1); in usb_kbd_irq() 150 kbd->new[i]); in usb_kbd_irq() [all …]
|
/linux-4.1.27/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 | 95 static void dc_scan_kbd(struct dc_kbd *kbd) in dc_scan_kbd() argument 97 struct input_dev *dev = kbd->dev; in dc_scan_kbd() 104 keycode = kbd->keycode[code]; in dc_scan_kbd() 106 input_report_key(dev, keycode, (kbd->new[0] >> i) & 1); in dc_scan_kbd() 110 ptr = memchr(kbd->new + 2, kbd->old[i], 6); in dc_scan_kbd() 111 code = kbd->old[i]; in dc_scan_kbd() 113 keycode = kbd->keycode[code]; in dc_scan_kbd() 122 ptr = memchr(kbd->old + 2, kbd->new[i], 6); in dc_scan_kbd() 123 code = kbd->new[i]; in dc_scan_kbd() 125 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 | 536 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_suspend() local 537 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_suspend() 543 clk_disable_unprepare(kbd->clk); in imx_kbd_suspend() 548 enable_irq_wake(kbd->irq); in imx_kbd_suspend() 556 struct imx_keypad *kbd = platform_get_drvdata(pdev); in imx_kbd_resume() local 557 struct input_dev *input_dev = kbd->input_dev; in imx_kbd_resume() 561 disable_irq_wake(kbd->irq); in imx_kbd_resume() 566 ret = clk_prepare_enable(kbd->clk); in imx_kbd_resume()
|
D | Makefile | 46 obj-$(CONFIG_KEYBOARD_OPENCORES) += opencores-kbd.o
|
D | Kconfig | 462 module will be called opencores-kbd.
|
/linux-4.1.27/drivers/s390/char/ |
D | keyboard.c | 50 struct kbd_data *kbd; in kbd_alloc() local 53 kbd = kzalloc(sizeof(struct kbd_data), GFP_KERNEL); in kbd_alloc() 54 if (!kbd) in kbd_alloc() 56 kbd->key_maps = kzalloc(sizeof(key_maps), GFP_KERNEL); in kbd_alloc() 57 if (!kbd->key_maps) in kbd_alloc() 61 kbd->key_maps[i] = kmemdup(key_maps[i], in kbd_alloc() 64 if (!kbd->key_maps[i]) in kbd_alloc() 68 kbd->func_table = kzalloc(sizeof(func_table), GFP_KERNEL); in kbd_alloc() 69 if (!kbd->func_table) in kbd_alloc() 73 kbd->func_table[i] = kstrdup(func_table[i], in kbd_alloc() [all …]
|
D | tty3270.c | 95 struct kbd_data *kbd; /* key_maps stuff. */ member 450 tty3270_rcl_backward(struct kbd_data *kbd) in tty3270_rcl_backward() argument 452 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_rcl_backward() 477 tty3270_exit_tty(struct kbd_data *kbd) in tty3270_exit_tty() argument 479 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_exit_tty() 488 tty3270_scroll_forward(struct kbd_data *kbd) in tty3270_scroll_forward() argument 490 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_scroll_forward() 510 tty3270_scroll_backward(struct kbd_data *kbd) in tty3270_scroll_backward() argument 512 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); in tty3270_scroll_backward() 575 kbd_keycode(tp->kbd, *input++); in tty3270_read_tasklet() [all …]
|
/linux-4.1.27/include/linux/ |
D | kbd_kern.h | 67 extern void setledstate(struct kbd_struct *kbd, unsigned int led); 82 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument 84 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode() 87 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument 89 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led() 92 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument 94 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode() 97 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument 99 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led() 102 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument [all …]
|
/linux-4.1.27/drivers/input/misc/ |
D | xen-kbdfront.c | 35 struct input_dev *kbd; member 79 if (test_bit(event->key.keycode, info->kbd->keybit)) in input_handler() 80 dev = info->kbd; in input_handler() 113 struct input_dev *kbd, *ptr; in xenkbd_probe() local 136 kbd = input_allocate_device(); in xenkbd_probe() 137 if (!kbd) in xenkbd_probe() 139 kbd->name = "Xen Virtual Keyboard"; in xenkbd_probe() 140 kbd->phys = info->phys; in xenkbd_probe() 141 kbd->id.bustype = BUS_PCI; in xenkbd_probe() 142 kbd->id.vendor = 0x5853; in xenkbd_probe() [all …]
|
/linux-4.1.27/drivers/tty/vt/ |
D | keyboard.c | 109 static struct kbd_struct *kbd = kbd_table; variable 434 if (kbd->kbdmode == VC_UNICODE) in handle_diacr() 451 if (kbd->kbdmode == VC_UNICODE) in fn_enter() 462 if (vc_kbd_mode(kbd, VC_CRLF)) in fn_enter() 471 chg_vc_kbd_led(kbd, VC_CAPSLOCK); in fn_caps_toggle() 479 set_vc_kbd_led(kbd, VC_CAPSLOCK); in fn_caps_on() 510 if (vc_kbd_mode(kbd, VC_APPLIC)) in fn_num() 525 chg_vc_kbd_led(kbd, VC_NUMLOCK); in fn_bare_num() 639 if ((kbd->kbdmode == VC_RAW || in k_spec() 640 kbd->kbdmode == VC_MEDIUMRAW || in k_spec() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | spear-keyboard.txt | 4 - compatible: "st,spear300-kbd" 13 kbd@fc400000 { 14 compatible = "st,spear300-kbd";
|
/linux-4.1.27/Documentation/video4linux/ |
D | README.ir | 16 bttv ir-kbd-gpio or ir-kbd-i2c depending on your 19 ir-kbd-gpio and ir-kbd-i2c don't support all cards lirc supports 22 Feel free to contact me in case of trouble. Note that the ir-kbd-* 41 events and the like. You can also use the kbd utility to change the
|
/linux-4.1.27/drivers/input/serio/ |
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-4.1.27/drivers/staging/media/lirc/ |
D | TODO.lirc_zilog | 1 1. Both ir-kbd-i2c and lirc_zilog provide support for RX events for 4 a. ir-kbd-i2c needs a module parameter added to allow the user to tell 5 ir-kbd-i2c to ignore Z8 IR units. 7 b. lirc_zilog should provide Rx key presses to the rc core like ir-kbd-i2c 30 Note: Both lirc_zilog and ir-kbd-i2c support the Zilog Z8 for IR, as programmed
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
D | setup.c | 528 struct device_node *kbd; in chrp_init_IRQ() local 547 for_each_node_by_name(kbd, "keyboard") in chrp_init_IRQ() 548 if (kbd->parent && kbd->parent->type in chrp_init_IRQ() 549 && strcmp(kbd->parent->type, "adb") == 0) in chrp_init_IRQ() 551 of_node_put(kbd); in chrp_init_IRQ() 552 if (kbd) in chrp_init_IRQ()
|
/linux-4.1.27/drivers/staging/panel/ |
D | panel.c | 210 } kbd; member 1831 char *press_str = input->u.kbd.press_str; in input_state_high() 1834 int s = sizeof(input->u.kbd.press_str); in input_state_high() 1840 if (input->u.kbd.repeat_str[0]) { in input_state_high() 1841 char *repeat_str = input->u.kbd.repeat_str; in input_state_high() 1844 int s = sizeof(input->u.kbd.repeat_str); in input_state_high() 1882 if (input->u.kbd.repeat_str[0]) { in input_state_falling() 1883 char *repeat_str = input->u.kbd.repeat_str; in input_state_falling() 1886 int s = sizeof(input->u.kbd.repeat_str); in input_state_falling() 1907 char *release_str = input->u.kbd.release_str; in input_state_falling() [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | spear300.dtsi | 80 kbd@a0000000 { 81 compatible = "st,spear300-kbd";
|
D | spear1310-evb.dts | 61 kbd { 251 kbd@e0300000 {
|
D | spear13xx.dtsi | 250 kbd@e0300000 { 251 compatible = "st,spear300-kbd";
|
D | spear300-evb.dts | 153 kbd@a0000000 {
|
D | spear1340-evb.dts | 338 kbd@e0300000 {
|
D | omap4.dtsi | 661 ti,hwmods = "kbd";
|
D | omap5.dtsi | 629 ti,hwmods = "kbd";
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | ams-delta-fiq-handler.S | 152 ldr r10, [r9, #BUF_STATE] @ fetch kbd interface state 168 mvn r11, #KEYBRD_CLK_MASK @ prepare all except kbd mask
|
/linux-4.1.27/drivers/media/i2c/ |
D | Makefile | 78 obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
|
/linux-4.1.27/drivers/hid/ |
D | Makefile | 41 obj-$(CONFIG_HID_HOLTEK) += hid-holtek-kbd.o
|
/linux-4.1.27/Documentation/x86/x86_64/ |
D | boot-options.txt | 114 kbd Use the keyboard controller. cold reset (default)
|
/linux-4.1.27/Documentation/ |
D | kernel-parameters.txt | 1049 ekgdboc=kbd 1661 keyboard only format: kbd 1662 keyboard and serial format: kbd,<serial_device>[,baud] 1664 kms, kbd format: kms,kbd 1665 kms, kbd and serial format: kms,kbd,<ser_dev>[,baud] 3218 reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
|
D | devices.txt | 462 0 = /dev/kbd Raw keyboard device
|