/linux-6.1.9/drivers/macintosh/ |
D | via-pmu-event.c | 51 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/ |
D | loongson-laptop.c | 213 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/ |
D | surface3-wmi.c | 103 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/ |
D | olpc-xo1-sci.c | 127 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/ |
D | button.c | 250 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/ |
D | wistron_btns.c | 388 { 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/ |
D | iqs62x.yaml | 81 linux,code = <SW_LID>;
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | socfpga_cyclone5_sockit.dts | 65 linux,code = <0x0>; /* SW_LID */
|
D | ste-href-stuib.dtsi | 26 linux,code = <0>; /* SW_LID */
|
D | rk3288-veyron-chromebook.dtsi | 39 linux,code = <SW_LID>;
|
D | ste-href-tvk1281618-r3.dtsi | 22 linux,code = <0>; /* SW_LID */
|
D | mmp2-olpc-xo-1-75.dts | 49 linux,code = <SW_LID>;
|
D | e60k02.dtsi | 35 linux,code = <SW_LID>;
|
D | e70k02.dtsi | 39 linux,code = <SW_LID>;
|
D | ste-href-tvk1281618-r2.dtsi | 27 linux,code = <0>; /* SW_LID */
|
/linux-6.1.9/arch/arm/mach-pxa/ |
D | ezx.c | 736 .code = SW_LID, 919 .code = SW_LID, 987 .code = SW_LID,
|
D | z2.c | 452 .code = SW_LID,
|
/linux-6.1.9/arch/arm64/boot/dts/freescale/ |
D | fsl-ls1028a-kontron-sl28.dts | 56 linux,code = <SW_LID>;
|
/linux-6.1.9/arch/arm/mach-omap1/ |
D | board-htcherald.c | 244 {SW_LID, HTCHERALD_GPIO_SLIDE, 0, "SLIDE", EV_SW, 1, 20},
|
/linux-6.1.9/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64-pinebook.dts | 45 linux,code = <SW_LID>;
|
D | sun50i-a64-teres-i.dts | 48 linux,code = <SW_LID>;
|
/linux-6.1.9/include/uapi/linux/ |
D | input-event-codes.h | 902 #define SW_LID 0x00 /* set = lid shut */ macro
|
/linux-6.1.9/arch/arm64/boot/dts/qcom/ |
D | msm8916-samsung-a2015-common.dtsi | 59 linux,code = <SW_LID>;
|
/linux-6.1.9/Documentation/firmware-guide/acpi/ |
D | acpi-lid.rst | 63 * SW_LID
|
/linux-6.1.9/include/dt-bindings/input/ |
D | linux-event-codes.h | 902 #define SW_LID 0x00 /* set = lid shut */ macro
|