Lines Matching refs:fps_shift
489 xfer->fps_shift = 0; in usbd_transfer_setup_sub()
493 xfer->fps_shift = edesc->bInterval; in usbd_transfer_setup_sub()
494 if (xfer->fps_shift > 0) in usbd_transfer_setup_sub()
495 xfer->fps_shift--; in usbd_transfer_setup_sub()
496 if (xfer->fps_shift > 3) in usbd_transfer_setup_sub()
497 xfer->fps_shift = 3; in usbd_transfer_setup_sub()
499 xfer->nframes <<= (3 - xfer->fps_shift); in usbd_transfer_setup_sub()
554 xfer->fps_shift = 0; in usbd_transfer_setup_sub()
558 xfer->fps_shift++; in usbd_transfer_setup_sub()
567 xfer->fps_shift += 3; in usbd_transfer_setup_sub()
2054 return (xfer->fps_shift); in usbd_xfer_get_fps_shift()