Home
last modified time | relevance | path

Searched refs:ux_length (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/sys/dev/usb/
H A Dusbdi.c386 KASSERT(xfer->ux_length == 0 || xfer->ux_buf != NULL); in usbd_transfer()
388 size = xfer->ux_length; in usbd_transfer()
707 xfer->ux_length = length; in usbd_setup_xfer()
726 xfer->ux_length = length; in usbd_setup_default_xfer()
743 xfer->ux_length = 0; in usbd_setup_isoc_xfer()
754 xfer->ux_length += xfer->ux_frlengths[i]; in usbd_setup_isoc_xfer()
1135 xfer->ux_length); in usb_transfer_complete()
1138 xfer->ux_actlen = xfer->ux_length; in usb_transfer_complete()
1168 if (!xfer->ux_status && xfer->ux_actlen < xfer->ux_length && in usb_transfer_complete()
1171 xfer->ux_actlen, xfer->ux_length, 0, 0); in usb_transfer_complete()
[all …]
H A Dvhci.c304 if (utoh && (xfer->ux_length > 0)) { in vhci_pkt_ctrl_create()
318 if (xfer->ux_length > 0) { in vhci_pkt_ctrl_create()
330 dat->size = xfer->ux_length; in vhci_pkt_ctrl_create()
708 DPRINTF("%s: called, len=%zu\n", __func__, (size_t)xfer->ux_length); in vhci_root_intr_start()
813 memset(p, 0, xfer->ux_length); in vhci_usb_attach()
815 xfer->ux_actlen = xfer->ux_length; in vhci_usb_attach()
900 memset(p, 0, xfer->ux_length); in vhci_usb_detach()
902 xfer->ux_actlen = xfer->ux_length; in vhci_usb_detach()
1095 xfer->ux_actlen = xfer->ux_length; in vhci_fd_read()
1173 xfer->ux_actlen = ulmin(vxfer->resbuf.size, xfer->ux_length); in vhci_fd_write()
H A Dehci.c868 m = uimin(sc->sc_noport, xfer->ux_length * 8 - 1); in ehci_pcd()
869 memset(p, 0, xfer->ux_length); in ehci_pcd()
877 xfer->ux_actlen = xfer->ux_length; in ehci_softintr()
1305 DPRINTF("len=%jd actlen=%jd status=0x%08jx", xfer->ux_length, actlen, in ehci_idone()
3984 DPRINTF("xfer=%#jx len=%jd flags=%jd", (uintptr_t)xfer, xfer->ux_length, in ehci_device_bulk_start()
3993 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in ehci_device_bulk_start()
3995 len = xfer->ux_length; in ehci_device_bulk_start()
4019 if (xfer->ux_length)
4020 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length,
4089 if (xfer->ux_length) in ehci_device_intr_init()
[all...]
H A Duhci.c2269 xfer->ux_length, xfer->ux_flags, 0); in uhci_device_bulk_start()
2277 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in uhci_device_bulk_start()
2279 len = xfer->ux_length; in uhci_device_bulk_start()
2626 xfer->ux_length, xfer->ux_flags, 0); in uhci_device_intr_init()
2674 xfer->ux_length, xfer->ux_flags, 0); in uhci_device_intr_start()
2682 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in uhci_device_intr_start()
2695 uhci_reset_std_chain(sc, xfer, xfer->ux_length, isread, in uhci_device_intr_start()
2865 if (xfer->ux_length) in uhci_device_isoc_transfer()
2866 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in uhci_device_isoc_transfer()
3166 if (xfer->ux_length) in uhci_device_isoc_done()
[all...]
H A Dohci.c1722 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ohci_rhsc_softint()
1739 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ohci_rhsc()
1780 m = uimin(sc->sc_noport, xfer->ux_length * 8 - 1);
1781 memset(p, 0, xfer->ux_length); in ohci_poll()
1789 xfer->ux_actlen = xfer->ux_length; in ohci_poll()
3089 len = xfer->ux_length; in ohci_device_bulk_start()
3282 xfer->ux_length, xfer->ux_flags, (uintptr_t)xfer->ux_priv); in ohci_device_intr_start()
3286 len = xfer->ux_length; in ohci_device_intr_start()
3494 xfer->ux_length, xfer->ux_flags, 0); in ohci_device_isoc_init()
3593 if (xfer->ux_length) in ohci_device_isoc_enter()
[all...]
H A Dusbdivar.h274 uint32_t ux_length; member
H A Dxhci.c2367 memset(p, 0, xfer->ux_length); in xhci_rhpsc()
2369 xfer->ux_actlen = xfer->ux_length; in xhci_rhpsc()
2499 xfer->ux_actlen = xfer->ux_length - in xhci_event_transfer()
4581 if (xfer->ux_length) in xhci_device_isoc_enter()
4582 usb_syncmem(dma, 0, xfer->ux_length, in xhci_device_isoc_enter()
4682 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in xhci_device_isoc_done()
4706 const uint32_t len = xfer->ux_length; in xhci_device_bulk_start()
4789 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in xhci_device_bulk_done()
4829 const uint32_t len = xfer->ux_length; in xhci_device_intr_start()
4903 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in xhci_device_intr_done()
[all...]
H A Dmotg.c1027 xfer->ux_length, xfer->ux_flags, 0); in motg_root_intr_start()
1336 ep->datalen = xfer->ux_length; in motg_device_ctrl_start1()
1779 ep->datalen = xfer->ux_length; in motg_device_data_start1()
H A Dusb.c358 xfer->ux_length, xfer->ux_actlen, xfer->ux_flags, xfer->ux_timeout, in db_usb_xfer()
/netbsd-src/sys/rump/dev/lib/libugenhc/
H A Dugenhc.c469 memset(xfer->ux_buffer, 0xff, xfer->ux_length); in rhscintr()
470 xfer->ux_actlen = xfer->ux_length; in rhscintr()
500 memset(xfer->ux_buffer, 0xff, xfer->ux_length); in rhscintr()
501 xfer->ux_actlen = xfer->ux_length; in rhscintr()
598 KASSERT(xfer->ux_length); in rumpusb_device_bulk_start()
599 len = xfer->ux_length; in rumpusb_device_bulk_start()
/netbsd-src/sys/dev/ic/
H A Dsl811hs.c871 spipe->ptype, (uintptr_t)xfer, (uintptr_t)spipe, xfer->ux_length); in slhci_start()
889 spipe->newlen[0] = xfer->ux_length % max_packet; in slhci_start()
890 spipe->newlen[1] = uimin(xfer->ux_length, max_packet); in slhci_start()
908 xfer->ux_length > spipe->tregs[LEN])) { in slhci_start()
926 if (xfer->ux_length == 0 || in slhci_start()
2037 "xfer->actlen %d", cont, len, xfer->ux_length, in slhci_abdone()
2041 len, xfer->ux_length, xfer->ux_actlen); in slhci_abdone()
2109 if (xfer->ux_length) { in slhci_abdone()
2143 (xfer->ux_length > xfer->ux_actlen || spipe->wantshort)) { in slhci_abdone()
2145 LK_SLASSERT(xfer->ux_length >= xfer->ux_actlen, sc, in slhci_abdone()
[all …]
/netbsd-src/sys/external/bsd/dwc2/
H A Ddwc2.c311 xfer->ux_actlen = xfer->ux_length; in dwc2_rhc()
960 if (len != xfer->ux_length) in dwc2_device_start()
962 xfer->ux_length); in dwc2_device_start()
964 len = xfer->ux_length; in dwc2_device_start()
967 " mps=%d dir %s\n", xfer, xfer->ux_length, xfer->ux_flags, addr, in dwc2_device_start()
970 len = xfer->ux_length; in dwc2_device_start()
1446 xfer->ux_actlen < xfer->ux_length) in dwc2_host_complete()
/netbsd-src/sys/arch/mips/adm5120/dev/
H A Dahci.c1058 r = ahci_transaction(sc, pipe, pid, xfer->ux_length, buf, 0/*toggle*/); in ahci_poll_device()
1200 len = xfer->ux_length; in ahci_device_bulk_start()
1230 if (xfer->ux_length) in ahci_device_bulk_start()
1231 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ahci_device_bulk_start()
1292 if (xfer->ux_length) in ahci_device_bulk_start()
1293 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ahci_device_bulk_start()
1543 xfer->ux_length, xfer->ux_actlen, xfer->ux_flags, xfer->ux_timeout); in print_xfer()