Home
last modified time | relevance | path

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

/drivers/usb/core/
Dhcd.c2233 int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg) in hcd_bus_suspend() argument
2235 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_suspend()
2239 dev_dbg(&rhdev->dev, "bus %ssuspend, wakeup %d\n", in hcd_bus_suspend()
2241 rhdev->do_remote_wakeup); in hcd_bus_suspend()
2243 dev_dbg(&rhdev->dev, "skipped %s of dead bus\n", "suspend"); in hcd_bus_suspend()
2255 usb_set_device_state(rhdev, USB_STATE_SUSPENDED); in hcd_bus_suspend()
2259 if (rhdev->do_remote_wakeup) { in hcd_bus_suspend()
2264 dev_dbg(&rhdev->dev, "suspend raced with wakeup event\n"); in hcd_bus_suspend()
2265 hcd_bus_resume(rhdev, PMSG_AUTO_RESUME); in hcd_bus_suspend()
2276 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n", in hcd_bus_suspend()
[all …]
Dhub.c3640 void usb_root_hub_lost_power(struct usb_device *rhdev) in usb_root_hub_lost_power() argument
3642 dev_warn(&rhdev->dev, "root hub lost power or was reset\n"); in usb_root_hub_lost_power()
3643 rhdev->reset_resume = 1; in usb_root_hub_lost_power()
/drivers/usb/host/
Duhci-hcd.c289 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh() local
292 dev_dbg(&rhdev->dev, "%s%s\n", __func__, in suspend_rh()
308 if (!device_may_wakeup(&rhdev->dev)) in suspend_rh()
318 if (!rhdev->do_remote_wakeup) in suspend_rh()