Searched refs:SW_LID (Results 1 - 12 of 12) sorted by relevance
/linux-master/drivers/macintosh/ |
H A D | via-pmu-event.c | 51 set_bit(SW_LID, pmu_input_dev->swbit); 70 input_report_switch(pmu_input_dev, SW_LID, down);
|
/linux-master/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 210 * Only if the firmware supports SW_LID event model, we can handle the 213 if (test_bit(SW_LID, generic_inputdev->swbit)) { 220 * adding SW_LID bit which in sw element can avoid this 230 if (test_bit(SW_LID, generic_inputdev->sw) && !(status & (1 << SW_LID))) { 233 ke.sw.code = SW_LID;
|
/linux-master/drivers/platform/surface/ |
H A D | surface3-wmi.c | 103 input_report_switch(s3_wmi.input, SW_LID, lid_sw); 185 input_set_capability(input, EV_SW, SW_LID);
|
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 127 if (!!test_bit(SW_LID, lid_switch_idev->sw) == !lid_open) 130 input_report_switch(lid_switch_idev, SW_LID, !lid_open); 507 set_bit(SW_LID, lid_switch_idev->swbit);
|
/linux-master/drivers/platform/x86/x86-android-tablets/ |
H A D | asus.c | 29 .code = SW_LID,
|
H A D | lenovo.c | 189 .code = SW_LID, 298 .code = SW_LID,
|
/linux-master/drivers/acpi/ |
H A D | button.c | 217 pr_warn_once("The lid device is not compliant to SW_LID.\n"); 237 * But SW_LID is typed as input switch event, the input 257 SW_LID, state); 266 input_report_switch(button->input, SW_LID, !state); 599 input_set_capability(input, EV_SW, SW_LID);
|
/linux-master/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-master/drivers/input/keyboard/ |
H A D | cros_ec_keyb.c | 122 .code = SW_LID,
|
/linux-master/include/uapi/linux/ |
H A D | input-event-codes.h | 906 #define SW_LID 0x00 /* set = lid shut */ macro
|
/linux-master/scripts/dtc/include-prefixes/dt-bindings/input/ |
H A D | linux-event-codes.h | 906 #define SW_LID 0x00 /* set = lid shut */ macro
|
/linux-master/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 906 #define SW_LID 0x00 /* set = lid shut */ macro
|
Completed in 184 milliseconds