Lines Matching refs:devnum
346 static struct usb_device *find_child_devnum(struct udevice *parent, int devnum) in find_child_devnum() argument
354 if (udev->devnum == devnum) in find_child_devnum()
360 udev = find_child_devnum(dev, devnum); in find_child_devnum()
371 int devnum = index + 1; /* Addresses are allocated from 1 on USB */ in usb_get_dev_index() local
377 return find_child_devnum(dev, devnum); in usb_get_dev_index()
496 int bus_seq, int devnum, in usb_find_and_bind_driver() argument
541 snprintf(name, sizeof(name), "generic_bus_%x_dev_%x", bus_seq, devnum); in usb_find_and_bind_driver()
631 udev->devnum = priv->next_addr + 1; in usb_scan_device()
647 udev->devnum, &dev); in usb_scan_device()
654 plat->devnum = udev->devnum; in usb_scan_device()
775 udev->devnum = plat->devnum; in usb_child_pre_probe()