Home
last modified time | relevance | path

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

/linux/drivers/usb/dwc3/
H A Ddwc3-google.c61 struct device *usb_psw_pd; member
286 if (!IS_ERR_OR_NULL(google->usb_psw_pd)) { in dwc3_google_pm_domain_deinit()
287 dev_pm_genpd_remove_notifier(google->usb_psw_pd); in dwc3_google_pm_domain_deinit()
288 dev_pm_domain_detach(google->usb_psw_pd, true); in dwc3_google_pm_domain_deinit()
300 google->usb_psw_pd = dev_pm_domain_attach_by_name(google->dev, "psw"); in dwc3_google_pm_domain_init()
301 if (IS_ERR_OR_NULL(google->usb_psw_pd)) { in dwc3_google_pm_domain_init()
303 ret = google->usb_psw_pd ? PTR_ERR(google->usb_psw_pd) : -ENODATA; in dwc3_google_pm_domain_init()
308 ret = dev_pm_genpd_add_notifier(google->usb_psw_pd, &google->usb_psw_pd_nb); in dwc3_google_pm_domain_init()
314 google->usb_psw_pd_dl = device_link_add(google->dev, google->usb_psw_pd, in dwc3_google_pm_domain_init()
318 dev_err(google->usb_psw_pd, "failed to add device link"); in dwc3_google_pm_domain_init()