Lines Matching defs:hdev
724 extern struct usb_device *usb_hub_find_child(struct usb_device *hdev,
729 * @hdev: USB device belonging to the usb hub
733 #define usb_hub_for_each_child(hdev, port1, child) \
734 for (port1 = 1, child = usb_hub_find_child(hdev, port1); \
735 port1 <= hdev->maxchild; \
736 child = usb_hub_find_child(hdev, ++port1)) \
754 extern int usb_acpi_set_power_state(struct usb_device *hdev, int index,
756 extern bool usb_acpi_power_manageable(struct usb_device *hdev, int index);
757 extern int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index);
759 static inline int usb_acpi_set_power_state(struct usb_device *hdev, int index,
761 static inline bool usb_acpi_power_manageable(struct usb_device *hdev, int index)
763 static inline int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index)
889 int usb_hub_claim_port(struct usb_device *hdev, unsigned port1,
891 int usb_hub_release_port(struct usb_device *hdev, unsigned port1,