Lines Matching defs:lid_status
59 int lid_status; /* open or closed */
101 int lid_status;
110 status = acpi_GetInteger(sc->lid_handle, "_LID", &lid_status);
112 lid_status = 1; /* assume lid is opened */
115 sc->lid_status = lid_status ? 1 : 0;
118 acpi_UserNotify("Lid", sc->lid_handle, sc->lid_status);
122 evdev_push_sw(sc->lid_evdev, SW_LID, lid_status ? 0 : 1);
188 "state", CTLFLAG_RD, &sc->lid_status, 0,
232 sc->lid_status ? "opened" : "closed");
234 acpi_UserNotify("Lid", sc->lid_handle, sc->lid_status);
236 if (sc->lid_status == 0)