Searched refs:lid_open (Results 1 – 4 of 4) sorted by relevance
37 static bool lid_open; variable117 lid_open = !state ^ !lid_inverted; /* x ^^ y */ in detect_lid_state()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()280 } else if ((lid_open && lid_wake_mode == LID_WAKE_OPEN) || in xo1_sci_suspend()281 (!lid_open && lid_wake_mode == LID_WAKE_CLOSE)) { in xo1_sci_suspend()
94 static int lid_open(void) in lid_open() function164 if (1 || on_ac() || lid_open()) in main()
329 lid_open {
551 lid_open {
Completed in 8 milliseconds