Lines Matching refs:shouldsleep
422 int shouldsleep; in lbs_thread() local
433 shouldsleep = 0; /* Bye */ in lbs_thread()
435 shouldsleep = 1; /* We need to wait until we're _told_ to die */ in lbs_thread()
437 shouldsleep = 1; /* Sleep mode. Nothing we can do till it wakes */ in lbs_thread()
439 shouldsleep = 0; /* Command timed out. Recover */ in lbs_thread()
441 shouldsleep = 1; /* Firmware not ready. We're waiting for it */ in lbs_thread()
443 shouldsleep = 1; /* Something is en route to the device already */ in lbs_thread()
445 shouldsleep = 0; /* We've a packet to send */ in lbs_thread()
447 shouldsleep = 0; /* We have a command response */ in lbs_thread()
449 shouldsleep = 1; /* Can't send a command; one already running */ in lbs_thread()
451 shouldsleep = 0; /* We have a command to send */ in lbs_thread()
453 shouldsleep = 0; /* We have an event to process */ in lbs_thread()
455 shouldsleep = 1; /* No command */ in lbs_thread()
457 if (shouldsleep) { in lbs_thread()