Lines Matching defs:alt_if
247 * Return a specific alt_if from the device descriptor tree.
282 * Print all endpoints of an alt_if.
299 * For the given alt_if, find an endpoint with the given
305 usb_find_endpoint(usb_alt_if_data_t *alt_if,
313 for (i = 0; i < alt_if->altif_n_ep; i++) {
314 ep_data = &alt_if->altif_ep[i];
337 * alt_if. Furthemore, if use_attr == ZYD_USB_USE_ATTR,
342 usb_alt_if_data_t *alt_if,
351 *endpoint = *usb_find_endpoint(alt_if, ep_address, ep_direction);
387 usb_alt_if_data_t *alt_if;
391 alt_if = usb_lookup_alt_if(uc->cdata, ZYD_USB_CONFIG_NUMBER,
394 if (alt_if == NULL) {
395 ZYD_WARN("alt_if not found\n");
401 usb_list_all_endpoints(alt_if);
404 if (zyd_usb_open_pipe(uc, alt_if, 1, USB_EP_DIR_OUT, USB_EP_ATTR_BULK,
411 if (zyd_usb_open_pipe(uc, alt_if, 2, USB_EP_DIR_IN, USB_EP_ATTR_BULK,
418 if (zyd_usb_open_pipe(uc, alt_if, 3, USB_EP_DIR_IN, USB_EP_ATTR_INTR,
428 if (zyd_usb_open_pipe(uc, alt_if, 4, USB_EP_DIR_OUT, 0,