Searched refs:power_button_pressed (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dpower.c125 static int power_button_pressed = 0; variable
493 power_button_pressed++;
508 power_button_pressed = 0;
550 if (!power_button_pressed) {
561 if (power_button_pressed > 1)
562 additional_presses += power_button_pressed - 1;
565 power_button_pressed = 0;
978 power_button_pressed++;
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1287.c167 static int power_button_pressed = 0; variable
585 * power_button_pressed - Indicates the number of button presses outstanding
624 power_button_pressed++;
639 power_button_pressed = 0;
681 if (!power_button_pressed) {
692 if (power_button_pressed > 1)
693 additional_presses += power_button_pressed - 1;
696 power_button_pressed = 0;

Completed in 47 milliseconds