Home | History | Annotate | Download | only in usb

Lines Matching defs:ed

121 	usb_endpoint_descriptor_t *ed;
180 ed = usbd_interface2endpoint_descriptor(sc->sc_data_iface, i);
181 if (ed == NULL) {
186 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
187 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) {
188 ucaa->ucaa_bulkin = ed->bEndpointAddress;
189 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT &&
190 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) {
191 ucaa->ucaa_bulkout = ed->bEndpointAddress;
235 ed = usbd_interface2endpoint_descriptor(sc->sc_ctl_iface, i);
236 if (ed == NULL)
239 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&
240 (ed->bmAttributes & UE_XFERTYPE) == UE_INTERRUPT) {
243 sc->sc_ctl_notify = ed->bEndpointAddress;