/linux-4.1.27/arch/arm/mach-imx/ |
D | mach-pcm037_eet.c | 69 .type = EV_KEY, 75 .type = EV_KEY, 81 .type = EV_KEY, 87 .type = EV_KEY, 93 .type = EV_KEY, 99 .type = EV_KEY, 105 .type = EV_KEY, 111 .type = EV_KEY, 117 .type = EV_KEY, 123 .type = EV_KEY, [all …]
|
D | mach-imx27_visstrim_m10.c | 279 .type = EV_KEY, 287 .type = EV_KEY, 295 .type = EV_KEY,
|
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/ |
D | platform_gpio_keys.c | 29 {KEY_POWER, -1, 1, "power_btn", EV_KEY, 0, 3000}, 30 {KEY_PROG1, -1, 1, "prog_btn1", EV_KEY, 0, 20}, 31 {KEY_PROG2, -1, 1, "prog_btn2", EV_KEY, 0, 20}, 33 {KEY_VOLUMEUP, -1, 1, "vol_up", EV_KEY, 0, 20}, 34 {KEY_VOLUMEDOWN, -1, 1, "vol_down", EV_KEY, 0, 20}, 35 {KEY_CAMERA, -1, 1, "camera_full", EV_KEY, 0, 20}, 36 {KEY_CAMERA_FOCUS, -1, 1, "camera_half", EV_KEY, 0, 20},
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
D | mach-smartq7.c | 69 .type = EV_KEY, 77 .type = EV_KEY, 85 .type = EV_KEY, 93 .type = EV_KEY, 101 .type = EV_KEY, 109 .type = EV_KEY,
|
D | mach-smartq5.c | 69 .type = EV_KEY, 77 .type = EV_KEY, 85 .type = EV_KEY, 93 .type = EV_KEY,
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | board-htcherald.c | 265 {BTN_0, HTCHERALD_GPIO_POWER, 1, "POWER", EV_KEY, 1, 20}, 268 {KEY_LEFT, HTCPLD_GPIO_LEFT_KBD, 1, "LEFT", EV_KEY, 1, 20}, 269 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_KBD, 1, "RIGHT", EV_KEY, 1, 20}, 270 {KEY_UP, HTCPLD_GPIO_UP_KBD, 1, "UP", EV_KEY, 1, 20}, 271 {KEY_DOWN, HTCPLD_GPIO_DOWN_KBD, 1, "DOWN", EV_KEY, 1, 20}, 273 {KEY_LEFT, HTCPLD_GPIO_LEFT_DPAD, 1, "DLEFT", EV_KEY, 1, 20}, 274 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_DPAD, 1, "DRIGHT", EV_KEY, 1, 20}, 275 {KEY_UP, HTCPLD_GPIO_UP_DPAD, 1, "DUP", EV_KEY, 1, 20}, 276 {KEY_DOWN, HTCPLD_GPIO_DOWN_DPAD, 1, "DDOWN", EV_KEY, 1, 20}, 277 {KEY_ENTER, HTCPLD_GPIO_ENTER_DPAD, 1, "DENTER", EV_KEY, 1, 20},
|
/linux-4.1.27/net/rfkill/ |
D | input.c | 199 if (type == EV_KEY && data == 1) { in rfkill_event() 280 .evbit = { BIT_MASK(EV_KEY) }, 285 .evbit = { BIT_MASK(EV_KEY) }, 290 .evbit = { BIT_MASK(EV_KEY) }, 295 .evbit = { BIT_MASK(EV_KEY) }, 300 .evbit = { BIT_MASK(EV_KEY) },
|
/linux-4.1.27/drivers/input/keyboard/ |
D | gpio_keys.c | 101 BUG_ON(type != EV_SW && type != EV_KEY); in get_n_events_by_type() 103 return (type == EV_KEY) ? KEY_CNT : SW_CNT; in get_n_events_by_type() 275 ATTR_SHOW_FN(keys, EV_KEY, false); 277 ATTR_SHOW_FN(disabled_keys, EV_KEY, true); 306 ATTR_STORE_FN(disabled_keys, EV_KEY); 338 unsigned int type = button->type ?: EV_KEY; in gpio_keys_gpio_report_event() 385 input_event(input, EV_KEY, bdata->button->code, 0); in gpio_keys_irq_timer() 407 input_event(input, EV_KEY, button->code, 1); in gpio_keys_irq_isr() 411 input_event(input, EV_KEY, button->code, 0); in gpio_keys_irq_isr() 498 if (button->type && button->type != EV_KEY) { in gpio_keys_setup_key() [all …]
|
D | gpio_keys_polled.c | 58 unsigned int type = button->type ?: EV_KEY; in gpio_keys_polled_check_state() 153 button->type = EV_KEY; in gpio_keys_polled_get_devtree_pdata() 230 __set_bit(EV_KEY, input->evbit); in gpio_keys_polled_probe() 237 unsigned int type = button->type ?: EV_KEY; in gpio_keys_polled_probe()
|
D | sh_keysc.c | 149 input_event(priv->input, EV_KEY, k, 1); in sh_keysc_isr() 154 input_event(priv->input, EV_KEY, k, 0); in sh_keysc_isr() 218 input->evbit[0] = BIT_MASK(EV_KEY); in sh_keysc_probe()
|
D | mpr121_touchkey.c | 233 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in mpr_touchkey_probe() 240 input_set_capability(input_dev, EV_KEY, pdata->keymap[i]); in mpr_touchkey_probe()
|
D | tca6416-keypad.c | 110 unsigned int type = button->type ?: EV_KEY; in tca6416_keys_scan() 259 type = (pdata->buttons[i].type) ?: EV_KEY; in tca6416_keypad_probe()
|
D | opencores-kbd.c | 89 __set_bit(EV_KEY, input->evbit); in opencores_kbd_probe()
|
D | atakbd.c | 241 atakbd_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in atakbd_init()
|
D | xtkbd.c | 110 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in xtkbd_connect()
|
D | ipaq-micro-keys.c | 113 __set_bit(EV_KEY, keys->input->evbit); in micro_key_probe()
|
D | jornada720_kbd.c | 115 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP); in jornada720_kbd_probe()
|
D | newtonkbd.c | 108 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in nkbd_connect()
|
D | stowaway.c | 112 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in skbd_connect()
|
D | amikbd.c | 232 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in amikbd_probe()
|
D | pxa930_rotary.c | 142 __set_bit(EV_KEY, input_dev->evbit); in pxa930_rotary_probe()
|
D | adp5520-keys.c | 125 __set_bit(EV_KEY, input->evbit); in adp5520_keys_probe()
|
D | goldfish_events.c | 158 events_import_bits(edev, input_dev->keybit, EV_KEY, KEY_MAX); in events_probe()
|
D | qt1070.c | 187 __set_bit(EV_KEY, input->evbit); in qt1070_probe()
|
D | jornada680_kbd.c | 212 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP); in jornada680kbd_probe()
|
D | hil_kbd.c | 332 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in hil_dev_keyboard_setup() 407 input_dev->evbit[0] |= BIT_MASK(EV_KEY); in hil_dev_pointer_setup()
|
D | mcs_touchkey.c | 153 input_dev->evbit[0] = BIT_MASK(EV_KEY); in mcs_touchkey_probe()
|
D | max7359_keypad.c | 228 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in max7359_probe()
|
D | nspire-keypad.c | 225 __set_bit(EV_KEY, input->evbit); in nspire_keypad_probe()
|
D | sun4i-lradc-keys.c | 243 __set_bit(EV_KEY, lradc->input->evbit); in sun4i_lradc_probe()
|
D | davinci_keyscan.c | 248 __set_bit(EV_KEY, key_dev->evbit); in davinci_ks_probe()
|
D | hilkbd.c | 255 hil_dev.dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); in hil_keyb_init()
|
/linux-4.1.27/drivers/input/misc/ |
D | soc_button_array.c | 197 { "power", 0, EV_KEY, KEY_POWER, false, true }, 198 { "home", 1, EV_KEY, KEY_LEFTMETA, false, true }, 199 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false }, 200 { "volume_down", 3, EV_KEY, KEY_VOLUMEDOWN, true, false },
|
D | sirfsoc-onkey.c | 48 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 0); in sirfsoc_pwrc_report_event() 63 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 1); in sirfsoc_pwrc_isr() 138 pwrcdrv->input->evbit[0] = BIT_MASK(EV_KEY); in sirfsoc_pwrc_probe() 139 input_set_capability(pwrcdrv->input, EV_KEY, KEY_POWER); in sirfsoc_pwrc_probe()
|
D | retu-pwrbutton.c | 62 input_set_capability(idev, EV_KEY, KEY_POWER); in retu_pwrbutton_probe()
|
D | rb532_button.c | 73 input_set_capability(poll_dev->input, EV_KEY, RB532_BTN_KSYM); in rb532_button_probe()
|
D | twl4030-pwrbutton.c | 67 pwr->evbit[0] = BIT_MASK(EV_KEY); in twl4030_pwrbutton_probe()
|
D | pcf50633-input.c | 78 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_PWR); in pcf50633_input_probe()
|
D | bfin_rotary.c | 205 __set_bit(EV_KEY, input->evbit); in bfin_rotary_probe() 214 __set_bit(EV_KEY, input->evbit); in bfin_rotary_probe()
|
D | ab8500-ponkey.c | 86 input_set_capability(input, EV_KEY, KEY_POWER); in ab8500_ponkey_probe()
|
D | tps65218-pwrbutton.c | 80 input_set_capability(idev, EV_KEY, KEY_POWER); in tps65218_pwron_probe()
|
D | e3x0-button.c | 97 input_set_capability(input, EV_KEY, KEY_POWER); in e3x0_button_probe()
|
D | atlas_btns.c | 94 __set_bit(EV_KEY, input_dev->evbit); in atlas_acpi_button_add()
|
D | pcap_keys.c | 74 __set_bit(EV_KEY, input_dev->evbit); in pcap_keys_probe()
|
D | da9052_onkey.c | 103 input_dev->evbit[0] = BIT_MASK(EV_KEY); in da9052_onkey_probe()
|
D | wm831x-on.c | 95 wm831x_on->dev->evbit[0] = BIT_MASK(EV_KEY); in wm831x_on_probe()
|
D | da9055_onkey.c | 107 input_dev->evbit[0] = BIT_MASK(EV_KEY); in da9055_onkey_probe()
|
D | xen-kbdfront.c | 145 __set_bit(EV_KEY, kbd->evbit); in xenkbd_probe() 179 __set_bit(EV_KEY, ptr->evbit); in xenkbd_probe()
|
D | 88pm860x_onkey.c | 91 info->idev->evbit[0] = BIT_MASK(EV_KEY); in pm860x_onkey_probe()
|
D | sgi_btns.c | 124 __set_bit(EV_KEY, input->evbit); in sgi_buttons_probe()
|
D | max8925_onkey.c | 104 input_set_capability(input, EV_KEY, KEY_POWER); in max8925_onkey_probe()
|
D | cobalt_btns.c | 107 __set_bit(EV_KEY, input->evbit); in cobalt_buttons_probe()
|
D | 88pm80x_onkey.c | 103 info->idev->evbit[0] = BIT_MASK(EV_KEY); in pm80x_onkey_probe()
|
D | pmic8xxx-pwrkey.c | 120 input_set_capability(pwr, EV_KEY, KEY_POWER); in pmic8xxx_pwrkey_probe()
|
D | ideapad_slidebar.c | 234 input_set_capability(slidebar_input_dev, EV_KEY, BTN_TOUCH); in ideapad_probe()
|
D | pcf8574_keypad.c | 109 idev->evbit[0] = BIT_MASK(EV_KEY); in pcf8574_kp_probe()
|
D | palmas-pwrbutton.c | 189 input_set_capability(input_dev, EV_KEY, KEY_POWER); in palmas_pwron_probe()
|
D | mc13783-pwrbutton.c | 196 __set_bit(EV_KEY, pwr->evbit); in mc13783_pwrbutton_probe()
|
D | pm8941-pwrkey.c | 209 input_set_capability(pwrkey->input, EV_KEY, KEY_POWER); in pm8941_pwrkey_probe()
|
D | axp20x-pek.c | 230 input_set_capability(idev, EV_KEY, KEY_POWER); in axp20x_pek_probe()
|
D | ad714x.c | 1049 __set_bit(EV_KEY, input[alloc_idx]->evbit); in ad714x_probe() 1080 __set_bit(EV_KEY, input[alloc_idx]->evbit); in ad714x_probe() 1113 __set_bit(EV_KEY, input[alloc_idx]->evbit); in ad714x_probe() 1146 __set_bit(EV_KEY, input[alloc_idx]->evbit); in ad714x_probe()
|
D | apanel.c | 225 set_bit(EV_KEY, idev->evbit); in apanel_probe()
|
/linux-4.1.27/drivers/input/ |
D | input-mt.c | 62 __set_bit(EV_KEY, dev->evbit); in input_mt_init_slots() 175 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 176 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 177 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 178 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 179 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 220 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation()
|
D | joydev.c | 127 case EV_KEY: in joydev_event() 779 __set_bit(EV_KEY, jd_scratch); in joydev_dev_is_absolute_mouse() 811 if (test_bit(EV_KEY, dev->evbit) && test_bit(BTN_TOUCH, dev->keybit)) in joydev_match() 815 if (test_bit(EV_KEY, dev->evbit) && test_bit(BTN_DIGI, dev->keybit)) in joydev_match() 975 .evbit = { BIT_MASK(EV_KEY) }, 981 .evbit = { BIT_MASK(EV_KEY) }, 987 .evbit = { BIT_MASK(EV_KEY) },
|
D | sparse-keymap.c | 200 __set_bit(EV_KEY, dev->evbit); in sparse_keymap_setup() 212 if (test_bit(EV_KEY, dev->evbit)) { in sparse_keymap_setup()
|
D | mousedev.c | 373 case EV_KEY: in mousedev_event() 1010 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) }, 1018 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) }, 1025 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) }, 1034 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) }, 1045 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) },
|
D | input.c | 159 if (test_bit(EV_REP, dev->evbit) && test_bit(EV_KEY, dev->evbit)) { in input_pass_values() 161 if (v->type == EV_KEY && v->value != 2) { in input_pass_values() 194 { EV_KEY, dev->repeat_key, 2 }, in input_repeat_key() 288 case EV_KEY: in input_get_disposition() 679 if (is_event_supported(EV_KEY, dev->evbit, EV_MAX)) { in input_dev_release_keys() 683 input_pass_event(dev, EV_KEY, code, 0); in input_dev_release_keys() 916 if (test_bit(EV_KEY, dev->evbit) && in input_set_keycode() 920 { EV_KEY, old_keycode, 0 }, in input_set_keycode() 1154 if (test_bit(EV_KEY, dev->evbit)) in input_devices_seq_show() 1599 if (test_bit(EV_KEY, dev->evbit)) in input_dev_uevent() [all …]
|
D | matrix-keymap.c | 184 __set_bit(EV_KEY, input_dev->evbit); in matrix_keypad_build_keymap()
|
/linux-4.1.27/arch/mips/ath79/ |
D | mach-ap121.c | 45 .type = EV_KEY, 53 .type = EV_KEY,
|
D | mach-ap81.c | 55 .type = EV_KEY, 62 .type = EV_KEY,
|
D | mach-pb44.c | 75 .type = EV_KEY, 82 .type = EV_KEY,
|
D | mach-ap136.c | 85 .type = EV_KEY, 93 .type = EV_KEY,
|
D | mach-ubnt-xm.c | 60 .type = EV_KEY,
|
D | mach-db120.c | 71 .type = EV_KEY,
|
/linux-4.1.27/arch/arm/mach-gemini/ |
D | board-nas4220b.c | 66 .type = EV_KEY, 73 .type = EV_KEY,
|
D | board-rut1xx.c | 31 .type = EV_KEY,
|
D | board-wbd111.c | 34 .type = EV_KEY,
|
D | board-wbd222.c | 34 .type = EV_KEY,
|
/linux-4.1.27/drivers/hid/ |
D | hid-zydacron.c | 46 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 126 input_event(zc->input_ep81, EV_KEY, key, 0); in zc_raw_event() 155 input_event(zc->input_ep81, EV_KEY, key, 1); in zc_raw_event()
|
D | hid-icade.c | 203 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); in icade_input_mapping() 218 if (usage->type == EV_KEY) in icade_input_mapped()
|
D | hid-input.c | 65 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) 71 &max, EV_KEY, (c)) 85 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode() 111 if (usage->type == EV_KEY || usage->type == 0) { in hidinput_find_key() 152 ke->keycode = usage->type == EV_KEY ? in hidinput_getkeycode() 173 *old_keycode = usage->type == EV_KEY ? in hidinput_setkeycode() 673 set_bit(EV_KEY, input->evbit); in hidinput_configure_usage() 1047 if (usage->type == EV_KEY) { in hidinput_configure_usage() 1098 input_event(input, EV_KEY, BTN_TOUCH, value > a + ((b - a) >> 3)); in hidinput_hid_event() 1111 if ((usage->type == EV_KEY) && (usage->code == 0)) /* Key 0 is "unassigned", not KEY_UNKNOWN */ in hidinput_hid_event() [all …]
|
D | hid-penmount.c | 26 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); in penmount_input_mapping()
|
D | hid-kensington.c | 21 #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
|
D | hid-lg.c | 439 EV_KEY, (c)) 595 hid_map_usage(hi, usage, bit, max, EV_KEY, in lg_input_mapping() 610 if ((drv_data->quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && in lg_input_mapped() 614 if ((drv_data->quirks & LG_DUPLICATE_USAGES) && (usage->type == EV_KEY || in lg_input_mapped()
|
D | hid-lcpower.c | 22 EV_KEY, (c))
|
D | hid-tivo.c | 23 EV_KEY, (c))
|
D | hid-sunplus.c | 37 EV_KEY, (c))
|
D | hid-monterey.c | 35 EV_KEY, (c))
|
D | hid-cherry.c | 40 EV_KEY, (c))
|
D | hid-chicony.c | 27 EV_KEY, (c))
|
D | hid-ezkey.c | 26 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
|
D | hid-belkin.c | 28 EV_KEY, (c))
|
D | hid-topseed.c | 28 EV_KEY, (c))
|
D | hid-twinhan.c | 62 EV_KEY, (c))
|
D | hid-petalynx.c | 39 EV_KEY, (c))
|
D | hid-gyration.c | 26 EV_KEY, (c))
|
D | hid-logitech-hidpp.c | 717 __set_bit(EV_KEY, input_dev->evbit); in wtp_populate_input() 729 input_set_capability(input_dev, EV_KEY, BTN_LEFT); in wtp_populate_input() 732 input_set_capability(input_dev, EV_KEY, BTN_RIGHT); in wtp_populate_input() 778 input_event(wd->input, EV_KEY, BTN_LEFT, raw->button); in wtp_send_raw_xy_event() 843 input_event(wd->input, EV_KEY, BTN_LEFT, in wtp_raw_event() 845 input_event(wd->input, EV_KEY, BTN_RIGHT, in wtp_raw_event()
|
D | hid-samsung.c | 98 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
|
D | hid-saitek.c | 160 if (usage->type == EV_KEY && value && in saitek_event()
|
D | hid-apple.c | 339 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_FN); in apple_input_mapping() 358 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_2); in apple_input_mapped() 360 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_1); in apple_input_mapped()
|
D | hid-multitouch.c | 465 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); in mt_touch_input_mapping() 466 input_set_capability(hi->input, EV_KEY, BTN_TOUCH); in mt_touch_input_mapping() 522 hid_map_usage(hi, usage, bit, max, EV_KEY, code); in mt_touch_input_mapping() 523 input_set_capability(hi->input, EV_KEY, code); in mt_touch_input_mapping() 538 if (usage->type == EV_KEY || usage->type == EV_ABS) in mt_touch_input_mapped()
|
D | hid-appleir.c | 272 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP); in appleir_input_configured()
|
D | wacom_wac.c | 1360 case EV_KEY: in wacom_map_usage() 1361 input_set_capability(input, EV_KEY, code); in wacom_map_usage() 1385 wacom_map_usage(wacom, usage, field, EV_KEY, BTN_TOOL_PEN, 0); in wacom_wac_pen_usage_mapping() 1388 wacom_map_usage(wacom, usage, field, EV_KEY, in wacom_wac_pen_usage_mapping() 1393 wacom_map_usage(wacom, usage, field, EV_KEY, BTN_TOUCH, 0); in wacom_wac_pen_usage_mapping() 1396 wacom_map_usage(wacom, usage, field, EV_KEY, BTN_STYLUS, 0); in wacom_wac_pen_usage_mapping() 1399 wacom_map_usage(wacom, usage, field, EV_KEY, BTN_STYLUS2, 0); in wacom_wac_pen_usage_mapping() 1501 wacom_map_usage(wacom, usage, field, EV_KEY, BTN_TOUCH, 0); in wacom_wac_finger_usage_mapping() 2248 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in wacom_setup_pentouch_input_capabilities() 2459 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in wacom_setup_pad_input_capabilities()
|
D | hid-microsoft.c | 59 EV_KEY, (c))
|
/linux-4.1.27/drivers/input/mouse/ |
D | gpio_mouse.c | 118 input_set_capability(input, EV_KEY, BTN_LEFT); in gpio_mouse_probe() 120 input_set_capability(input, EV_KEY, BTN_MIDDLE); in gpio_mouse_probe() 122 input_set_capability(input, EV_KEY, BTN_RIGHT); in gpio_mouse_probe()
|
D | vmmouse.c | 477 input_set_capability(abs_dev, EV_KEY, BTN_LEFT); in vmmouse_init() 478 input_set_capability(abs_dev, EV_KEY, BTN_RIGHT); in vmmouse_init() 479 input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE); in vmmouse_init()
|
D | lifebook.c | 297 dev2->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in lifebook_create_relative_device() 323 dev1->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); in lifebook_init()
|
D | touchkit_ps2.c | 87 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in touchkit_ps2_detect()
|
D | atarimouse.c | 135 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
|
D | rpcmouse.c | 81 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
|
D | pc110pad.c | 144 pc110pad_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pc110pad_init()
|
D | amimouse.c | 113 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
|
D | logibm.c | 156 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init()
|
D | maplemouse.c | 91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
|
D | inport.c | 163 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
|
D | alps.c | 1357 input_set_capability(dev3, EV_KEY, BTN_LEFT); in alps_register_bare_ps2_mouse() 1358 input_set_capability(dev3, EV_KEY, BTN_RIGHT); in alps_register_bare_ps2_mouse() 1359 input_set_capability(dev3, EV_KEY, BTN_MIDDLE); in alps_register_bare_ps2_mouse() 2877 dev1->evbit[BIT_WORD(EV_KEY)] |= BIT_MASK(EV_KEY); in alps_init() 2938 input_set_capability(dev2, EV_KEY, BTN_LEFT); in alps_init() 2939 input_set_capability(dev2, EV_KEY, BTN_RIGHT); in alps_init() 2940 input_set_capability(dev2, EV_KEY, BTN_MIDDLE); in alps_init()
|
D | sermouse.c | 268 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in sermouse_connect()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | max11801_ts.c | 141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); in max11801_ts_interrupt() 146 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0); in max11801_ts_interrupt() 198 __set_bit(EV_KEY, input_dev->evbit); in max11801_ts_probe()
|
D | hp680_ts_input.c | 84 hp680_ts_dev->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); in hp680_ts_init()
|
D | jornada720_ts.c | 123 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in jornada720_ts_probe()
|
D | fujitsu_ts.c | 124 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in fujitsu_connect()
|
D | touchwin.c | 134 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in tw_connect()
|
D | gunze.c | 137 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in gunze_connect()
|
D | mk712.c | 188 mk712_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in mk712_init()
|
D | touchright.c | 127 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in tr_connect()
|
D | touchit213.c | 165 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in touchit213_connect()
|
D | ipaq-micro-ts.c | 106 input_set_capability(ts->input, EV_KEY, BTN_TOUCH); in micro_ts_probe()
|
D | hampshire.c | 136 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in hampshire_connect()
|
D | dynapro.c | 137 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in dynapro_connect()
|
D | tsc40.c | 105 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in tsc_connect()
|
D | ar1021_i2c.c | 104 input_set_capability(input, EV_KEY, BTN_TOUCH); in ar1021_i2c_probe()
|
D | inexio.c | 140 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in inexio_connect()
|
D | mtouch.c | 153 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in mtouch_connect()
|
D | htcpen.c | 138 htcpen_dev->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); in htcpen_isa_probe()
|
D | migor_ts.c | 151 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in migor_ts_probe()
|
D | egalax_ts.c | 206 __set_bit(EV_KEY, input_dev->evbit); in egalax_ts_probe()
|
D | sx8654.c | 200 input_set_capability(input, EV_KEY, BTN_TOUCH); in sx8654_probe()
|
D | pcap_ts.c | 175 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pcap_ts_probe()
|
D | mcs5000_ts.c | 219 __set_bit(EV_KEY, input_dev->evbit); in mcs5000_ts_probe()
|
D | mc13783_ts.c | 203 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in mc13783_ts_probe()
|
D | wacom_i2c.c | 188 input->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in wacom_i2c_probe()
|
D | eeti_ts.c | 187 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in eeti_ts_probe()
|
D | st1232.c | 207 __set_bit(EV_KEY, input_dev->evbit); in st1232_ts_probe()
|
D | penmount.c | 226 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pm_connect()
|
/linux-4.1.27/drivers/macintosh/ |
D | mac_hid.c | 49 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse() 76 if (type != EV_KEY) in mac_hid_emumouse_filter() 146 .evbit = { BIT_MASK(EV_KEY) },
|
D | via-pmu-event.c | 48 set_bit(EV_KEY, pmu_input_dev->evbit); in via_pmu_event_init()
|
D | adbhid.c | 836 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_LED) | in adbhid_input_register() 848 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in adbhid_input_register() 858 input_dev->evbit[0] = BIT_MASK(EV_KEY) | in adbhid_input_register() 867 input_dev->evbit[0] = BIT_MASK(EV_KEY) | in adbhid_input_register()
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | puv3-nb0916.c | 62 .type = EV_KEY, 70 .type = EV_KEY,
|
/linux-4.1.27/drivers/platform/x86/ |
D | intel_mid_powerbtn.c | 51 input_event(input, EV_KEY, KEY_POWER, in mfld_pb_isr() 77 input_set_capability(input, EV_KEY, KEY_POWER); in mfld_pb_probe()
|
D | hp-wireless.c | 51 hpwl_input_dev->evbit[0] = BIT(EV_KEY); in hp_wireless_input_setup()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
D | av7110_ir.c | 162 input_event(ir->input_dev, EV_KEY, ir->last_key, 0); in av7110_emit_key() 163 input_event(ir->input_dev, EV_KEY, keycode, 1); in av7110_emit_key() 166 input_event(ir->input_dev, EV_KEY, keycode, 2); in av7110_emit_key() 171 input_event(ir->input_dev, EV_KEY, keycode, 1); in av7110_emit_key() 189 set_bit(EV_KEY, ir->input_dev->evbit); in input_register_keys()
|
/linux-4.1.27/arch/avr32/boards/atngw100/ |
D | mrmt.c | 225 .type = EV_KEY, 232 .type = EV_KEY, 239 .type = EV_KEY,
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | raumfeld.c | 394 .type = EV_KEY, 403 .type = EV_KEY, 412 .type = EV_KEY, 421 .type = EV_KEY, 430 .type = EV_KEY, 439 .type = EV_KEY,
|
D | tosa.c | 510 .type = EV_KEY, 518 .type = EV_KEY,
|
D | palmtc.c | 141 {KEY_F8, GPIO_NR_PALMTC_HOTSYNC_BUTTON, 1, "HotSync Button", EV_KEY, 1},
|
/linux-4.1.27/drivers/tty/ |
D | sysrq.c | 734 input_inject_event(handle, EV_KEY, alt_code, 1); in sysrq_reinject_alt_sysrq() 735 input_inject_event(handle, EV_KEY, KEY_SYSRQ, 1); in sysrq_reinject_alt_sysrq() 738 input_inject_event(handle, EV_KEY, KEY_SYSRQ, 0); in sysrq_reinject_alt_sysrq() 739 input_inject_event(handle, EV_KEY, alt_code, 0); in sysrq_reinject_alt_sysrq() 858 case EV_KEY: in sysrq_filter() 932 .evbit = { BIT_MASK(EV_KEY) },
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
D | db1300.c | 360 .type = EV_KEY, 368 .type = EV_KEY, 376 .type = EV_KEY, 384 .type = EV_KEY, 392 .type = EV_KEY,
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | h3xxx.c | 223 .type = EV_KEY, 230 .type = EV_KEY,
|
/linux-4.1.27/drivers/extcon/ |
D | extcon-max77693.c | 596 input_event(dock, EV_KEY, code, attached); in max77693_muic_dock_button_handler() 1137 input_set_capability(info->dock, EV_KEY, KEY_VOLUMEUP); in max77693_muic_probe() 1138 input_set_capability(info->dock, EV_KEY, KEY_VOLUMEDOWN); in max77693_muic_probe() 1139 input_set_capability(info->dock, EV_KEY, KEY_PLAYPAUSE); in max77693_muic_probe() 1140 input_set_capability(info->dock, EV_KEY, KEY_PREVIOUSSONG); in max77693_muic_probe() 1141 input_set_capability(info->dock, EV_KEY, KEY_NEXTSONG); in max77693_muic_probe()
|
/linux-4.1.27/sound/usb/caiaq/ |
D | input.c | 622 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 634 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 646 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 656 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 682 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 727 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init() 766 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 136 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 138 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 193 input_dev->evbit[0] = BIT_MASK(EV_KEY); in legacy_dvb_usb_remote_init()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | fakekey.c | 49 __set_bit(EV_KEY, virt_keyboard->evbit); in speakup_add_virtual_keyboard()
|
/linux-4.1.27/Documentation/input/ |
D | input-programming.txt | 46 button_dev->evbit[0] = BIT_MASK(EV_KEY); 86 accepted by this input device. Our example device can only generate EV_KEY 90 set_bit(EV_KEY, button_dev.evbit); 172 The most simple event type is EV_KEY, which is used for keys and buttons. 182 In addition to EV_KEY, there are two more basic event types: EV_REL and 190 Having the device report EV_REL buttons is as simple as with EV_KEY, simply
|
D | event-codes.txt | 30 * EV_KEY: 94 EV_KEY: 96 EV_KEY events take the form KEY_<name> or BTN_<name>. For example, KEY_A is used 103 A few EV_KEY codes have special meanings:
|
/linux-4.1.27/arch/x86/platform/geode/ |
D | geos.c | 38 .type = EV_KEY,
|
D | net5501.c | 41 .type = EV_KEY,
|
D | alix.c | 49 .type = EV_KEY,
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | cbe_powerbutton.c | 65 set_bit(EV_KEY, dev->evbit); in cbe_powerbutton_init()
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
D | mach-gta02.c | 476 .type = EV_KEY, 483 .type = EV_KEY,
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | gpio-keys-polled.txt | 20 If not specified defaults to <1> == EV_KEY.
|
D | gpio-keys.txt | 23 If not specified defaults to <1> == EV_KEY.
|
/linux-4.1.27/drivers/media/rc/ |
D | ati_remote.c | 569 input_event(dev, EV_KEY, ati_remote_tbl[index].code, in ati_remote_input_report() 600 input_event(dev, EV_KEY, ati_remote_tbl[index].code, 1); in ati_remote_input_report() 601 input_event(dev, EV_KEY, ati_remote_tbl[index].code, 0); in ati_remote_input_report() 735 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in ati_remote_input_init()
|
/linux-4.1.27/drivers/mfd/ |
D | ucb1x00-assabet.c | 54 buttons[i].type = EV_KEY; in ucb1x00_assabet_add()
|
/linux-4.1.27/drivers/acpi/ |
D | button.c | 407 input_set_capability(input, EV_KEY, KEY_POWER); in acpi_button_add() 411 input_set_capability(input, EV_KEY, KEY_SLEEP); in acpi_button_add()
|
/linux-4.1.27/Documentation/acpi/ |
D | video_extension.txt | 73 EV_KEY, KEY_BRIGHTNESSUP 74 EV_KEY, KEY_BRIGHTNESSDOWN
|
/linux-4.1.27/drivers/misc/ibmasm/ |
D | remote.c | 229 mouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in ibmasm_init_remote_input_dev() 242 keybd_dev->evbit[0] = BIT_MASK(EV_KEY); in ibmasm_init_remote_input_dev()
|
/linux-4.1.27/drivers/media/firewire/ |
D | firedtv-rc.c | 141 idev->evbit[0] = BIT_MASK(EV_KEY); in fdtv_register_rc()
|
/linux-4.1.27/drivers/macintosh/ams/ |
D | ams-input.c | 84 set_bit(EV_KEY, input->evbit); in ams_input_enable()
|
/linux-4.1.27/drivers/input/joystick/ |
D | amijoy.c | 139 amijoy_dev[i]->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in amijoy_init()
|
D | a3d.c | 326 input_dev->evbit[0] |= BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY) | in a3d_connect() 354 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in a3d_connect()
|
D | stinger.c | 156 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in stinger_connect()
|
D | magellan.c | 170 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in magellan_connect()
|
D | warrior.c | 162 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in warrior_connect()
|
D | twidjoy.c | 205 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in twidjoy_connect()
|
D | spaceorb.c | 185 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in spaceorb_connect()
|
D | maplecontrol.c | 127 idev->evbit[0] |= BIT_MASK(EV_KEY); in probe_maple_controller()
|
D | guillemot.c | 238 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in guillemot_connect()
|
D | cobra.c | 218 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in cobra_connect()
|
D | spaceball.c | 228 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in spaceball_connect()
|
D | interact.c | 269 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in interact_connect()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | board-omap3pandora.c | 140 GPIO_BUTTON(gpio_num, EV_KEY, event_code, 1, description) 158 GPIO_BUTTON(100, EV_KEY, KEY_LEFTALT, 0, "alt"),
|
D | board-rx51-peripherals.c | 322 .type = EV_KEY, 329 .type = EV_KEY, 336 .type = EV_KEY,
|
/linux-4.1.27/drivers/staging/nvec/ |
D | nvec_kbd.c | 132 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP) | BIT_MASK(EV_LED); in nvec_kbd_probe()
|
/linux-4.1.27/sound/core/ |
D | jack.c | 93 input_set_capability(jack->input_dev, EV_KEY, jack->key[i]); in snd_jack_dev_register()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_status.c | 43 __set_bit(EV_KEY, input->evbit); in uvc_input_init()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
D | net2big-setup.c | 318 .type = EV_KEY,
|
/linux-4.1.27/drivers/tty/serial/ |
D | kgdboc.c | 61 .evbit = { BIT_MASK(EV_KEY) },
|
/linux-4.1.27/drivers/input/tablet/ |
D | kbtab.c | 155 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in kbtab_probe()
|
D | acecad.c | 201 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in usb_acecad_probe()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | usbmouse.c | 180 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in usb_mouse_probe()
|