Lines Matching refs:epd
74 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument
80 switch (usb_endpoint_type(epd)) { in match_endpoint()
82 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
84 *bulk_in = epd; in match_endpoint()
89 *bulk_out = epd; in match_endpoint()
96 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
98 *int_in = epd; in match_endpoint()
103 *int_out = epd; in match_endpoint()
140 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
153 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
155 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints()
186 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints_reverse() local
199 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints_reverse()
201 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints_reverse()