Lines Matching refs:shouldsleep
444 int shouldsleep;
455 shouldsleep = 0; /* Bye */
457 shouldsleep = 1; /* We need to wait until we're _told_ to die */
459 shouldsleep = 1; /* Sleep mode. Nothing we can do till it wakes */
461 shouldsleep = 0; /* Command timed out. Recover */
463 shouldsleep = 1; /* Firmware not ready. We're waiting for it */
465 shouldsleep = 1; /* Something is en route to the device already */
467 shouldsleep = 0; /* We've a packet to send */
469 shouldsleep = 0; /* We have a command response */
471 shouldsleep = 1; /* Can't send a command; one already running */
474 shouldsleep = 0; /* We have a command to send */
476 shouldsleep = 0; /* We have an event to process */
478 shouldsleep = 1; /* No command */
480 if (shouldsleep) {