Lines Matching defs:rhdev

2258 int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg)
2260 struct usb_hcd *hcd = bus_to_hcd(rhdev->bus);
2264 dev_dbg(&rhdev->dev, "bus %ssuspend, wakeup %d\n",
2266 rhdev->do_remote_wakeup);
2268 dev_dbg(&rhdev->dev, "skipped %s of dead bus\n", "suspend");
2280 usb_set_device_state(rhdev, USB_STATE_SUSPENDED);
2288 if (rhdev->do_remote_wakeup) {
2293 dev_dbg(&rhdev->dev, "suspend raced with wakeup event\n");
2294 hcd_bus_resume(rhdev, PMSG_AUTO_RESUME);
2305 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n",
2311 int hcd_bus_resume(struct usb_device *rhdev, pm_message_t msg)
2313 struct usb_hcd *hcd = bus_to_hcd(rhdev->bus);
2317 dev_dbg(&rhdev->dev, "usb %sresume\n",
2320 dev_dbg(&rhdev->dev, "skipped %s of dead bus\n", "resume");
2348 usb_set_device_state(rhdev, rhdev->actconfig
2362 usb_hub_for_each_child(rhdev, port1, udev) {
2372 dev_dbg(&rhdev->dev, "bus %s fail, err %d\n",
2763 struct usb_device *rhdev;
2766 rhdev = hcd->self.root_hub;
2769 usb_put_dev(rhdev);
2806 struct usb_device *rhdev;
2880 rhdev = usb_alloc_dev(NULL, &hcd->self, 0);
2881 if (rhdev == NULL) {
2887 hcd->self.root_hub = rhdev;
2890 rhdev->rx_lanes = 1;
2891 rhdev->tx_lanes = 1;
2892 rhdev->ssp_rate = USB_SSP_GEN_UNKNOWN;
2896 rhdev->speed = USB_SPEED_FULL;
2899 rhdev->speed = USB_SPEED_HIGH;
2902 rhdev->speed = USB_SPEED_SUPER;
2905 rhdev->rx_lanes = 2;
2906 rhdev->tx_lanes = 2;
2907 rhdev->ssp_rate = USB_SSP_GEN_2x2;
2908 rhdev->speed = USB_SPEED_SUPER_PLUS;
2911 rhdev->ssp_rate = USB_SSP_GEN_2x1;
2912 rhdev->speed = USB_SPEED_SUPER_PLUS;
2923 device_set_wakeup_capable(&rhdev->dev, 1);
3030 struct usb_device *rhdev;
3037 rhdev = hcd->self.root_hub;
3041 usb_get_dev(rhdev);
3059 usb_disconnect(&rhdev); /* Sets rhdev to NULL */