Home
last modified time | relevance | path

Searched refs:SW_LID (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.1.9/drivers/macintosh/
Dvia-pmu-event.c51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
70 input_report_switch(pmu_input_dev, SW_LID, down); in via_pmu_event()
/linux-6.1.9/drivers/platform/loongarch/
Dloongson-laptop.c213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
230 if (test_bit(SW_LID, generic_inputdev->sw) && !(status & (1 << SW_LID))) { in loongson_hotkey_resume()
233 ke.sw.code = SW_LID; in loongson_hotkey_resume()
/linux-6.1.9/drivers/platform/surface/
Dsurface3-wmi.c103 input_report_switch(s3_wmi.input, SW_LID, lid_sw); in s3_wmi_send_lid_state()
185 input_set_capability(input, EV_SW, SW_LID); in s3_wmi_create_and_register_input()
/linux-6.1.9/arch/x86/platform/olpc/
Dolpc-xo1-sci.c127 if (!!test_bit(SW_LID, lid_switch_idev->sw) == !lid_open) in send_lid_state()
130 input_report_switch(lid_switch_idev, SW_LID, !lid_open); in send_lid_state()
507 set_bit(SW_LID, lid_switch_idev->swbit); in setup_lid_switch()
/linux-6.1.9/drivers/acpi/
Dbutton.c250 SW_LID, state); in acpi_lid_notify_state()
259 input_report_switch(button->input, SW_LID, !state); in acpi_lid_notify_state()
554 input_set_capability(input, EV_SW, SW_LID); in acpi_button_add()
/linux-6.1.9/drivers/input/misc/
Dwistron_btns.c388 { KE_SW, 0x4a, {.sw = {SW_LID, 1}} }, /* lid close */
389 { KE_SW, 0x4b, {.sw = {SW_LID, 0}} }, /* lid open */
589 { KE_SW, 0x4a, {.sw = {SW_LID, 1}} }, /* lid close */
590 { KE_SW, 0x4b, {.sw = {SW_LID, 0}} }, /* lid open */
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml81 linux,code = <SW_LID>;
/linux-6.1.9/arch/arm/boot/dts/
Dsocfpga_cyclone5_sockit.dts65 linux,code = <0x0>; /* SW_LID */
Dste-href-stuib.dtsi26 linux,code = <0>; /* SW_LID */
Drk3288-veyron-chromebook.dtsi39 linux,code = <SW_LID>;
Dste-href-tvk1281618-r3.dtsi22 linux,code = <0>; /* SW_LID */
Dmmp2-olpc-xo-1-75.dts49 linux,code = <SW_LID>;
De60k02.dtsi35 linux,code = <SW_LID>;
De70k02.dtsi39 linux,code = <SW_LID>;
Dste-href-tvk1281618-r2.dtsi27 linux,code = <0>; /* SW_LID */
/linux-6.1.9/arch/arm/mach-pxa/
Dezx.c736 .code = SW_LID,
919 .code = SW_LID,
987 .code = SW_LID,
Dz2.c452 .code = SW_LID,
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-sl28.dts56 linux,code = <SW_LID>;
/linux-6.1.9/arch/arm/mach-omap1/
Dboard-htcherald.c244 {SW_LID, HTCHERALD_GPIO_SLIDE, 0, "SLIDE", EV_SW, 1, 20},
/linux-6.1.9/arch/arm64/boot/dts/allwinner/
Dsun50i-a64-pinebook.dts45 linux,code = <SW_LID>;
Dsun50i-a64-teres-i.dts48 linux,code = <SW_LID>;
/linux-6.1.9/include/uapi/linux/
Dinput-event-codes.h902 #define SW_LID 0x00 /* set = lid shut */ macro
/linux-6.1.9/arch/arm64/boot/dts/qcom/
Dmsm8916-samsung-a2015-common.dtsi59 linux,code = <SW_LID>;
/linux-6.1.9/Documentation/firmware-guide/acpi/
Dacpi-lid.rst63 * SW_LID
/linux-6.1.9/include/dt-bindings/input/
Dlinux-event-codes.h902 #define SW_LID 0x00 /* set = lid shut */ macro

123