Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/macintosh/
H A 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()
/openbmc/linux/drivers/platform/loongarch/
H A 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()
/openbmc/linux/drivers/platform/surface/
H A 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()
/openbmc/linux/arch/x86/platform/olpc/
H A 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()
/openbmc/linux/drivers/acpi/
H A Dbutton.c257 SW_LID, state); in acpi_lid_notify_state()
266 input_report_switch(button->input, SW_LID, !state); in acpi_lid_notify_state()
589 input_set_capability(input, EV_SW, SW_LID); in acpi_button_add()
/openbmc/linux/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c165 .code = SW_LID,
274 .code = SW_LID,
H A Dasus.c29 .code = SW_LID,
/openbmc/linux/drivers/input/misc/
H A 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 */
/openbmc/u-boot/arch/arm/dts/
H A Dsocfpga_cyclone5_sockit.dts65 linux,code = <0x0>; /* SW_LID */
H A Drk3288-veyron-chromebook.dtsi24 linux,code = <0>; /* SW_LID */
H A Dsun50i-a64-pinebook.dts60 linux,code = <SW_LID>;
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Diqs62x.yaml81 linux,code = <SW_LID>;
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_cyclone5_sockit.dts65 linux,code = <0x0>; /* SW_LID */
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-j5-common.dtsi39 linux,code = <SW_LID>;
H A Dmsm8916-samsung-gt5-common.dtsi62 linux,code = <SW_LID>;
H A Dmsm8953-xiaomi-tissot.dts34 linux,code = <SW_LID>;
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-href-stuib.dtsi26 linux,code = <0>; /* SW_LID */
H A Dste-href-tvk1281618-r3.dtsi22 linux,code = <0>; /* SW_LID */
H A Dste-href-tvk1281618-r2.dtsi27 linux,code = <0>; /* SW_LID */
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-chromebook.dtsi39 linux,code = <SW_LID>;
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Dpx30-ringneck-haikou.dts49 linux,code = <SW_LID>;
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dmmp2-olpc-xo-1-75.dts49 linux,code = <SW_LID>;
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-sl28.dts56 linux,code = <SW_LID>;
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A De70k02.dtsi39 linux,code = <SW_LID>;
H A De60k02.dtsi35 linux,code = <SW_LID>;

123