Home
last modified time | relevance | path

Searched refs:endpt (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/dev/usb/
H A Dugen.c191 int ifaceno, endptno, endpt; in ugen_set_config() local
246 endptno, endpt, UE_GET_ADDR(endpt), in ugen_set_config()
282 if (sc->sc_is_open[endpt]) in ugenopen()
308 sc, endpt, dir, sce)); in ugenopen()
327 endpt, isize)); in ugenopen()
363 endpt, isize)); in ugenopen()
402 sc->sc_is_open[endpt] = 1; in ugenopen()
442 sc->sc_is_open[endpt] = 0; in ugen_do_close()
453 endpt, dir, sce)); in ugen_do_close()
476 sc->sc_is_open[endpt] = 0; in ugen_do_close()
[all …]
H A Duhci.c1531 int endpt = xfer->pipe->endpoint->edesc->bEndpointAddress; in uhci_alloc_std_chain() local
1534 __func__, addr, UE_GET_ADDR(endpt), len, xfer->device->speed, in uhci_alloc_std_chain()
1584 htole32(rd ? UHCI_TD_IN (l, endpt, addr, tog) : in uhci_alloc_std_chain()
1585 UHCI_TD_OUT(l, endpt, addr, tog)); in uhci_alloc_std_chain()
1971 int endpt = xfer->pipe->endpoint->edesc->bEndpointAddress; in uhci_device_request() local
1983 addr, endpt)); in uhci_device_request()
2020 UHCI_TD_OUT(0, endpt, addr, 1) : UHCI_TD_IN (0, endpt, addr, 1)); in uhci_device_request()
2331 int endpt = pipe->endpoint->edesc->bEndpointAddress; in uhci_setup_isoc() local
2332 int rd = UE_GET_DIR(endpt) == UE_DIR_IN; in uhci_setup_isoc()
2342 token = rd ? UHCI_TD_IN (0, endpt, addr, 0) : in uhci_setup_isoc()
[all …]
H A Dumass.c197 void umass_clear_endpoint_stall(struct umass_softc *sc, int endpt,
847 umass_clear_endpoint_stall(struct umass_softc *sc, int endpt, in umass_clear_endpoint_stall() argument
854 sc->sc_dev.dv_xname, sc->sc_epaddr[endpt])); in umass_clear_endpoint_stall()
856 usbd_clear_endpoint_toggle(sc->sc_pipe[endpt]); in umass_clear_endpoint_stall()
861 USETW(sc->sc_req.wIndex, sc->sc_epaddr[endpt]); in umass_clear_endpoint_stall()
H A Dohci.c2731 int s, endpt; in ohci_device_bulk_start() local
2746 endpt = xfer->pipe->endpoint->edesc->bEndpointAddress; in ohci_device_bulk_start()
2750 "flags=%d endpt=%d\n", xfer, len, xfer->flags, endpt)); in ohci_device_bulk_start()
2860 int s, len, endpt; in ohci_device_intr_start() local
2879 endpt = xfer->pipe->endpoint->edesc->bEndpointAddress; in ohci_device_intr_start()
/openbsd/bin/pax/
H A Dpat_rep.c912 char *endpt; in rep_name() local
932 endpt = outpt + PAXPATHLEN; in rep_name()
957 while ((inpt < rpt) && (outpt < endpt)) in rep_name()
959 if (outpt == endpt) in rep_name()
968 if ((res = resub(&(pt->rcmp),pm,pt->nstr,oinpt,outpt,endpt)) in rep_name()
989 if ((outpt == endpt) || (*inpt == '\0')) in rep_name()
1012 while ((outpt < endpt) && (*inpt != '\0')) in rep_name()
1016 if ((outpt == endpt) && (*inpt != '\0')) { in rep_name()
H A Doptions.c1540 char *endpt; in opt_add() local
1551 frpt = endpt = dstr; in opt_add()
1559 if ((endpt = strchr(frpt, ',')) != NULL) in opt_add()
1560 *endpt = '\0'; in opt_add()
1576 if (endpt != NULL) in opt_add()
1577 frpt = endpt + 1; in opt_add()