Lines Matching refs:shouldsleep
443 int shouldsleep;
454 shouldsleep = 0; /* Bye */
456 shouldsleep = 1; /* We need to wait until we're _told_ to die */
458 shouldsleep = 1; /* Sleep mode. Nothing we can do till it wakes */
460 shouldsleep = 0; /* Command timed out. Recover */
462 shouldsleep = 1; /* Firmware not ready. We're waiting for it */
464 shouldsleep = 1; /* Something is en route to the device already */
466 shouldsleep = 0; /* We've a packet to send */
468 shouldsleep = 0; /* We have a command response */
470 shouldsleep = 1; /* Can't send a command; one already running */
473 shouldsleep = 0; /* We have a command to send */
475 shouldsleep = 0; /* We have an event to process */
477 shouldsleep = 1; /* No command */
479 if (shouldsleep) {