Home | History | Annotate | Download | only in usb

Lines Matching defs:ival

3321 uhci_device_setintr(uhci_softc_t *sc, struct uhci_pipe *upipe, int ival)
3329 if (ival == 0) {
3334 if (ival > UHCI_VFRAMELIST_COUNT)
3335 ival = UHCI_VFRAMELIST_COUNT;
3336 npoll = howmany(UHCI_VFRAMELIST_COUNT, ival);
3337 DPRINTF("ival=%jd npoll=%jd", ival, npoll, 0, 0);
3348 for (bestoffs = offs = 0, bestbw = ~0; offs < ival; offs++) {
3350 bw += sc->sc_vframes[MOD(i * ival + offs)].bandwidth;
3365 sqh->pos = MOD(i * ival + bestoffs);
3388 int ival;
3443 ival = pipe->up_interval;
3444 if (ival == USBD_DEFAULT_INTERVAL)
3445 ival = ed->bInterval;
3446 return uhci_device_setintr(sc, upipe, ival);
3827 unsigned int ival;
3841 ival = xfer->ux_pipe->up_endpoint->ue_edesc->bInterval;
3842 sc->sc_ival = mstohz(ival);