Lines Matching refs:shouldsleep
357 int shouldsleep; in lbs_thread() local
368 shouldsleep = 0; /* Bye */ in lbs_thread()
370 shouldsleep = 1; /* We need to wait until we're _told_ to die */ in lbs_thread()
372 shouldsleep = 1; /* Sleep mode. Nothing we can do till it wakes */ in lbs_thread()
374 shouldsleep = 0; /* Command timed out. Recover */ in lbs_thread()
376 shouldsleep = 1; /* Firmware not ready. We're waiting for it */ in lbs_thread()
378 shouldsleep = 1; /* Something is en route to the device already */ in lbs_thread()
380 shouldsleep = 0; /* We've a packet to send */ in lbs_thread()
382 shouldsleep = 0; /* We have a command response */ in lbs_thread()
384 shouldsleep = 1; /* Can't send a command; one already running */ in lbs_thread()
387 shouldsleep = 0; /* We have a command to send */ in lbs_thread()
389 shouldsleep = 0; /* We have an event to process */ in lbs_thread()
391 shouldsleep = 1; /* No command */ in lbs_thread()
393 if (shouldsleep) { in lbs_thread()