/linux/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 210 * Only if the firmware supports SW_LID event model, we can handle the in loongson_hotkey_resume() 213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume() 220 * adding SW_LID bit which in sw element can avoid this 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/drivers/macintosh/ |
H A 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/drivers/platform/arm64/ |
H A D | acer-aspire1-ec.c | 131 input_report_switch(ec->idev, SW_LID, 1); in aspire_ec_irq_handler() 137 input_report_switch(ec->idev, SW_LID, 0); in aspire_ec_irq_handler() 480 input_set_capability(ec->idev, EV_SW, SW_LID); in aspire_ec_probe() 528 input_report_switch(ec->idev, SW_LID, !!(tmp & ASPIRE_EC_LID_OPEN)); in aspire_ec_resume()
|
/linux/drivers/acpi/ |
H A D | button.c | 228 pr_warn_once("The lid device is not compliant to SW_LID.\n"); in acpi_lid_notify_state() 248 * But SW_LID is typed as input switch event, the input in acpi_lid_notify_state() 268 SW_LID, state); in acpi_lid_notify_state() 277 input_report_switch(button->input, SW_LID, !state); in acpi_lid_notify_state() 610 input_set_capability(input, EV_SW, SW_LID); in acpi_button_add()
|
/linux/drivers/platform/surface/ |
H A 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/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-sp.dts | 21 linux,code = <SW_LID>;
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-pinetab2-v2.0.dts | 19 linux,code = <SW_LID>;
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-href-stuib.dtsi | 26 linux,code = <0>; /* SW_LID */
|
H A D | ste-href-tvk1281618-r3.dtsi | 22 linux,code = <0>; /* SW_LID */
|
H A D | ste-href-tvk1281618-r2.dtsi | 27 linux,code = <0>; /* SW_LID */
|
/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_cyclone5_sockit.dts | 65 linux,code = <0x0>; /* SW_LID */
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8939-huawei-kiwi.dts | 42 linux,code = <SW_LID>;
|
H A D | msm8916-samsung-gt5-common.dtsi | 65 linux,code = <SW_LID>;
|
H A D | msm8916-samsung-j5-common.dtsi | 41 linux,code = <SW_LID>;
|
H A D | msm8992-lg-h815.dts | 75 linux,code = <SW_LID>;
|
H A D | msm8953-xiaomi-tissot.dts | 34 linux,code = <SW_LID>;
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | acpi-lid.rst | 63 * SW_LID
|
/linux/drivers/input/misc/ |
H A 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/arch/arm/boot/dts/marvell/ |
H A D | mmp2-olpc-xo-1-75.dts | 49 linux,code = <SW_LID>;
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a-kontron-sl28.dts | 56 linux,code = <SW_LID>;
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | e70k02.dtsi | 39 linux,code = <SW_LID>;
|
H A D | e60k02.dtsi | 39 linux,code = <SW_LID>;
|
H A D | imx6sl-tolino-vision.dts | 55 linux,code = <SW_LID>;
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | asus.c | 29 .code = SW_LID,
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8226-samsung-ms013g.dts | 37 linux,code = <SW_LID>;
|