Home
last modified time | relevance | path

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

/mirbsd/src/sys/dev/usb/
Dugen.c255 int ifaceno, endptno, endpt; in ugen_set_config() local
295 endpt = ed->bEndpointAddress; in ugen_set_config()
296 dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT; in ugen_set_config()
297 sce = &sc->sc_endpoints[UE_GET_ADDR(endpt)][dir]; in ugen_set_config()
300 endptno, endpt, UE_GET_ADDR(endpt), in ugen_set_config()
301 UE_GET_DIR(endpt), sce)); in ugen_set_config()
315 int endpt = UGENENDPOINT(dev); in ugenopen() local
327 flag, mode, unit, endpt)); in ugenopen()
332 if (sc->sc_is_open[endpt]) in ugenopen()
335 if (endpt == USB_CONTROL_ENDPOINT) { in ugenopen()
[all …]
Duhci.c1720 int endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; in uhci_alloc_std_chain() local
1723 "flags=0x%x\n", addr, UE_GET_ADDR(endpt), len, in uhci_alloc_std_chain()
1771 htole32(rd ? UHCI_TD_IN (l, endpt, addr, tog) : in uhci_alloc_std_chain()
1772 UHCI_TD_OUT(l, endpt, addr, tog)); in uhci_alloc_std_chain()
1821 int len, isread, endpt; in uhci_device_bulk_start() local
1836 endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; in uhci_device_bulk_start()
1837 isread = UE_GET_DIR(endpt) == UE_DIR_IN; in uhci_device_bulk_start()
2177 int endpt = upipe->pipe.endpoint->edesc->bEndpointAddress; in uhci_device_request() local
2191 addr, endpt)); in uhci_device_request()
2222 setup->td.td_token = htole32(UHCI_TD_SETUP(sizeof *req, endpt, addr)); in uhci_device_request()
[all …]
Dusb_subr.c480 int endpt, nendpt; in usbd_fill_iface_data() local
504 for (endpt = 0; endpt < nendpt; endpt++) { in usbd_fill_iface_data()
505 DPRINTFN(10,("usbd_fill_iface_data: endpt=%d\n", endpt)); in usbd_fill_iface_data()
524 ifc->endpoints[endpt].edesc = ed; in usbd_fill_iface_data()
548 ifc->endpoints[endpt].refcnt = 0; in usbd_fill_iface_data()
Duaudio.c1918 int endpt = as->edesc->bEndpointAddress; in uaudio_chan_open() local
1922 endpt, ch->sample_rate, as->alt)); in uaudio_chan_open()
1931 err = uaudio_set_speed(sc, endpt, ch->sample_rate); in uaudio_chan_open()
1936 (void)uaudio_set_speed(sc, endpt, ch->sample_rate); in uaudio_chan_open()
1939 DPRINTF(("uaudio_chan_open: create pipe to 0x%02x\n", endpt)); in uaudio_chan_open()
1940 err = usbd_open_pipe(as->ifaceh, endpt, 0, &ch->pipe); in uaudio_chan_open()
2577 uaudio_set_speed(struct uaudio_softc *sc, int endpt, u_int speed) in uaudio_set_speed() argument
2582 DPRINTFN(5,("uaudio_set_speed: endpt=%d speed=%u\n", endpt, speed)); in uaudio_set_speed()
2586 USETW(req.wIndex, endpt); in uaudio_set_speed()
Dehci.c2810 int len, isread, endpt; in ehci_device_bulk_start() local
2825 endpt = epipe->pipe.endpoint->edesc->bEndpointAddress; in ehci_device_bulk_start()
2826 isread = UE_GET_DIR(endpt) == UE_DIR_IN; in ehci_device_bulk_start()
2979 int len, isread, endpt; in ehci_device_intr_start() local
2994 endpt = epipe->pipe.endpoint->edesc->bEndpointAddress; in ehci_device_intr_start()
2995 isread = UE_GET_DIR(endpt) == UE_DIR_IN; in ehci_device_intr_start()
3086 int len, isread, endpt, s; in ehci_device_intr_done() local
3096 endpt = epipe->pipe.endpoint->edesc->bEndpointAddress; in ehci_device_intr_done()
3097 isread = UE_GET_DIR(endpt) == UE_DIR_IN; in ehci_device_intr_done()
Dumass.c208 Static void umass_clear_endpoint_stall(struct umass_softc *sc, int endpt,
913 umass_clear_endpoint_stall(struct umass_softc *sc, int endpt, in umass_clear_endpoint_stall() argument
920 USBDEVNAME(sc->sc_dev), sc->sc_epaddr[endpt])); in umass_clear_endpoint_stall()
922 usbd_clear_endpoint_toggle(sc->sc_pipe[endpt]); in umass_clear_endpoint_stall()
927 USETW(sc->sc_req.wIndex, sc->sc_epaddr[endpt]); in umass_clear_endpoint_stall()
Dohci.c2869 int s, len, isread, endpt; in ohci_device_bulk_start() local
2884 endpt = xfer->pipe->endpoint->edesc->bEndpointAddress; in ohci_device_bulk_start()
2885 isread = UE_GET_DIR(endpt) == UE_DIR_IN; in ohci_device_bulk_start()
2890 endpt)); in ohci_device_bulk_start()
/mirbsd/src/bin/pax/
Dpat_rep.c864 char *endpt; in rep_name() local
884 endpt = outpt + PAXPATHLEN; in rep_name()
909 while ((inpt < rpt) && (outpt < endpt)) in rep_name()
911 if (outpt == endpt) in rep_name()
920 if ((res = resub(&(pt->rcmp),pm,pt->nstr,oinpt,outpt,endpt)) in rep_name()
941 if ((outpt == endpt) || (*inpt == '\0')) in rep_name()
964 while ((outpt < endpt) && (*inpt != '\0')) in rep_name()
968 if ((outpt == endpt) && (*inpt != '\0')) { in rep_name()
Doptions.c1581 char *endpt; in opt_add() local
1592 frpt = endpt = dstr; in opt_add()
1600 if ((endpt = strchr(frpt, ',')) != NULL) in opt_add()
1601 *endpt = '\0'; in opt_add()
1618 if (endpt != NULL) in opt_add()
1619 frpt = endpt + 1; in opt_add()