opipe 444 dev/usb/ohci.c ohci_alloc_std_chain(struct ohci_pipe *opipe, ohci_softc_t *sc,
opipe 481 dev/usb/ohci.c curlen -= curlen % UGETW(opipe->pipe.endpoint->edesc->wMaxPacketSize);
opipe 510 dev/usb/ohci.c alen % UGETW(opipe->pipe.endpoint->edesc->wMaxPacketSize) == 0) {
opipe 1303 dev/usb/ohci.c struct ohci_pipe *opipe;
opipe 1375 dev/usb/ohci.c opipe = (struct ohci_pipe *)xfer->pipe;
opipe 1388 dev/usb/ohci.c opipe->sed->ed.ed_headp = htole32(p->physaddr);
opipe 1430 dev/usb/ohci.c opipe = (struct ohci_pipe *)xfer->pipe;
opipe 1431 dev/usb/ohci.c opipe->u.iso.inuse -= xfer->nframes;
opipe 1503 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 1504 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus;
opipe 1505 dev/usb/ohci.c ohci_soft_ed_t *sed = opipe->sed;
opipe 1513 dev/usb/ohci.c data = opipe->tail.td;
opipe 1538 dev/usb/ohci.c opipe->tail.td = tail;
opipe 1650 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 1652 dev/usb/ohci.c usbd_device_handle dev = opipe->pipe.device;
opipe 1669 dev/usb/ohci.c opipe->pipe.endpoint->edesc->bEndpointAddress));
opipe 1671 dev/usb/ohci.c setup = opipe->tail.td;
opipe 1684 dev/usb/ohci.c sed = opipe->sed;
opipe 1685 dev/usb/ohci.c opipe->u.ctl.length = len;
opipe 1694 dev/usb/ohci.c OHCI_ED_SET_MAXP(UGETW(opipe->pipe.endpoint->edesc->wMaxPacketSize)));
opipe 1702 dev/usb/ohci.c err = ohci_alloc_std_chain(opipe, sc, len, isread, xfer,
opipe 1712 dev/usb/ohci.c memcpy(KERNADDR(&opipe->u.ctl.reqdma, 0), req, sizeof *req);
opipe 1716 dev/usb/ohci.c setup->td.td_cbp = htole32(DMAADDR(&opipe->u.ctl.reqdma, 0));
opipe 1747 dev/usb/ohci.c opipe->tail.td = tail;
opipe 1903 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)oxfer->xfer.pipe;
opipe 1904 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus;
opipe 2016 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 2052 dev/usb/ohci.c opipe->sed = sed;
opipe 2057 dev/usb/ohci.c opipe->tail.itd = sitd;
opipe 2068 dev/usb/ohci.c opipe->tail.td = std;
opipe 2086 dev/usb/ohci.c 0, &opipe->u.ctl.reqdma);
opipe 2098 dev/usb/ohci.c return (ohci_device_setintr(sc, opipe, ival));
opipe 2130 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 2132 dev/usb/ohci.c ohci_soft_ed_t *sed = opipe->sed;
opipe 2148 dev/usb/ohci.c usbd_dump_pipe(&opipe->pipe);
opipe 2167 dev/usb/ohci.c ohci_free_sed(sc, opipe->sed);
opipe 2183 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 2184 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus;
opipe 2185 dev/usb/ohci.c ohci_soft_ed_t *sed = opipe->sed;
opipe 2190 dev/usb/ohci.c DPRINTF(("ohci_abort_xfer: xfer=%p pipe=%p sed=%p\n", xfer, opipe,
opipe 2221 dev/usb/ohci.c usb_delay_ms(opipe->pipe.device->bus, 20); /* Hardware finishes in 1ms */
opipe 2815 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 2820 dev/usb/ohci.c ohci_free_std(sc, opipe->tail.td);
opipe 2828 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 2830 dev/usb/ohci.c opipe->sed->ed.ed_headp &= htole32(~OHCI_TOGGLECARRY);
opipe 2855 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 2856 dev/usb/ohci.c usbd_device_handle dev = opipe->pipe.device;
opipe 2878 dev/usb/ohci.c sed = opipe->sed;
opipe 2884 dev/usb/ohci.c opipe->u.bulk.isread = isread;
opipe 2885 dev/usb/ohci.c opipe->u.bulk.length = len;
opipe 2893 dev/usb/ohci.c data = opipe->tail.td;
opipe 2894 dev/usb/ohci.c err = ohci_alloc_std_chain(opipe, sc, len, isread, xfer,
opipe 2927 dev/usb/ohci.c opipe->tail.td = tail;
opipe 2968 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 2973 dev/usb/ohci.c ohci_free_std(sc, opipe->tail.td);
opipe 2995 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 2996 dev/usb/ohci.c usbd_device_handle dev = opipe->pipe.device;
opipe 2998 dev/usb/ohci.c ohci_soft_ed_t *sed = opipe->sed;
opipe 3018 dev/usb/ohci.c data = opipe->tail.td;
opipe 3050 dev/usb/ohci.c opipe->tail.td = tail;
opipe 3087 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 3089 dev/usb/ohci.c int nslots = opipe->u.intr.nslots;
opipe 3090 dev/usb/ohci.c int pos = opipe->u.intr.pos;
opipe 3092 dev/usb/ohci.c ohci_soft_ed_t *p, *sed = opipe->sed;
opipe 3116 dev/usb/ohci.c ohci_free_std(sc, opipe->tail.td);
opipe 3117 dev/usb/ohci.c ohci_free_sed(sc, opipe->sed);
opipe 3121 dev/usb/ohci.c ohci_device_setintr(ohci_softc_t *sc, struct ohci_pipe *opipe, int ival)
opipe 3126 dev/usb/ohci.c ohci_soft_ed_t *hsed, *sed = opipe->sed;
opipe 3128 dev/usb/ohci.c DPRINTFN(2, ("ohci_setintr: pipe=%p\n", opipe));
opipe 3175 dev/usb/ohci.c opipe->u.intr.nslots = nslots;
opipe 3176 dev/usb/ohci.c opipe->u.intr.pos = best;
opipe 3178 dev/usb/ohci.c DPRINTFN(5, ("ohci_setintr: returns %p\n", opipe));
opipe 3213 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 3214 dev/usb/ohci.c usbd_device_handle dev = opipe->pipe.device;
opipe 3216 dev/usb/ohci.c ohci_soft_ed_t *sed = opipe->sed;
opipe 3217 dev/usb/ohci.c struct iso *iso = &opipe->u.iso;
opipe 3237 dev/usb/ohci.c sitd = opipe->tail.itd;
opipe 3316 dev/usb/ohci.c opipe->tail.itd = nsitd;
opipe 3334 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 3335 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus;
opipe 3355 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)xfer->pipe;
opipe 3356 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus;
opipe 3376 dev/usb/ohci.c sed = opipe->sed;
opipe 3418 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 3420 dev/usb/ohci.c struct iso *iso = &opipe->u.iso;
opipe 3427 dev/usb/ohci.c ohci_add_ed(opipe->sed, sc->sc_isoc_head);
opipe 3436 dev/usb/ohci.c struct ohci_pipe *opipe = (struct ohci_pipe *)pipe;
opipe 3442 dev/usb/ohci.c opipe->tail.itd->isdone = 1;
opipe 3444 dev/usb/ohci.c ohci_free_sitd(sc, opipe->tail.itd);