Lines Matching refs:shouldsleep
463 int shouldsleep; in lbs_thread() local
474 shouldsleep = 0; /* Bye */ in lbs_thread()
476 shouldsleep = 1; /* We need to wait until we're _told_ to die */ in lbs_thread()
478 shouldsleep = 1; /* Sleep mode. Nothing we can do till it wakes */ in lbs_thread()
480 shouldsleep = 0; /* Command timed out. Recover */ in lbs_thread()
482 shouldsleep = 1; /* Firmware not ready. We're waiting for it */ in lbs_thread()
484 shouldsleep = 1; /* Something is en route to the device already */ in lbs_thread()
486 shouldsleep = 0; /* We've a packet to send */ in lbs_thread()
488 shouldsleep = 0; /* We have a command response */ in lbs_thread()
490 shouldsleep = 1; /* Can't send a command; one already running */ in lbs_thread()
493 shouldsleep = 0; /* We have a command to send */ in lbs_thread()
495 shouldsleep = 0; /* We have an event to process */ in lbs_thread()
497 shouldsleep = 1; /* No command */ in lbs_thread()
499 if (shouldsleep) { in lbs_thread()