Lines Matching refs:epd
77 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument
83 switch (usb_endpoint_type(epd)) { in match_endpoint()
85 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
87 *bulk_in = epd; in match_endpoint()
92 *bulk_out = epd; in match_endpoint()
99 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
101 *int_in = epd; in match_endpoint()
106 *int_out = epd; in match_endpoint()
143 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
156 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
158 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints()
189 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints_reverse() local
202 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints_reverse()
204 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints_reverse()