Home | History | Annotate | Download | only in usb

Lines Matching defs:epd

663 	usb_endpoint_descriptor_t *epd;
665 epd = usbd_get_endpoint_descriptor(sc->sc_iface, ep->addr);
679 ep->buffer_size = UGETW(epd->wMaxPacketSize);
776 usb_endpoint_descriptor_t *epd;
796 epd = usbd_interface2endpoint_descriptor(
799 if (!epd) {
806 if (UE_GET_XFERTYPE(epd->bmAttributes)!=UE_BULK ||
807 UE_GET_DIR(epd->bEndpointAddress)!=UE_DIR_OUT) {
814 ep->addr = epd->bEndpointAddress;
822 epd = usbd_interface2endpoint_descriptor(
825 if (!epd) {
841 switch ( UE_GET_XFERTYPE(epd->bmAttributes) ) {
844 if (UE_DIR_IN == UE_GET_DIR(epd->bEndpointAddress))
855 ep->addr = epd->bEndpointAddress;
879 usb_endpoint_descriptor_t *epd;
896 epd = usbd_interface2endpoint_descriptor(sc->sc_iface, i);
897 KASSERT(epd != NULL);
898 if (UE_GET_XFERTYPE(epd->bmAttributes) == UE_BULK) {
899 dir = UE_GET_DIR(epd->bEndpointAddress);
901 out_addr = epd->bEndpointAddress;
903 in_addr = epd->bEndpointAddress;