Lines Matching refs:ed
705 usb_endpoint_descriptor_t *ed; in mue_attach() local
731 ed = usbd_interface2endpoint_descriptor(sc->mue_iface, i); in mue_attach()
732 if (ed == NULL) { in mue_attach()
737 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in mue_attach()
738 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { in mue_attach()
739 sc->mue_ed[MUE_ENDPT_RX] = ed->bEndpointAddress; in mue_attach()
740 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in mue_attach()
741 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { in mue_attach()
742 sc->mue_ed[MUE_ENDPT_TX] = ed->bEndpointAddress; in mue_attach()
743 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in mue_attach()
744 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) { in mue_attach()
745 sc->mue_ed[MUE_ENDPT_INTR] = ed->bEndpointAddress; in mue_attach()