Lines Matching refs:epd
76 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument
82 switch (usb_endpoint_type(epd)) { in match_endpoint()
84 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
86 *bulk_in = epd; in match_endpoint()
91 *bulk_out = epd; in match_endpoint()
98 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
100 *int_in = epd; in match_endpoint()
105 *int_out = epd; in match_endpoint()
142 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
155 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
157 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints()
188 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints_reverse() local
201 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints_reverse()
203 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints_reverse()