Home
last modified time | relevance | path

Searched refs:ux_pipe (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/sys/dev/usb/
H A Dmotg.c993 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in motg_root_intr_abort()
1014 return motg_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in motg_root_intr_transfer()
1021 struct usbd_pipe *pipe = xfer->ux_pipe; in motg_root_intr_start()
1121 pipe = xfer->ux_pipe; in motg_hub_change()
1170 struct motg_pipe *otgpipe = MOTG_PIPE2MPIPE(xfer->ux_pipe); in motg_setup_endpoint_tx()
1186 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) | in motg_setup_endpoint_tx()
1187 motg_type(UE_GET_XFERTYPE(xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes)) in motg_setup_endpoint_tx()
1197 if ((xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes & UE_XFERTYPE) in motg_setup_endpoint_tx()
1219 struct usbd_device *dev = xfer->ux_pipe->up_dev; in motg_setup_endpoint_rx()
1220 struct motg_pipe *otgpipe = MOTG_PIPE2MPIPE(xfer->ux_pipe); in motg_setup_endpoint_rx()
[all …]
H A Dohci.c547 xfer->ux_pipe->up_dev->ud_addr, in ohci_alloc_std_chain()
548 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress), in ohci_alloc_std_chain()
549 length, xfer->ux_pipe->up_dev->ud_speed); in ohci_alloc_std_chain()
616 xfer->ux_pipe->up_dev->ud_addr, in ohci_reset_std_chain()
617 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress), in ohci_reset_std_chain()
618 alen, xfer->ux_pipe->up_dev->ud_speed); in ohci_reset_std_chain()
622 int mps = UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize); in ohci_reset_std_chain()
1571 opipe = OHCI_PIPE2OPIPE(xfer->ux_pipe); in ohci_softintr()
1634 opipe = OHCI_PIPE2OPIPE(xfer->ux_pipe); in ohci_softintr()
1636 uedir = UE_GET_DIR(xfer->ux_pipe in ohci_softintr()
[all...]
H A Duhci.c950 pipe = ux->ux_xfer.ux_pipe; in uhci_dump_ii()
1573 UHCI_PIPE2UPIPE(xfer->ux_pipe); in uhci_check_intr()
1609 struct uhci_pipe *upipe = UHCI_PIPE2UPIPE(xfer->ux_pipe); in uhci_idone()
1720 xfer->ux_pipe->up_dev->ud_addr, in uhci_idone()
1721 xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress, in uhci_idone()
1987 (uintptr_t)xfer->ux_pipe, 0, 0); in uhci_alloc_std_chain()
1992 int maxp = UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize); in uhci_alloc_std_chain()
2072 struct usbd_pipe *pipe = xfer->ux_pipe; in uhci_reset_std_chain()
2091 int addr = xfer->ux_pipe->up_dev->ud_addr; in uhci_reset_std_chain()
2092 int endpt = xfer->ux_pipe in uhci_reset_std_chain()
[all...]
H A Dusbdi.c370 struct usbd_pipe *pipe = xfer->ux_pipe; in usbd_transfer()
642 usb_rem_task_wait(xfer->ux_pipe->up_dev, &xfer->ux_aborttask, in usbd_free_xfer()
661 xfer->ux_pipe = pipe; in usbd_create_xfer()
703 KASSERT(xfer->ux_pipe); in usbd_setup_xfer()
722 KASSERT(xfer->ux_pipe == dev->ud_pipe0); in usbd_setup_default_xfer()
1106 struct usbd_pipe *pipe = xfer->ux_pipe; in usb_transfer_complete()
1313 KASSERT(xfer->ux_pipe == dev->ud_pipe0); in usbd_do_request_len()
1628 struct usbd_device *dev = xfer->ux_pipe->up_dev; in usbd_xfer_timeout()
1763 KASSERT(!usb_task_pending(xfer->ux_pipe->up_dev, &xfer->ux_aborttask)); in usbd_xfer_probe_timeout()
1840 KASSERT(!usb_task_pending(xfer->ux_pipe->up_dev, &xfer->ux_aborttask)); in usbd_xfer_probe_timeout()
[all …]
H A Dxhci.c2194 (uintptr_t)xfer, (uintptr_t)xfer->ux_pipe, 0, 0); in xhci_abortx()
2201 xhci_pipe_restart(xfer->ux_pipe); in xhci_abortx()
2449 KASSERTMSG(xfer->ux_pipe != NULL, "xfer(%p)->ux_pipe is NULL", xfer); in xhci_event_transfer()
2451 if (!xfer->ux_pipe->up_repeat && in xhci_event_transfer()
2452 SIMPLEQ_EMPTY(&xfer->ux_pipe->up_queue)) { in xhci_event_transfer()
2459 UE_GET_XFERTYPE(xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes); in xhci_event_transfer()
2518 xhci_pipe_restart_async(xfer->ux_pipe); in xhci_event_transfer()
4323 return xhci_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in xhci_root_intr_transfer()
4356 KASSERT(xfer->ux_pipe in xhci_root_intr_abort()
[all...]
H A Dusbdivar.h270 struct usbd_pipe *ux_pipe; member
391 return xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress & in usbd_xfer_isread()
H A Dehci.c1039 if (&ex->ex_xfer != SIMPLEQ_FIRST(&ex->ex_xfer.ux_pipe->up_queue)) in ehci_check_itd_intr()
1084 if (&ex->ex_xfer != SIMPLEQ_FIRST(&ex->ex_xfer.ux_pipe->up_queue)) in ehci_check_sitd_intr()
1165 i = xfer->ux_pipe->up_endpoint->ue_edesc->bInterval; in ehci_idone()
1295 xfer->ux_pipe->up_dev->ud_pipe0 != xfer->ux_pipe) { in ehci_idone()
1311 xfer->ux_pipe->up_dev->ud_addr, in ehci_idone()
1312 xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress, in ehci_idone()
2829 return ehci_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ehci_root_intr_start()
2856 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in ehci_root_intr_abort()
3122 int mps = UGETW(xfer->ux_pipe in ehci_reset_sqtd_chain()
[all...]
H A Dvhci.c597 return vhci_device_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in vhci_device_ctrl_transfer()
603 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in vhci_device_ctrl_start()
605 struct usbd_device *dev = xfer->ux_pipe->up_dev; in vhci_device_ctrl_start()
700 return vhci_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in vhci_root_intr_transfer()
730 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in vhci_root_intr_abort()
H A Dusbroothub.c348 return roothub_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in roothub_ctrl_transfer()
354 struct usbd_pipe *pipe = xfer->ux_pipe; in roothub_ctrl_start()
H A Dehcivar.h134 #define EHCI_XFER2EPIPE(xfer) ((struct ehci_pipe *)((xfer)->ux_pipe))
H A Dusb.c356 xfer, xfer->ux_pipe, xfer->ux_priv, xfer->ux_buffer); in db_usb_xfer()
/netbsd-src/sys/arch/mips/adm5120/dev/
H A Dahci.c736 return ahci_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_root_intr_transfer()
749 sc->sc_interval = MS_TO_TICKS(xfer->ux_pipe->up_endpoint->ue_edesc->bInterval); in ahci_root_intr_start()
765 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in ahci_root_intr_abort()
821 return ahci_device_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_device_ctrl_transfer()
832 struct usbd_pipe *pipe = xfer->ux_pipe; in ahci_device_ctrl_start()
840 struct ahci_pipe *apipe = (struct ahci_pipe *)xfer->ux_pipe; in ahci_device_ctrl_start()
1002 return ahci_device_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_device_intr_transfer()
1009 struct usbd_pipe *pipe = xfer->ux_pipe; in ahci_device_intr_start()
1041 struct usbd_pipe *pipe = xfer->ux_pipe; in ahci_poll_device()
1141 return ahci_device_bulk_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_device_bulk_transfer()
[all …]
/netbsd-src/sys/rump/dev/lib/libugenhc/
H A Dugenhc.c405 return rumpusb_device_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in rumpusb_device_ctrl_transfer()
536 return rumpusb_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in rumpusb_root_intr_transfer()
576 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in rumpusb_device_bulk_start()
586 ed = xfer->ux_pipe->up_endpoint->ue_edesc; in rumpusb_device_bulk_start()
704 SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in rumpusb_device_bulk_transfer()
706 kthread_create(PRI_NONE, 0, NULL, doxfer_kth, xfer->ux_pipe, NULL, in rumpusb_device_bulk_transfer()
/netbsd-src/sys/external/bsd/dwc2/
H A Ddwc2.c468 DPRINTF("xfer %p pipe %p status 0x%08x", xfer, xfer->ux_pipe, in dwc2_abortx()
616 return dwc2_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in dwc2_root_intr_transfer()
647 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in dwc2_root_intr_abort()
701 return dwc2_device_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in dwc2_device_ctrl_transfer()
800 return dwc2_device_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in dwc2_device_intr_transfer()
897 struct usbd_device *dev = xfer->ux_pipe->up_dev; in dwc2_device_start()
898 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in dwc2_device_start()
911 DPRINTFN(1, "xfer=%p pipe=%p\n", xfer, xfer->ux_pipe); in dwc2_device_start()
1417 ed = xfer->ux_pipe->up_endpoint->ue_edesc; in dwc2_host_complete()
H A Ddwc2var.h67 #define DWC2_XFER2DPIPE(x) (struct dwc2_pipe *)(x)->ux_pipe;
/netbsd-src/sys/dev/ic/
H A Dsl811hs.c285 #define SLHCI_XFER2SPIPE(xfer) SLHCI_PIPE2SPIPE((xfer)->ux_pipe)
808 (uintptr_t)xfer, (uintptr_t)xfer->ux_pipe,0,0); in slhci_freex()
845 SLHCI_XFER_TYPE(xfer), (uintptr_t)xfer, (uintptr_t)xfer->ux_pipe, in slhci_transfer()
849 error = xfer->ux_pipe->up_methods->upm_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in slhci_transfer()
860 struct usbd_pipe *pipe = xfer->ux_pipe; in slhci_start()
998 spipe = SLHCI_PIPE2SPIPE(xfer->ux_pipe); in slhci_root_start()
1326 spipe = SLHCI_PIPE2SPIPE(xfer->ux_pipe); in slhci_abort()
3359 UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) == in slhci_log_buffer()