Lines Matching refs:udev

274 	struct usb_device *udev;  in usb_find_device()  local
290 udev = dev_get_parent_priv(hub); in usb_find_device()
291 if (udev->devnum == devnum) in usb_find_device()
292 return udev; in usb_find_device()
300 udev = dev_get_parent_priv(dev); in usb_find_device()
301 if (udev->devnum == devnum) in usb_find_device()
302 return udev; in usb_find_device()
306 struct usb_device *udev; in usb_find_device()
310 udev = usb_get_dev_index(d); in usb_find_device()
311 if (udev == NULL) in usb_find_device()
313 if (udev->devnum == devnum) in usb_find_device()
314 return udev; in usb_find_device()
413 struct usb_device *udev; local
418 udev = dev_get_parent_priv(child);
426 usb_show_tree_graph(udev, pre);
452 typedef void (*usb_dev_func_t)(struct usb_device *udev);
461 struct usb_device *udev; local
469 udev = dev_get_parent_priv(dev);
470 func(udev);
481 struct usb_device *udev;
485 udev = usb_get_dev_index(i);
486 if (udev == NULL)
488 if (udev->parent == NULL)
489 usb_show_subtree(udev);
607 static void usb_show_info(struct usb_device *udev) argument
611 usb_display_desc(udev);
612 usb_display_config(udev);
613 for (device_find_first_child(udev->dev, &child);
619 udev = dev_get_parent_priv(child);
620 usb_show_info(udev);
631 struct usb_device *udev = NULL; local
679 udev = usb_get_dev_index(d);
680 if (udev == NULL)
682 usb_display_desc(udev);
683 usb_display_config(udev);
695 udev = usb_find_device(i);
696 if (udev == NULL) {
700 usb_display_desc(udev);
701 usb_display_config(udev);
710 udev = usb_find_device(i);
711 if (udev == NULL) {
716 return usb_test(udev, i, argv[4]);