Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/core/
Dhcd.c2209 int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg) in hcd_bus_suspend() argument
2211 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); in hcd_bus_suspend()
2215 dev_dbg(&rhdev->dev, "bus %ssuspend, wakeup %d\n", in hcd_bus_suspend()
2217 rhdev->do_remote_wakeup); in hcd_bus_suspend()
2219 dev_dbg(&rhdev->dev, "skipped %s of dead bus\n", "suspend"); in hcd_bus_suspend()
2231 usb_set_device_state(rhdev, USB_STATE_SUSPENDED); in hcd_bus_suspend()
2235 if (rhdev->do_remote_wakeup) { in hcd_bus_suspend()
2240 dev_dbg(&rhdev->dev, "suspend raced with wakeup event\n"); in hcd_bus_suspend()
2241 hcd_bus_resume(rhdev, PMSG_AUTO_RESUME); in hcd_bus_suspend()
2252 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()
/linux-4.4.14/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()
/linux-4.4.14/include/linux/usb/
Dhcd.h641 extern void usb_root_hub_lost_power(struct usb_device *rhdev);
642 extern int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg);
643 extern int hcd_bus_resume(struct usb_device *rhdev, pm_message_t msg);