upipe 1333 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 1359 dev/usb/uhci.c uhci_soft_td_t **stds = upipe->u.iso.stds; upipe 1382 dev/usb/uhci.c upipe->u.iso.inuse -= nframes; upipe 1390 dev/usb/uhci.c ii, xfer, upipe)); upipe 1418 dev/usb/uhci.c upipe->nexttoggle = UHCI_TD_GET_DT(letoh32(std->td.td_token)); upipe 1462 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)uxfer->xfer.pipe; upipe 1463 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)upipe->pipe.device->bus; upipe 1685 dev/usb/uhci.c uhci_alloc_std_chain(struct uhci_pipe *upipe, uhci_softc_t *sc, int len, upipe 1693 dev/usb/uhci.c int addr = upipe->pipe.device->address; upipe 1694 dev/usb/uhci.c int endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; upipe 1698 dev/usb/uhci.c upipe->pipe.device->speed, flags)); upipe 1699 dev/usb/uhci.c maxp = UGETW(upipe->pipe.endpoint->edesc->wMaxPacketSize); upipe 1713 dev/usb/uhci.c tog = upipe->nexttoggle; upipe 1716 dev/usb/uhci.c upipe->nexttoggle = tog ^ 1; upipe 1721 dev/usb/uhci.c if (upipe->pipe.device->speed == USB_SPEED_LOW) upipe 1752 dev/usb/uhci.c upipe->nexttoggle)); upipe 1759 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)pipe; upipe 1760 dev/usb/uhci.c upipe->nexttoggle = 0; upipe 1788 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 1789 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 1810 dev/usb/uhci.c endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; upipe 1812 dev/usb/uhci.c sqh = upipe->u.bulk.sqh; upipe 1814 dev/usb/uhci.c upipe->u.bulk.isread = isread; upipe 1815 dev/usb/uhci.c upipe->u.bulk.length = len; upipe 1817 dev/usb/uhci.c err = uhci_alloc_std_chain(upipe, sc, len, isread, xfer->flags, upipe 1891 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 1892 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)upipe->pipe.device->bus; upipe 1927 dev/usb/uhci.c usb_delay_ms(upipe->pipe.device->bus, 2); /* Hardware finishes in 1ms */ upipe 1955 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)pipe; upipe 1956 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 1959 dev/usb/uhci.c uhci_free_sqh(sc, upipe->u.bulk.sqh); upipe 1960 dev/usb/uhci.c pipe->endpoint->savedtoggle = upipe->nexttoggle; upipe 2023 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2024 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 2044 dev/usb/uhci.c endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; upipe 2047 dev/usb/uhci.c upipe->u.intr.isread = isread; upipe 2049 dev/usb/uhci.c err = uhci_alloc_std_chain(upipe, sc, xfer->length, isread, upipe 2061 dev/usb/uhci.c uhci_dump_qh(upipe->u.intr.qhs[0]); upipe 2078 dev/usb/uhci.c upipe->u.intr.qhs[0])); upipe 2079 dev/usb/uhci.c for (i = 0; i < upipe->u.intr.npoll; i++) { upipe 2080 dev/usb/uhci.c sqh = upipe->u.intr.qhs[i]; upipe 2092 dev/usb/uhci.c uhci_dump_qh(upipe->u.intr.qhs[0]); upipe 2129 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)pipe; upipe 2135 dev/usb/uhci.c npoll = upipe->u.intr.npoll; upipe 2138 dev/usb/uhci.c uhci_remove_intr(sc, upipe->u.intr.qhs[i]); upipe 2148 dev/usb/uhci.c uhci_free_sqh(sc, upipe->u.intr.qhs[i]); upipe 2149 dev/usb/uhci.c free(upipe->u.intr.qhs, M_USBHC); upipe 2157 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2159 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 2162 dev/usb/uhci.c int endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; upipe 2182 dev/usb/uhci.c setup = upipe->u.ctl.setup; upipe 2183 dev/usb/uhci.c stat = upipe->u.ctl.stat; upipe 2184 dev/usb/uhci.c sqh = upipe->u.ctl.sqh; upipe 2188 dev/usb/uhci.c upipe->nexttoggle = 1; upipe 2189 dev/usb/uhci.c err = uhci_alloc_std_chain(upipe, sc, len, isread, xfer->flags, upipe 2199 dev/usb/uhci.c upipe->u.ctl.length = len; upipe 2201 dev/usb/uhci.c memcpy(KERNADDR(&upipe->u.ctl.reqdma, 0), req, sizeof *req); upipe 2208 dev/usb/uhci.c setup->td.td_buffer = htole32(DMAADDR(&upipe->u.ctl.reqdma, 0)); upipe 2313 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2314 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 2316 dev/usb/uhci.c struct iso *iso = &upipe->u.iso; upipe 2383 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2384 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)upipe->pipe.device->bus; upipe 2403 dev/usb/uhci.c end = upipe->u.iso.stds[i]; upipe 2433 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2434 dev/usb/uhci.c uhci_soft_td_t **stds = upipe->u.iso.stds; upipe 2479 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)pipe; upipe 2480 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 2492 dev/usb/uhci.c iso = &upipe->u.iso; upipe 2523 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)pipe; upipe 2524 dev/usb/uhci.c usbd_device_handle dev = upipe->pipe.device; upipe 2526 dev/usb/uhci.c int addr = upipe->pipe.device->address; upipe 2527 dev/usb/uhci.c int endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; upipe 2534 dev/usb/uhci.c iso = &upipe->u.iso; upipe 2615 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2621 dev/usb/uhci.c npoll = upipe->u.intr.npoll; upipe 2623 dev/usb/uhci.c sqh = upipe->u.intr.qhs[i]; upipe 2636 dev/usb/uhci.c uhci_alloc_std_chain(upipe, sc, xfer->length, upipe 2637 dev/usb/uhci.c upipe->u.intr.isread, xfer->flags, upipe 2645 dev/usb/uhci.c uhci_dump_qh(upipe->u.intr.qhs[0]); upipe 2658 dev/usb/uhci.c sqh = upipe->u.intr.qhs[i]; upipe 2677 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2689 dev/usb/uhci.c if (upipe->pipe.device->speed == USB_SPEED_LOW) upipe 2690 dev/usb/uhci.c uhci_remove_ls_ctrl(sc, upipe->u.ctl.sqh); upipe 2692 dev/usb/uhci.c uhci_remove_hs_ctrl(sc, upipe->u.ctl.sqh); upipe 2694 dev/usb/uhci.c if (upipe->u.ctl.length != 0) upipe 2706 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)xfer->pipe; upipe 2709 dev/usb/uhci.c xfer, ii, sc, upipe)); upipe 2716 dev/usb/uhci.c uhci_remove_bulk(sc, upipe->u.bulk.sqh); upipe 2766 dev/usb/uhci.c uhci_device_setintr(uhci_softc_t *sc, struct uhci_pipe *upipe, int ival) upipe 2772 dev/usb/uhci.c DPRINTFN(2, ("uhci_device_setintr: pipe=%p\n", upipe)); upipe 2783 dev/usb/uhci.c upipe->u.intr.npoll = npoll; upipe 2784 dev/usb/uhci.c upipe->u.intr.qhs = upipe 2803 dev/usb/uhci.c upipe->u.intr.qhs[i] = sqh = uhci_alloc_sqh(sc); upipe 2813 dev/usb/uhci.c uhci_add_intr(sc, upipe->u.intr.qhs[i]); upipe 2816 dev/usb/uhci.c DPRINTFN(5, ("uhci_device_setintr: returns %p\n", upipe)); upipe 2825 dev/usb/uhci.c struct uhci_pipe *upipe = (struct uhci_pipe *)pipe; upipe 2834 dev/usb/uhci.c upipe->aborting = 0; upipe 2835 dev/usb/uhci.c upipe->nexttoggle = pipe->endpoint->savedtoggle; upipe 2852 dev/usb/uhci.c upipe->u.ctl.sqh = uhci_alloc_sqh(sc); upipe 2853 dev/usb/uhci.c if (upipe->u.ctl.sqh == NULL) upipe 2855 dev/usb/uhci.c upipe->u.ctl.setup = uhci_alloc_std(sc); upipe 2856 dev/usb/uhci.c if (upipe->u.ctl.setup == NULL) { upipe 2857 dev/usb/uhci.c uhci_free_sqh(sc, upipe->u.ctl.sqh); upipe 2860 dev/usb/uhci.c upipe->u.ctl.stat = uhci_alloc_std(sc); upipe 2861 dev/usb/uhci.c if (upipe->u.ctl.stat == NULL) { upipe 2862 dev/usb/uhci.c uhci_free_sqh(sc, upipe->u.ctl.sqh); upipe 2863 dev/usb/uhci.c uhci_free_std(sc, upipe->u.ctl.setup); upipe 2868 dev/usb/uhci.c 0, &upipe->u.ctl.reqdma); upipe 2870 dev/usb/uhci.c uhci_free_sqh(sc, upipe->u.ctl.sqh); upipe 2871 dev/usb/uhci.c uhci_free_std(sc, upipe->u.ctl.setup); upipe 2872 dev/usb/uhci.c uhci_free_std(sc, upipe->u.ctl.stat); upipe 2881 dev/usb/uhci.c return (uhci_device_setintr(sc, upipe, ival)); upipe 2887 dev/usb/uhci.c upipe->u.bulk.sqh = uhci_alloc_sqh(sc); upipe 2888 dev/usb/uhci.c if (upipe->u.bulk.sqh == NULL)