Lines Matching defs:rate
696 int rate;
699 rate = sc->sc_pollrate;
700 /* Range check rate */
701 if (rate > 1000)
702 rate = 1000;
703 /* Check for set rate */
704 if ((rate > 0) && (sc->sc_xfer[UMS_INTR_DT] != NULL)) {
705 DPRINTF("Setting pollrate = %d\n", rate);
709 usbd_xfer_set_interval(sc->sc_xfer[UMS_INTR_DT], 1000 / rate);
811 sc->sc_mode.rate = -1;
887 /* store polling rate */
888 sc->sc_pollrate = mode.rate;