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