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