| /Linux-v5.4/arch/x86/platform/intel-mid/device_libs/ |
| D | platform_gpio_keys.c | 28 {SW_LID, -1, 1, "lid_switch", EV_SW, 0, 20}, 36 {SW_KEYPAD_SLIDE, -1, 1, "MagSw1", EV_SW, 0, 20}, 37 {SW_KEYPAD_SLIDE, -1, 1, "MagSw2", EV_SW, 0, 20},
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | socfpga_cyclone5_sockit.dts | 64 linux,input-type = <5>; /* EV_SW */ 71 linux,input-type = <5>; /* EV_SW */ 78 linux,input-type = <5>; /* EV_SW */ 85 linux,input-type = <5>; /* EV_SW */
|
| D | mmp2-olpc-xo-1-75.dts | 48 linux,input-type = <EV_SW>; 56 linux,input-type = <EV_SW>; 64 linux,input-type = <EV_SW>; 73 linux,input-type = <EV_SW>;
|
| D | orion5x-lacie-d2-network.dts | 51 linux,input-type = <5>; /* EV_SW */ 58 linux,input-type = <5>; /* EV_SW */
|
| D | orion5x-lswsgl.dts | 87 linux,input-type = <5>; /* EV_SW */ 94 linux,input-type = <5>; /* EV_SW */
|
| D | meson8b-ec100.dts | 38 linux,input-type = <EV_SW>; 45 linux,input-type = <EV_SW>;
|
| /Linux-v5.4/net/rfkill/ |
| D | input.c | 214 } else if (type == EV_SW && code == SW_RFKILL_ALL) in rfkill_event() 259 if (test_bit(EV_SW, handle->dev->evbit) && in rfkill_start() 302 .evbit = { BIT(EV_SW) },
|
| /Linux-v5.4/arch/arm/mach-orion5x/ |
| D | ls_hgl-setup.c | 138 .type = EV_SW, 144 .type = EV_SW,
|
| D | net2big-setup.c | 304 .type = EV_SW, 311 .type = EV_SW,
|
| /Linux-v5.4/drivers/hid/ |
| D | hid-cmedia.c | 87 input_dev->evbit[0] = BIT(EV_SW); in cmhid_input_configured() 90 EV_SW, jack_switch_types[i]); in cmhid_input_configured()
|
| /Linux-v5.4/drivers/input/keyboard/ |
| D | cros_ec_keyb.c | 100 .ev_type = EV_SW, 106 .ev_type = EV_SW, 276 ev_type = EV_SW; in cros_ec_keyb_work() 402 cros_ec_keyb_report_bs(ckdev, EV_SW, in cros_ec_keyb_query_switches() 499 (map->ev_type == EV_SW && (switches & BIT(map->bit)))) in cros_ec_keyb_register_bs()
|
| D | gpio_keys.c | 104 BUG_ON(type != EV_SW && type != EV_KEY); in get_n_events_by_type() 120 BUG_ON(type != EV_SW && type != EV_KEY); in get_bm_events_by_type() 301 ATTR_SHOW_FN(switches, EV_SW, false); 303 ATTR_SHOW_FN(disabled_switches, EV_SW, true); 332 ATTR_STORE_FN(disabled_switches, EV_SW);
|
| D | goldfish_events.c | 158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX); in events_probe()
|
| /Linux-v5.4/arch/arm/mach-pxa/ |
| D | csb701.c | 17 .type = EV_SW,
|
| D | corgi.c | 411 .type = EV_SW, 418 .type = EV_SW, 425 .type = EV_SW,
|
| D | ezx.c | 742 .type = EV_SW, 925 .type = EV_SW, 993 .type = EV_SW,
|
| /Linux-v5.4/drivers/macintosh/ |
| D | via-pmu-event.c | 49 set_bit(EV_SW, pmu_input_dev->evbit); in via_pmu_event_init()
|
| /Linux-v5.4/drivers/platform/chrome/ |
| D | chromeos_tbmc.c | 88 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in chromeos_tbmc_add()
|
| /Linux-v5.4/drivers/input/misc/ |
| D | max77650-onkey.c | 70 type = EV_SW; in max77650_onkey_probe()
|
| D | gp2ap002a00f.c | 169 input_set_capability(dt->input, EV_SW, SW_FRONT_PROXIMITY); in gp2a_probe()
|
| /Linux-v5.4/drivers/platform/x86/ |
| D | xo15-ebook.c | 123 input->evbit[0] = BIT_MASK(EV_SW); in ebook_switch_add()
|
| D | fujitsu-tablet.c | 252 input_set_capability(idev, EV_SW, SW_DOCK); in input_fujitsu_setup() 253 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in input_fujitsu_setup()
|
| D | surface3-wmi.c | 186 input_set_capability(input, EV_SW, SW_LID); in s3_wmi_create_and_register_input()
|
| /Linux-v5.4/arch/x86/platform/olpc/ |
| D | olpc-xo1-sci.c | 477 set_bit(EV_SW, ebook_switch_idev->evbit); in setup_ebook_switch() 507 set_bit(EV_SW, lid_switch_idev->evbit); in setup_lid_switch()
|
| /Linux-v5.4/drivers/input/ |
| D | sparse-keymap.c | 201 __set_bit(EV_SW, dev->evbit); in sparse_keymap_setup()
|