Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/
H A Dplatform_gpio_keys.c28 {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},
/kernel/linux/linux-5.10/net/rfkill/
H A Dinput.c214 } 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) },
/kernel/linux/linux-6.6/net/rfkill/
H A Dinput.c214 } 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) },
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dcros_ec_keyb.c69 * @inverted: If the #define and EV_SW have opposite meanings, this is true.
100 .ev_type = EV_SW,
106 .ev_type = EV_SW,
275 ev_type = EV_SW; in cros_ec_keyb_work()
397 cros_ec_keyb_report_bs(ckdev, EV_SW, in cros_ec_keyb_query_switches()
494 (map->ev_type == EV_SW && (switches & BIT(map->bit)))) in cros_ec_keyb_register_bs()
H A Dgpio_keys.c67 * switches [ro] - bitmap of switches (EV_SW) which can be
97 * @type: type of button (%EV_KEY, %EV_SW)
104 BUG_ON(type != EV_SW && type != EV_KEY); in get_n_events_by_type()
112 * @type: type of button (%EV_KEY, %EV_SW)
120 BUG_ON(type != EV_SW && type != EV_KEY); in get_bm_events_by_type()
177 * @type: button type (%EV_KEY, %EV_SW)
225 * @type: button type (%EV_KEY, %EV_SW)
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);
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/
H A Dls_hgl-setup.c138 .type = EV_SW,
144 .type = EV_SW,
H A Dnet2big-setup.c304 .type = EV_SW,
311 .type = EV_SW,
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-cmedia.c87 input_dev->evbit[0] = BIT(EV_SW); in cmhid_input_configured()
90 EV_SW, jack_switch_types[i]); in cmhid_input_configured()
/kernel/linux/linux-6.6/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; in cros_ec_keyb_work()
418 cros_ec_keyb_report_bs(ckdev, EV_SW, in cros_ec_keyb_query_switches()
518 (map->ev_type == EV_SW && (switches & BIT(map->bit)))) in cros_ec_keyb_register_bs()
H A Dgpio_keys.c70 * switches [ro] - bitmap of switches (EV_SW) which can be
100 * @type: type of button (%EV_KEY, %EV_SW)
107 BUG_ON(type != EV_SW && type != EV_KEY); in get_n_events_by_type()
115 * @type: type of button (%EV_KEY, %EV_SW)
123 BUG_ON(type != EV_SW && type != EV_KEY); in get_bm_events_by_type()
187 * @type: button type (%EV_KEY, %EV_SW)
235 * @type: button type (%EV_KEY, %EV_SW)
311 ATTR_SHOW_FN(switches, EV_SW, false);
313 ATTR_SHOW_FN(disabled_switches, EV_SW, true);
342 ATTR_STORE_FN(disabled_switches, EV_SW);
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
H A Dcsb701.c17 .type = EV_SW,
H A Dcorgi.c411 .type = EV_SW,
418 .type = EV_SW,
425 .type = EV_SW,
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dvia-pmu-event.c49 set_bit(EV_SW, pmu_input_dev->evbit); in via_pmu_event_init()
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dvia-pmu-event.c49 set_bit(EV_SW, pmu_input_dev->evbit); in via_pmu_event_init()
/kernel/linux/linux-6.6/arch/arm/mach-orion5x/
H A Dnet2big-setup.c301 .type = EV_SW,
308 .type = EV_SW,
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-cmedia.c129 input_dev->evbit[0] = BIT(EV_SW); in cmhid_input_configured()
132 EV_SW, jack_switch_types[i]); in cmhid_input_configured()
/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dchromeos_tbmc.c88 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in chromeos_tbmc_add()
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dchromeos_tbmc.c88 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in chromeos_tbmc_add()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dsoc_button_array.c304 info->event_type = EV_SW; in soc_button_parse_btn_desc()
309 info->event_type = EV_SW; in soc_button_parse_btn_desc()
511 { "tablet_mode", 0, EV_SW, SW_TABLET_MODE, false, false, false },
H A Dmax77650-onkey.c70 type = EV_SW; in max77650_onkey_probe()
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dsoc_button_array.c304 info->event_type = EV_SW; in soc_button_parse_btn_desc()
309 info->event_type = EV_SW; in soc_button_parse_btn_desc()
511 { "tablet_mode", 0, EV_SW, SW_TABLET_MODE, false, false, false },
H A Dmax77650-onkey.c70 type = EV_SW; in max77650_onkey_probe()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dxo15-ebook.c123 input->evbit[0] = BIT_MASK(EV_SW); in ebook_switch_add()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dxo15-ebook.c121 input->evbit[0] = BIT_MASK(EV_SW); in ebook_switch_add()
/kernel/linux/linux-6.6/drivers/platform/x86/x86-android-tablets/
H A Dasus.c32 .type = EV_SW,

Completed in 13 milliseconds

1234