/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 220 * Only if the firmware supports SW_LID event model, we can handle the in loongson_hotkey_resume() 223 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume() 230 * adding SW_LID bit which in sw element can avoid this in loongson_hotkey_resume() 240 if (test_bit(SW_LID, generic_inputdev->sw) && !(status & (1 << SW_LID))) { in loongson_hotkey_resume() 243 ke.sw.code = SW_LID; in loongson_hotkey_resume()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | surface3-wmi.c | 99 input_report_switch(s3_wmi.input, SW_LID, lid_sw); in s3_wmi_send_lid_state() 186 input_set_capability(input, EV_SW, SW_LID); in s3_wmi_create_and_register_input()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/ |
H A D | platform_gpio_keys.c | 28 {SW_LID, -1, 1, "lid_switch", EV_SW, 0, 20},
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | button.c | 216 pr_warn_once("The lid device is not compliant to SW_LID.\n"); in acpi_lid_notify_state() 236 * But SW_LID is typed as input switch event, the input in acpi_lid_notify_state() 256 SW_LID, state); in acpi_lid_notify_state() 265 input_report_switch(button->input, SW_LID, !state); in acpi_lid_notify_state() 562 input_set_capability(input, EV_SW, SW_LID); in acpi_button_add()
|
/kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | button.c | 217 pr_warn_once("The lid device is not compliant to SW_LID.\n"); in acpi_lid_notify_state() 237 * But SW_LID is typed as input switch event, the input in acpi_lid_notify_state() 257 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()
|
/kernel/linux/linux-6.6/arch/x86/platform/olpc/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/platform/x86/x86-android-tablets/ |
H A D | asus.c | 29 .code = SW_LID,
|
H A D | lenovo.c | 165 .code = SW_LID, 274 .code = SW_LID,
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | ezx.c | 737 .code = SW_LID, 920 .code = SW_LID, 988 .code = SW_LID,
|
H A D | z2.c | 453 .code = SW_LID,
|
H A D | corgi.c | 412 .code = SW_LID,
|
/kernel/linux/linux-5.10/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 */
|
/kernel/linux/linux-6.6/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 */
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | board-htcherald.c | 251 {SW_LID, HTCHERALD_GPIO_SLIDE, 0, "SLIDE", EV_SW, 1, 20},
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | cros_ec_keyb.c | 101 .code = SW_LID,
|
/kernel/linux/linux-5.10/scripts/dtc/include-prefixes/dt-bindings/input/ |
H A D | linux-event-codes.h | 880 #define SW_LID 0x00 /* set = lid shut */ macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | input-event-codes.h | 880 #define SW_LID 0x00 /* set = lid shut */ macro
|
/kernel/linux/linux-5.10/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 880 #define SW_LID 0x00 /* set = lid shut */ macro
|
/kernel/linux/linux-6.6/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 905 #define SW_LID 0x00 /* set = lid shut */ macro
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | input-event-codes.h | 905 #define SW_LID 0x00 /* set = lid shut */ macro
|