Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/core/
Dhcd.c2265 int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg) in hcd_bus_suspend() argument
2267 struct usb_hcd *hcd = bus_to_hcd(rhdev->bus); in hcd_bus_suspend()
2271 dev_dbg(&rhdev->dev, "bus %ssuspend, wakeup %d\n", in hcd_bus_suspend()
2273 rhdev->do_remote_wakeup); in hcd_bus_suspend()
2275 dev_dbg(&rhdev->dev, "skipped %s of dead bus\n", "suspend"); in hcd_bus_suspend()
2287 usb_set_device_state(rhdev, USB_STATE_SUSPENDED); in hcd_bus_suspend()
2295 if (rhdev->do_remote_wakeup) { in hcd_bus_suspend()
2300 dev_dbg(&rhdev->dev, "suspend raced with wakeup event\n"); in hcd_bus_suspend()
2301 hcd_bus_resume(rhdev, PMSG_AUTO_RESUME); in hcd_bus_suspend()
2312 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n", in hcd_bus_suspend()
[all …]
Dhub.c3937 void usb_root_hub_lost_power(struct usb_device *rhdev) in usb_root_hub_lost_power() argument
3939 dev_notice(&rhdev->dev, "root hub lost power or was reset\n"); in usb_root_hub_lost_power()
3940 rhdev->reset_resume = 1; in usb_root_hub_lost_power()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/usb/
Dhcd.h671 extern void usb_root_hub_lost_power(struct usb_device *rhdev);
672 extern int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg);
673 extern int hcd_bus_resume(struct usb_device *rhdev, pm_message_t msg);