Home
last modified time | relevance | path

Searched full:ev_sw (Results 1 – 25 of 122) sorted by relevance

12345

/openbmc/u-boot/arch/arm/dts/
H A Dsocfpga_cyclone5_sockit.dts64 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 */
H A Drk3288-veyron-chromebook.dtsi25 linux,input-type = <5>; /* EV_SW */
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_cyclone5_sockit.dts64 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 */
/openbmc/linux/drivers/input/keyboard/
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);
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()
/openbmc/linux/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) },
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dorion5x-lacie-d2-network.dts48 linux,input-type = <5>; /* EV_SW */
55 linux,input-type = <5>; /* EV_SW */
H A Dmmp2-olpc-xo-1-75.dts48 linux,input-type = <EV_SW>;
56 linux,input-type = <EV_SW>;
H A Dorion5x-lswsgl.dts87 linux,input-type = <5>; /* EV_SW */
94 linux,input-type = <5>; /* EV_SW */
/openbmc/linux/include/linux/
H A Dtca6416_keypad.h19 int type; /* input event type (EV_KEY, EV_SW) */
H A Dgpio_keys.h16 * @type: input event type (%EV_KEY, %EV_SW, %EV_ABS)
/openbmc/linux/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()
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dinput.yaml40 - 5 # EV_SW
/openbmc/linux/drivers/macintosh/
H A Dvia-pmu-event.c49 set_bit(EV_SW, pmu_input_dev->evbit); in via_pmu_event_init()
/openbmc/linux/Documentation/input/
H A Devent-codes.rst58 * EV_SW:
264 EV_SW section in Event codes
267 EV_SW events describe stateful binary switches. For example, the SW_LID code is
/openbmc/linux/drivers/platform/x86/
H A Dfujitsu-tablet.c252 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()
H A Dxo15-ebook.c121 input->evbit[0] = BIT_MASK(EV_SW); in ebook_switch_add()
/openbmc/linux/drivers/platform/chrome/
H A Dchromeos_tbmc.c88 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in chromeos_tbmc_add()
/openbmc/linux/drivers/input/misc/
H A Dmax77650-onkey.c70 type = EV_SW; in max77650_onkey_probe()
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 },
/openbmc/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8b-ec100.dts43 linux,input-type = <EV_SW>;
50 linux,input-type = <EV_SW>;
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-gt5-common.dtsi61 linux,input-type = <EV_SW>;
H A Dmsm8916-samsung-j5-common.dtsi38 linux,input-type = <EV_SW>;
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-chromebook.dtsi40 linux,input-type = <EV_SW>;
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-droid4-xt894.dts27 linux,input-type = <EV_SW>;

12345