Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/usb/
H A Dmotg.c483 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in motg_select_ep()
491 size = UE_GET_SIZE(UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize)); in motg_select_ep()
524 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in motg_open()
536 otgpipe->nexttoggle = pipe->up_endpoint->ue_toggle; in motg_open()
566 UE_GET_DIR(pipe->up_endpoint->ue_edesc->bEndpointAddress), in motg_open()
567 UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize), 0); in motg_open()
572 otgpipe->nexttoggle = pipe->up_endpoint->ue_toggle; in motg_open()
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()
[all …]
H A Dehci.c1165 i = xfer->ux_pipe->up_endpoint->ue_edesc->bInterval; in ehci_idone()
1312 xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress, in ehci_idone()
1962 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in ehci_open()
1999 epipe->nexttoggle = pipe->up_endpoint->ue_toggle; in ehci_open()
3122 int mps = UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize); in ehci_reset_sqtd_chain()
3732 epipe->pipe.up_endpoint->ue_edesc->bEndpointAddress, 0); in ehci_device_ctrl_start()
3741 UGETW(epipe->pipe.up_endpoint->ue_edesc->wMaxPacketSize), in ehci_device_ctrl_start()
3744 UGETW(epipe->pipe.up_endpoint->ue_edesc->wMaxPacketSize)); in ehci_device_ctrl_start()
3937 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in ehci_device_bulk_start()
3996 endpt = epipe->pipe.up_endpoint in ehci_device_bulk_start()
[all...]
H A Dxhci.c1858 const u_int dci = xhci_ep_get_dci(pipe->up_endpoint->ue_edesc); in xhci_configure_endpoint()
1865 xs->xs_idx, dci, pipe->up_endpoint->ue_edesc->bEndpointAddress, in xhci_configure_endpoint()
1866 pipe->up_endpoint->ue_edesc->bmAttributes); in xhci_configure_endpoint()
1915 const u_int dci = xhci_ep_get_dci(pipe->up_endpoint->ue_edesc); in xhci_reset_endpoint()
1931 __func__, pipe->up_endpoint->ue_edesc->bEndpointAddress); in xhci_reset_endpoint()
1969 const u_int dci = xhci_ep_get_dci(pipe->up_endpoint->ue_edesc); in xhci_stop_endpoint()
1992 const u_int dci = xhci_ep_get_dci(pipe->up_endpoint->ue_edesc); in xhci_set_dequeue()
2013 __func__, pipe->up_endpoint->ue_edesc->bEndpointAddress); in xhci_set_dequeue()
2029 usb_endpoint_descriptor_t * const ed = pipe->up_endpoint->ue_edesc; in xhci_open()
2116 usb_endpoint_descriptor_t * const ed = pipe->up_endpoint in xhci_close_pipe()
[all...]
H A Duhci.c955 if (pipe->up_endpoint == NULL) { in uhci_dump_ii()
956 printf("ux %p: done=%d pipe=%p pipe->up_endpoint=NULL\n", in uhci_dump_ii()
965 ed = pipe->up_endpoint->ue_edesc; in uhci_dump_ii()
1721 xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress, in uhci_idone()
1992 int maxp = UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize); in uhci_alloc_std_chain()
2088 maxp = UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize); in uhci_reset_std_chain()
2092 int endpt = xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress; in uhci_reset_std_chain()
2202 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in uhci_device_bulk_init()
2280 endpt = upipe->pipe.up_endpoint->ue_edesc->bEndpointAddress; in uhci_device_bulk_start()
2409 pipe->up_endpoint in uhci_device_bulk_close()
[all...]
H A Dusbdivar.h246 struct usbd_endpoint *up_endpoint; member
391 return xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress & in usbd_xfer_isread()
H A Dohci.c548 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress), in ohci_alloc_std_chain()
617 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress), in ohci_reset_std_chain()
622 int mps = UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize); in ohci_reset_std_chain()
1636 uedir = UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc-> in ohci_softintr()
1714 (UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) == UE_DIR_IN);
1732 (UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) == UE_DIR_IN); in ohci_rhsc()
2082 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in ohci_open()
2154 (pipe->up_endpoint->ue_toggle ? OHCI_TOGGLECARRY : 0)); in ohci_open()
2245 pipe->up_endpoint->ue_toggle = in ohci_abortx()
2813 dev->ud_addr, opipe->pipe.up_endpoint in ohci_device_ctrl_start()
[all...]
H A Dusbdi.c217 usbd_dump_endpoint(pipe->up_endpoint); in usbd_dump_pipe()
361 usbd_endpoint_release(pipe->up_dev, pipe->up_endpoint); in usbd_close_pipe()
856 pipe->up_endpoint->ue_edesc->bEndpointAddress, UF_ENDPOINT_HALT); in usbd_clear_endpoint_stall()
878 pipe->up_endpoint->ue_edesc->bEndpointAddress, UF_ENDPOINT_HALT); in usbd_clear_endpoint_stall_task()
1165 [pipe->up_endpoint->ue_edesc->bmAttributes & UE_XFERTYPE]; in usb_transfer_complete()
H A Dvhci.c390 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in vhci_open()
603 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in vhci_device_ctrl_start()
H A Dusb_subr.c950 p->up_endpoint = ep; in usbd_setup_pipe_flags()
/netbsd-src/sys/arch/mips/adm5120/dev/
H A Dahci.c359 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in ahci_open()
749 sc->sc_interval = MS_TO_TICKS(xfer->ux_pipe->up_endpoint->ue_edesc->bInterval); in ahci_root_intr_start()
871 ((UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize))<<ADMHCD_ED_MAXSHIFT); in ahci_device_ctrl_start()
1026 MS_TO_TICKS(pipe->up_endpoint->ue_edesc->bInterval), in ahci_device_intr_start()
1050 MS_TO_TICKS(pipe->up_endpoint->ue_edesc->bInterval), in ahci_poll_device()
1054 pid = (UE_GET_DIR(pipe->up_endpoint->ue_edesc->bEndpointAddress) == UE_DIR_IN) in ahci_poll_device()
1187 endpt = pipe->up_endpoint->ue_edesc->bEndpointAddress; in ahci_device_bulk_start()
1190 ((UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize))<<ADMHCD_ED_MAXSHIFT); in ahci_device_bulk_start()
1344 uint8_t endpointaddr = pipe->up_endpoint->ue_edesc->bEndpointAddress; in ahci_transaction()
/netbsd-src/sys/rump/dev/lib/libugenhc/
H A Dugenhc.c576 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()
729 int endpt = pipe->up_endpoint->ue_edesc->bEndpointAddress; in rumpusb_device_bulk_close()
770 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in ugenhc_open()
799 endpt = pipe->up_endpoint->ue_edesc->bEndpointAddress; in ugenhc_open()
/netbsd-src/sys/external/bsd/dwc2/
H A Ddwc2.c375 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in dwc2_open()
540 DPRINTF("toggle %d -> 0", pipe->up_endpoint->ue_toggle); in dwc2_device_clear_toggle()
898 usb_endpoint_descriptor_t *ed = xfer->ux_pipe->up_endpoint->ue_edesc; in dwc2_device_start()
1417 ed = xfer->ux_pipe->up_endpoint->ue_edesc; in dwc2_host_complete()
/netbsd-src/sys/dev/ic/
H A Dsl811hs.c863 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in slhci_start()
1034 ed = pipe->up_endpoint->ue_edesc; in slhci_open()
2967 max_packet = UGETW(spipe->pipe.up_endpoint->ue_edesc->wMaxPacketSize); in slhci_reserve_bustime()
3359 UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) == in slhci_log_buffer()