Home
last modified time | relevance | path

Searched refs:lid_open (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/arch/x86/platform/olpc/
Dolpc-xo1-sci.c38 static bool lid_open; variable
118 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()
/Linux-v5.4/tools/laptop/freefall/
Dfreefall.c94 static int lid_open(void) in lid_open() function
164 if (1 || on_ac() || lid_open()) in main()
/Linux-v5.4/arch/arm64/boot/dts/nvidia/
Dtegra132-norrin.dts326 lid_open {
/Linux-v5.4/arch/arm/boot/dts/
Dtegra124-venice2.dts548 lid_open {