Searched refs:SW_LID (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/macintosh/
H A Dvia-pmu-event.c51 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 Dloongson-laptop.c210 * 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 Dsurface3-wmi.c103 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 Dolpc-xo1-sci.c127 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 Dasus.c29 .code = SW_LID,
H A Dlenovo.c189 .code = SW_LID,
298 .code = SW_LID,
/linux-master/drivers/acpi/
H A Dbutton.c217 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 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 */
/linux-master/drivers/input/keyboard/
H A Dcros_ec_keyb.c122 .code = SW_LID,
/linux-master/include/uapi/linux/
H A Dinput-event-codes.h906 #define SW_LID 0x00 /* set = lid shut */ macro
/linux-master/scripts/dtc/include-prefixes/dt-bindings/input/
H A Dlinux-event-codes.h906 #define SW_LID 0x00 /* set = lid shut */ macro
/linux-master/include/dt-bindings/input/
H A Dlinux-event-codes.h906 #define SW_LID 0x00 /* set = lid shut */ macro

Completed in 184 milliseconds