Home
last modified time | relevance | path

Searched refs:fps_shift (Results 1 – 3 of 3) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c489 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()
[all …]
Dusb_core.h175 uint8_t fps_shift; /* down shift of FPS, 0..3 */ member
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c2297 uint8_t mult, uint8_t fps_shift, uint16_t max_packet_size, in xhci_configure_endpoint() argument
2359 fps_shift += 3; in xhci_configure_endpoint()
2367 if (fps_shift > 3) in xhci_configure_endpoint()
2368 fps_shift--; in xhci_configure_endpoint()
2369 temp |= XHCI_EPCTX_0_IVAL_SET(fps_shift); in xhci_configure_endpoint()
2372 temp |= XHCI_EPCTX_0_IVAL_SET(fps_shift); in xhci_configure_endpoint()