Home | History | Annotate | Download | only in mtp

Lines Matching defs:ep

148             struct usb_endpoint_descriptor *ep;
155 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter);
156 if (ep && ep->bDescriptorType == USB_DT_SS_ENDPOINT_COMP) {
158 ep_ss_ep_comp_desc = (usb_ss_ep_comp_descriptor*)ep;
159 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter);
162 if (!ep || ep->bDescriptorType != USB_DT_ENDPOINT) {
168 if (ep->bmAttributes == USB_ENDPOINT_XFER_BULK) {
169 if (ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK)
170 ep_in_desc = ep;
172 ep_out_desc = ep;
173 } else if (ep->bmAttributes == USB_ENDPOINT_XFER_INT &&
174 ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) {
175 ep_intr_desc = ep;