Lines Matching refs:nframes

1108 	if (xfer->aframes != xfer->nframes) {  in ehci_non_isoc_done_sub()
1127 } else if (xfer->aframes != xfer->nframes) { in ehci_non_isoc_done_sub()
1233 while (xfer->aframes != xfer->nframes) { in ehci_non_isoc_done()
1818 if (xfer->nframes == 1) { in ehci_setup_standard_chain()
1832 while (x != xfer->nframes) { in ehci_setup_standard_chain()
1841 if (x == xfer->nframes) { in ehci_setup_standard_chain()
2047 uint32_t nframes = xfer->nframes; in ehci_isoc_fs_done() local
2057 while (nframes--) { in ehci_isoc_fs_done()
2094 xfer->aframes = xfer->nframes; in ehci_isoc_fs_done()
2100 uint32_t nframes = xfer->nframes; in ehci_isoc_hs_done() local
2111 while (nframes) { in ehci_isoc_hs_done()
2150 nframes--; in ehci_isoc_hs_done()
2155 if ((td_no == 8) || (nframes == 0)) { in ehci_isoc_hs_done()
2164 xfer->aframes = xfer->nframes; in ehci_isoc_hs_done()
2467 uint32_t nframes; in ehci_device_isoc_fs_enter() local
2480 xfer, xfer->endpoint->isoc_next, xfer->nframes); in ehci_device_isoc_fs_enter()
2484 nframes = EOREAD4(sc, EHCI_FRINDEX) / 8; in ehci_device_isoc_fs_enter()
2490 buf_offset = (nframes - xfer->endpoint->isoc_next) & in ehci_device_isoc_fs_enter()
2494 (buf_offset < xfer->nframes)) { in ehci_device_isoc_fs_enter()
2501 xfer->endpoint->isoc_next = (nframes + 3) & in ehci_device_isoc_fs_enter()
2510 buf_offset = (xfer->endpoint->isoc_next - nframes) & in ehci_device_isoc_fs_enter()
2517 usb_isoc_time_expand(&sc->sc_bus, nframes) + in ehci_device_isoc_fs_enter()
2518 buf_offset + xfer->nframes; in ehci_device_isoc_fs_enter()
2522 nframes = xfer->nframes; in ehci_device_isoc_fs_enter()
2541 while (nframes--) { in ehci_device_isoc_fs_enter()
2567 xfer->isoc_time_complete - nframes - 1); in ehci_device_isoc_fs_enter()
2632 if (nframes == 0) { in ehci_device_isoc_fs_enter()
2646 DPRINTF("FS-TD %d\n", nframes); in ehci_device_isoc_fs_enter()
2772 uint32_t nframes; in ehci_device_isoc_hs_enter() local
2785 xfer, xfer->endpoint->isoc_next, xfer->nframes, (int)shift); in ehci_device_isoc_hs_enter()
2789 nframes = EOREAD4(sc, EHCI_FRINDEX) / 8; in ehci_device_isoc_hs_enter()
2795 buf_offset = (nframes - xfer->endpoint->isoc_next) & in ehci_device_isoc_hs_enter()
2799 (buf_offset < (((xfer->nframes << shift) + 7) / 8))) { in ehci_device_isoc_hs_enter()
2806 xfer->endpoint->isoc_next = (nframes + 3) & in ehci_device_isoc_hs_enter()
2815 buf_offset = (xfer->endpoint->isoc_next - nframes) & in ehci_device_isoc_hs_enter()
2822 usb_isoc_time_expand(&sc->sc_bus, nframes) + buf_offset + in ehci_device_isoc_hs_enter()
2823 (((xfer->nframes << shift) + 7) / 8); in ehci_device_isoc_hs_enter()
2827 nframes = xfer->nframes; in ehci_device_isoc_hs_enter()
2847 while (nframes) { in ehci_device_isoc_hs_enter()
2876 nframes --; in ehci_device_isoc_hs_enter()
2884 if ((td_no == 8) || (nframes == 0)) { in ehci_device_isoc_hs_enter()
2937 if (nframes == 0) { in ehci_device_isoc_hs_enter()
2943 DPRINTF("HS-TD %d\n", nframes); in ehci_device_isoc_hs_enter()
3554 nqtd = ((2 * xfer->nframes) + 1 /* STATUS */ in ehci_xfer_setup()
3567 nqtd = ((2 * xfer->nframes) in ehci_xfer_setup()
3589 nqtd = ((2 * xfer->nframes) in ehci_xfer_setup()
3601 nsitd = xfer->nframes; in ehci_xfer_setup()
3612 nitd = ((xfer->nframes + 7) / 8) << in ehci_xfer_setup()