Searched refs:lid_open (Results 1 – 4 of 4) sorted by relevance
38 static bool lid_open; variable118 lid_open = !state ^ !lid_inverted; /* x ^^ y */ in detect_lid_state()128 if (!!test_bit(SW_LID, lid_switch_idev->sw) == !lid_open) in send_lid_state()131 input_report_switch(lid_switch_idev, SW_LID, !lid_open); in send_lid_state()281 } else if ((lid_open && lid_wake_mode == LID_WAKE_OPEN) || in xo1_sci_suspend()282 (!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()
326 lid_open {
548 lid_open {