Lines Matching defs:sleep
695 * Move device to the sleep state when
882 int sleep;
892 sleep = sc->sc_sleeping;
895 if (!sleep)
922 * Put it to sleep here; in case if there is a data
935 rum_set_power_state(struct rum_softc *sc, int sleep)
941 DPRINTFN(12, "moving to %s state (sleep time %u)\n",
942 sleep ? "sleep" : "awake", sc->sc_sleep_time);
945 sleep ? RT2573_MCU_SLEEP : RT2573_MCU_WAKEUP);
953 sc->sc_sleeping = !!sleep;
954 sc->sc_sleep_end = sleep ? ticks + sc->sc_sleep_time : 0;
2246 /* refresh current sleep time */