Lines Matching refs:buf_offset
1489 uint32_t buf_offset;
1500 buf_offset = 0;
1595 usbd_get_page(temp->pc, buf_offset, &buf_res);
1608 buf_offset += EHCI_PAGE_SIZE;
1609 usbd_get_page(temp->pc, buf_offset, &buf_res);
1629 buf_offset += average;
1630 usbd_get_page(temp->pc, buf_offset - 1, &buf_res);
2402 uint32_t buf_offset;
2425 buf_offset = (nframes - xfer->endpoint->isoc_next) &
2429 (buf_offset < xfer->nframes)) {
2445 buf_offset = (xfer->endpoint->isoc_next - nframes) &
2453 buf_offset + xfer->nframes;
2459 buf_offset = 0;
2517 usbd_get_page(xfer->frbuffers, buf_offset, &buf_res);
2523 buf_offset += *plen;
2528 usbd_get_page(xfer->frbuffers, buf_offset - 1,
2711 uint32_t buf_offset;
2734 buf_offset = (nframes - xfer->endpoint->isoc_next) &
2738 (buf_offset < (((xfer->nframes << shift) + 7) / 8))) {
2754 buf_offset = (xfer->endpoint->isoc_next - nframes) &
2761 usb_isoc_time_expand(&sc->sc_bus, nframes) + buf_offset +
2768 buf_offset = 0;
2812 itd_offset[td_no] = buf_offset;
2813 buf_offset += *plen;
2818 itd_offset[td_no] = buf_offset;
2830 if (itd_offset[0] != buf_offset) {
2832 itd_offset[td_no] = buf_offset;
2857 if (itd_offset[x + 1] == buf_offset) {
2863 usbd_get_page(xfer->frbuffers, buf_offset - 1, &buf_res);