Lines Matching refs:epd
75 static bool match_endpoint(struct usb_endpoint_descriptor *epd, in match_endpoint() argument
81 switch (usb_endpoint_type(epd)) { in match_endpoint()
83 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
85 *bulk_in = epd; in match_endpoint()
90 *bulk_out = epd; in match_endpoint()
97 if (usb_endpoint_dir_in(epd)) { in match_endpoint()
99 *int_in = epd; in match_endpoint()
104 *int_out = epd; in match_endpoint()
141 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints() local
154 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints()
156 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints()
187 struct usb_endpoint_descriptor *epd; in usb_find_common_endpoints_reverse() local
200 epd = &alt->endpoint[i].desc; in usb_find_common_endpoints_reverse()
202 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints_reverse()