Lines Matching defs:ep
510 struct usb_endpoint *ep = NULL;
539 for (j = 0; (ep = usb_endpoint_foreach(udev, ep)); j++) {
546 edesc = ep->edesc;
630 struct usb_endpoint_descriptor *ep)
640 if (UE_GET_XFERTYPE(ep->bmAttributes) == UE_CONTROL ||
641 UE_GET_XFERTYPE(ep->bmAttributes) == UE_ISOCHRONOUS) {
643 __func__, UE_GET_XFERTYPE(ep->bmAttributes));
647 ne = &sc->ndisusb_ep[NDISUSB_GET_ENDPT(ep->bEndpointAddress)];
651 ne->ne_dirin = UE_GET_DIR(ep->bEndpointAddress) >> 7;
654 cfg.type = UE_GET_XFERTYPE(ep->bmAttributes);
655 cfg.endpoint = UE_GET_ADDR(ep->bEndpointAddress);
656 cfg.direction = UE_GET_DIR(ep->bEndpointAddress);
658 cfg.bufsize = UGETW(ep->wMaxPacketSize);
660 if (UE_GET_DIR(ep->bEndpointAddress) == UE_DIR_IN)
672 if (UE_GET_DIR(ep->bEndpointAddress) == UE_DIR_IN)
675 if (UE_GET_XFERTYPE(ep->bmAttributes) == UE_BULK)
843 usb_endpoint_descriptor_t *ep;
875 ep = ubi->ubi_epdesc;
902 ep = ubi->ubi_epdesc;
912 if (UE_GET_DIR(ep->bEndpointAddress) == UE_DIR_OUT)
1081 usbd_get_ndisep(irp *ip, usb_endpoint_descriptor_t *ep)
1087 ne = &sc->ndisusb_ep[NDISUSB_GET_ENDPT(ep->bEndpointAddress)];
1267 usb_endpoint_descriptor_t *ep;
1271 ep = ubi->ubi_epdesc;
1272 if (ep == NULL)
1275 ne = usbd_get_ndisep(ip, ep);