Home | History | Annotate | Download | only in usb

Lines Matching refs:ed

354 	usb_endpoint_descriptor_t *ed;
386 ed = usbd_interface2endpoint_descriptor(iface, n);
387 if (ed == NULL) {
394 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
395 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) {
396 intr_address = ed->bEndpointAddress;
397 intr_size = UGETW(ed->wMaxPacketSize);
399 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
400 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
401 ucaa.ucaa_bulkin = ed->bEndpointAddress;
403 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
404 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) {
405 ucaa.ucaa_bulkout = ed->bEndpointAddress;
605 usb_endpoint_descriptor_t *ed;
617 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i);
618 if (ed == NULL)
621 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
622 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK &&
625 ed->bEndpointAddress, UF_ENDPOINT_HALT);