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