Lines Matching defs:sleep
692 * Move device to the sleep state when
881 int sleep;
891 sleep = sc->sc_sleeping;
894 if (!sleep)
921 * Put it to sleep here; in case if there is a data
934 rum_set_power_state(struct rum_softc *sc, int sleep)
940 DPRINTFN(12, "moving to %s state (sleep time %u)\n",
941 sleep ? "sleep" : "awake", sc->sc_sleep_time);
944 sleep ? RT2573_MCU_SLEEP : RT2573_MCU_WAKEUP);
952 sc->sc_sleeping = !!sleep;
953 sc->sc_sleep_end = sleep ? ticks + sc->sc_sleep_time : 0;
2239 /* refresh current sleep time */