| /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/loongarch/ |
| H A D | loongson-laptop.c | 212 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume() 229 if (test_bit(SW_LID, generic_inputdev->sw) && !(status & (1 << SW_LID))) { in loongson_hotkey_resume() 232 ke.sw.code = SW_LID; in loongson_hotkey_resume()
|
| /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>;
|
| H A D | px30-ringneck-haikou.dts | 50 linux,code = <SW_LID>;
|
| H A D | rk3399-puma-haikou.dts | 55 linux,code = <SW_LID>;
|
| H A D | rk3588-tiger-haikou.dts | 59 linux,code = <SW_LID>;
|
| /linux/drivers/acpi/ |
| H A D | button.c | 269 SW_LID, state); in acpi_lid_notify_state() 278 input_report_switch(button->input, SW_LID, !state); in acpi_lid_notify_state() 616 input_set_capability(input, EV_SW, SW_LID); in acpi_button_add()
|
| /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/intel/socfpga/ |
| H A D | socfpga_cyclone5_sockit.dts | 65 linux,code = <0x0>; /* SW_LID */
|
| /linux/drivers/platform/x86/x86-android-tablets/ |
| H A D | lenovo.c | 222 PROPERTY_ENTRY_U32("linux,code", SW_LID), 306 PROPERTY_ENTRY_U32("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/drivers/platform/arm64/ |
| H A D | huawei-gaokun-ec.c | 732 input_report_switch(ec->idev, SW_LID, !status); in gaokun_ec_irq_handler() 768 input_set_capability(ec->idev, EV_SW, SW_LID); in gaokun_ec_probe()
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8939-huawei-kiwi.dts | 42 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 | msm8916-samsung-gt5-common.dtsi | 65 linux,code = <SW_LID>;
|
| H A D | msm8953-xiaomi-tissot.dts | 34 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 | e60k02.dtsi | 39 linux,code = <SW_LID>;
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8926-motorola-peregrine.dts | 46 linux,code = <SW_LID>;
|
| H A D | qcom-msm8226-samsung-ms013g.dts | 61 linux,code = <SW_LID>;
|