Home
last modified time | relevance | path

Searched refs:rhdev (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/core/
Dhcd.c1576 int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg) in hcd_bus_suspend() argument
1578 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_suspend()
1582 dev_dbg(&rhdev->dev, "bus %s%s\n", in hcd_bus_suspend()
1591 usb_set_device_state(rhdev, USB_STATE_SUSPENDED); in hcd_bus_suspend()
1595 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n", in hcd_bus_suspend()
1601 int hcd_bus_resume(struct usb_device *rhdev, pm_message_t msg) in hcd_bus_resume() argument
1603 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_resume()
1607 dev_dbg(&rhdev->dev, "usb %s%s\n", in hcd_bus_resume()
1619 usb_set_device_state(rhdev, rhdev->actconfig in hcd_bus_resume()
1625 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n", in hcd_bus_resume()
[all …]
Dhcd.h390 extern void usb_root_hub_lost_power(struct usb_device *rhdev);
391 extern int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg);
392 extern int hcd_bus_resume(struct usb_device *rhdev, pm_message_t msg);
Dhub.c2307 void usb_root_hub_lost_power(struct usb_device *rhdev) in usb_root_hub_lost_power() argument
2309 dev_warn(&rhdev->dev, "root hub lost power or was reset\n"); in usb_root_hub_lost_power()
2310 rhdev->reset_resume = 1; in usb_root_hub_lost_power()
/drivers/usb/host/
Duhci-hcd.c264 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh() local
267 dev_dbg(&rhdev->dev, "%s%s\n", __func__, in suspend_rh()
283 if (!device_may_wakeup(&rhdev->dev)) in suspend_rh()
291 if (!rhdev->do_remote_wakeup) in suspend_rh()