Lines Matching defs:sleep
690 * Move device to the sleep state when
843 int sleep;
853 sleep = sc->sc_sleeping;
856 if (!sleep)
883 * Put it to sleep here; in case if there is a data
896 rum_set_power_state(struct rum_softc *sc, int sleep)
902 DPRINTFN(12, "moving to %s state (sleep time %u)\n",
903 sleep ? "sleep" : "awake", sc->sc_sleep_time);
906 sleep ? RT2573_MCU_SLEEP : RT2573_MCU_WAKEUP);
914 sc->sc_sleeping = !!sleep;
915 sc->sc_sleep_end = sleep ? ticks + sc->sc_sleep_time : 0;
2203 /* refresh current sleep time */