Home
last modified time | relevance | path

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

/linux/drivers/usb/dwc3/
H A Ddwc3-google.c64 struct device *usb_top_pd; member
278 if (!IS_ERR_OR_NULL(google->usb_top_pd)) { in dwc3_google_pm_domain_deinit()
279 device_set_wakeup_capable(google->usb_top_pd, false); in dwc3_google_pm_domain_deinit()
280 dev_pm_domain_detach(google->usb_top_pd, true); in dwc3_google_pm_domain_deinit()
329 google->usb_top_pd = dev_pm_domain_attach_by_name(google->dev, "top"); in dwc3_google_pm_domain_init()
330 if (IS_ERR_OR_NULL(google->usb_top_pd)) { in dwc3_google_pm_domain_init()
332 ret = google->usb_top_pd ? PTR_ERR(google->usb_top_pd) : -ENODATA; in dwc3_google_pm_domain_init()
335 device_set_wakeup_capable(google->usb_top_pd, true); in dwc3_google_pm_domain_init()
337 google->usb_top_pd_dl = device_link_add(google->dev, google->usb_top_pd, in dwc3_google_pm_domain_init()
340 dev_err(google->usb_top_pd, "failed to add device link"); in dwc3_google_pm_domain_init()
[all …]