Home
last modified time | relevance | path

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

/drivers/usb/core/
Dhcd.c2272 int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg) in hcd_bus_suspend() argument
2274 struct usb_hcd *hcd = bus_to_hcd(rhdev->bus); in hcd_bus_suspend()
2278 dev_dbg(&rhdev->dev, "bus %ssuspend, wakeup %d\n", in hcd_bus_suspend()
2280 rhdev->do_remote_wakeup); in hcd_bus_suspend()
2282 dev_dbg(&rhdev->dev, "skipped %s of dead bus\n", "suspend"); in hcd_bus_suspend()
2294 usb_set_device_state(rhdev, USB_STATE_SUSPENDED); in hcd_bus_suspend()
2302 if (rhdev->do_remote_wakeup) { in hcd_bus_suspend()
2307 dev_dbg(&rhdev->dev, "suspend raced with wakeup event\n"); in hcd_bus_suspend()
2308 hcd_bus_resume(rhdev, PMSG_AUTO_RESUME); in hcd_bus_suspend()
2319 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n", in hcd_bus_suspend()
[all …]
Dhub.c3995 void usb_root_hub_lost_power(struct usb_device *rhdev) in usb_root_hub_lost_power() argument
3997 dev_notice(&rhdev->dev, "root hub lost power or was reset\n"); in usb_root_hub_lost_power()
3998 rhdev->reset_resume = 1; in usb_root_hub_lost_power()
/drivers/usb/host/
Duhci-hcd.c294 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh() local
297 dev_dbg(&rhdev->dev, "%s%s\n", __func__, in suspend_rh()
313 if (!device_may_wakeup(&rhdev->dev)) in suspend_rh()
323 if (!rhdev->do_remote_wakeup) in suspend_rh()