Searched refs:EV_SW (Results 1 - 25 of 45) sorted by relevance

12

/linux-master/drivers/macintosh/
H A Dvia-pmu-event.c49 set_bit(EV_SW, pmu_input_dev->evbit);
/linux-master/drivers/platform/chrome/
H A Dchromeos_tbmc.c88 input_set_capability(idev, EV_SW, SW_TABLET_MODE);
/linux-master/net/rfkill/
H A Dinput.c214 } else if (type == EV_SW && code == SW_RFKILL_ALL)
259 if (test_bit(EV_SW, handle->dev->evbit) &&
302 .evbit = { BIT(EV_SW) },
/linux-master/drivers/input/misc/
H A Dmax77650-onkey.c70 type = EV_SW;
H A Dsoc_button_array.c304 info->event_type = EV_SW;
309 info->event_type = EV_SW;
509 { "tablet_mode", 0, EV_SW, SW_TABLET_MODE, false, false, false },
/linux-master/drivers/hid/
H A Dhid-cmedia.c129 input_dev->evbit[0] = BIT(EV_SW);
132 EV_SW, jack_switch_types[i]);
H A Dhid-google-hammer.c199 input_set_capability(input, EV_SW, SW_TABLET_MODE);
/linux-master/arch/arm/mach-orion5x/
H A Dnet2big-setup.c301 .type = EV_SW,
308 .type = EV_SW,
/linux-master/drivers/input/keyboard/
H A Dcros_ec_keyb.c75 * @inverted: If the #define and EV_SW have opposite meanings, this is true.
121 .ev_type = EV_SW,
127 .ev_type = EV_SW,
296 ev_type = EV_SW;
418 cros_ec_keyb_report_bs(ckdev, EV_SW,
518 (map->ev_type == EV_SW && (switches & BIT(map->bit))))
H A Dgpio_keys.c72 * switches [ro] - bitmap of switches (EV_SW) which can be
102 * @type: type of button (%EV_KEY, %EV_SW)
109 BUG_ON(type != EV_SW && type != EV_KEY);
117 * @type: type of button (%EV_KEY, %EV_SW)
125 BUG_ON(type != EV_SW && type != EV_KEY);
189 * @type: button type (%EV_KEY, %EV_SW)
237 * @type: button type (%EV_KEY, %EV_SW)
313 ATTR_SHOW_FN(switches, EV_SW, false);
315 ATTR_SHOW_FN(disabled_switches, EV_SW, true);
344 ATTR_STORE_FN(disabled_switches, EV_SW);
[all...]
H A Dgoldfish_events.c158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX);
H A Diqs62x-keys.c286 input_set_capability(input, EV_SW,
/linux-master/drivers/platform/x86/
H A Dxo15-ebook.c122 input->evbit[0] = BIT_MASK(EV_SW);
H A Dfujitsu-tablet.c252 input_set_capability(idev, EV_SW, SW_DOCK);
253 input_set_capability(idev, EV_SW, SW_TABLET_MODE);
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dasus.c32 .type = EV_SW,
H A Dlenovo.c192 .type = EV_SW,
301 .type = EV_SW,
/linux-master/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c476 set_bit(EV_SW, ebook_switch_idev->evbit);
506 set_bit(EV_SW, lid_switch_idev->evbit);
/linux-master/drivers/input/
H A Dsparse-keymap.c201 __set_bit(EV_SW, dev->evbit);
H A Devdev.c65 [EV_SW] = SW_CNT,
795 case EV_SW: bits = dev->swbit; len = SW_MAX; break;
1167 return evdev_handle_get_val(client, dev, EV_SW, dev->sw,
H A Dinput.c58 [EV_SW] = SW_MAX,
285 case EV_SW:
1232 if (test_bit(EV_SW, dev->evbit))
1714 if (test_bit(EV_SW, dev->evbit))
2131 case EV_SW:
/linux-master/drivers/platform/surface/
H A Dsurface3-wmi.c185 input_set_capability(input, EV_SW, SW_LID);
/linux-master/arch/arm/mach-pxa/
H A Dspitz.c417 .type = EV_SW,
423 .type = EV_SW,
/linux-master/include/linux/
H A Dinput.h445 input_event(dev, EV_SW, code, !!value);
/linux-master/drivers/virtio/
H A Dvirtio_input.c293 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_SW,
/linux-master/drivers/platform/x86/dell/
H A Ddell-wmi-base.c372 __set_bit(EV_SW, (dev)->evbit);

Completed in 237 milliseconds

12