Lines Matching refs:nframes
722 uint8_t nframes; in ohci_isoc_done() local
741 nframes = td->frames; in ohci_isoc_done()
744 if (nframes > 8) { in ohci_isoc_done()
745 nframes = 8; in ohci_isoc_done()
747 while (nframes--) { in ohci_isoc_done()
770 xfer->aframes = xfer->nframes; in ohci_isoc_done()
816 if (xfer->aframes != xfer->nframes) { in ohci_non_isoc_done_sub()
840 } else if (xfer->aframes != xfer->nframes) { in ohci_non_isoc_done_sub()
848 if (xfer->aframes != xfer->nframes) { in ohci_non_isoc_done_sub()
924 while (xfer->aframes != xfer->nframes) { in ohci_non_isoc_done()
1438 if (xfer->nframes == 1) { in ohci_setup_standard_chain()
1475 while (x != xfer->nframes) { in ohci_setup_standard_chain()
1484 if (x == xfer->nframes) { in ohci_setup_standard_chain()
1846 uint32_t nframes; in ohci_device_isoc_enter() local
1858 nframes = le32toh(hcca->hcca_frame_number); in ohci_device_isoc_enter()
1861 xfer, xfer->endpoint->isoc_next, xfer->nframes, nframes); in ohci_device_isoc_enter()
1864 (((nframes - xfer->endpoint->isoc_next) & 0xFFFF) < xfer->nframes) || in ohci_device_isoc_enter()
1865 (((xfer->endpoint->isoc_next - nframes) & 0xFFFF) >= 128)) { in ohci_device_isoc_enter()
1872 xfer->endpoint->isoc_next = (nframes + 3) & 0xFFFF; in ohci_device_isoc_enter()
1880 buf_offset = ((xfer->endpoint->isoc_next - nframes) & 0xFFFF); in ohci_device_isoc_enter()
1886 (usb_isoc_time_expand(&sc->sc_bus, nframes) + buf_offset + in ohci_device_isoc_enter()
1887 xfer->nframes); in ohci_device_isoc_enter()
1891 nframes = xfer->nframes; in ohci_device_isoc_enter()
1908 while (nframes--) { in ohci_device_isoc_enter()
1924 (nframes == 0)) { in ohci_device_isoc_enter()
2410 ntd = ((2 * xfer->nframes) + 1 /* STATUS */ in ohci_xfer_setup()
2420 ntd = ((2 * xfer->nframes) in ohci_xfer_setup()
2430 ntd = ((2 * xfer->nframes) in ohci_xfer_setup()
2440 howmany(xfer->nframes, OHCI_ITD_NOFFSET) + in ohci_xfer_setup()