Lines Matching defs:index
174 uint8_t index = setup->ep_index;
181 "type=0x%x dir=0x%x index=%d\n",
253 if (!index--) {
267 (!index)) {
473 * This function selects configuration by index, independent of the
482 usbd_set_config_index(struct usb_device *udev, uint8_t index)
492 DPRINTFN(6, "udev=%p index=%d\n", udev, index);
499 if (index == USB_UNCONFIG_INDEX) {
503 * the current config number and index.
514 (UDESC_CONFIG << 8) | index);
518 NULL, &cdp, index);
574 udev->curr_config_index = index;
617 * "USB_IFACE_INDEX_ANY" or a valid USB interface index. This function
723 /* set alternate index */
829 * This function will select an alternate interface index for the
830 * given interface index. The interface should not be in use when this
1198 * have the same endpoint descriptors. The default parent index value
1486 * Find an unused device index. In USB Host mode this is the
1489 * Device index zero is not used and device index 1 should
1499 "No free USB device index for new device\n");
1588 /* set device index */
1763 * Most USB devices should attach to config index 0 by
1802 DPRINTFN(0, "Failure selecting configuration index %u:"
2108 * pointer by interface index.
2129 * will only be searched within the interface having the index
2540 /* Check if the interface index matches */