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
277 if (!IS_ERR_OR_NULL(google->usb_top_pd)) { in dwc3_google_pm_domain_deinit()
278 device_set_wakeup_capable(google->usb_top_pd, false); in dwc3_google_pm_domain_deinit()
279 dev_pm_domain_detach(google->usb_top_pd, true); in dwc3_google_pm_domain_deinit()
328 google->usb_top_pd = dev_pm_domain_attach_by_name(google->dev, "top"); in dwc3_google_pm_domain_init()
329 if (IS_ERR_OR_NULL(google->usb_top_pd)) { in dwc3_google_pm_domain_init()
331 ret = google->usb_top_pd ? PTR_ERR(google->usb_top_pd) : -ENODATA; in dwc3_google_pm_domain_init()
334 device_set_wakeup_capable(google->usb_top_pd, true); in dwc3_google_pm_domain_init()
336 google->usb_top_pd_dl = device_link_add(google->dev, google->usb_top_pd, in dwc3_google_pm_domain_init()
339 dev_err(google->usb_top_pd, "failed to add device link"); in dwc3_google_pm_domain_init()
[all …]