Lines Matching defs:hdev

52 	struct usb_device *hdev = to_usb_device(dev->parent->parent);
53 struct usb_hub *hub = usb_hub_to_struct_hub(hdev);
70 * trying to unregister hdev.
77 usb_lock_device(hdev);
87 usb_unlock_device(hdev);
104 struct usb_device *hdev = to_usb_device(dev->parent->parent);
105 struct usb_hub *hub = usb_hub_to_struct_hub(hdev);
125 * trying to unregister hdev.
132 usb_lock_device(hdev);
141 rc = usb_hub_set_port_power(hdev, hub, port1, !disabled);
144 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION);
146 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE);
153 usb_unlock_device(hdev);
352 struct usb_device *hdev = to_usb_device(dev->parent->parent);
354 struct usb_hub *hub = usb_hub_to_struct_hub(hdev);
378 retval = usb_hub_set_port_power(hdev, hub, port1, true);
392 if (hub_is_superspeed(hdev))
411 struct usb_device *hdev = to_usb_device(dev->parent->parent);
413 struct usb_hub *hub = usb_hub_to_struct_hub(hdev);
434 retval = usb_hub_set_port_power(hdev, hub, port1, false);
435 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION);
437 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE);
611 struct usb_device *hdev = to_usb_device(port_dev->dev.parent->parent);
616 hcd = bus_to_hcd(hdev->bus);
642 struct usb_device *hdev = hub->hdev;
656 } else if (!hdev->parent) {
657 struct usb_hcd *hcd = bus_to_hcd(hdev->bus);
666 struct usb_device *parent = hdev->parent;
672 upstream = parent_hub->ports[hdev->portnum - 1];
736 struct usb_device *hdev = hub->hdev;
749 port_dev->connect_type = usb_of_get_connect_type(hdev, port1);
754 if (hub_is_superspeed(hdev)) {
763 dev_set_name(&port_dev->dev, "%s-port%d", dev_name(&hub->hdev->dev),
797 * and the hub has been fully registered (hdev->maxchild set).