Home
last modified time | relevance | path

Searched refs:suspend_clk (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c57 struct clk *suspend_clk; member
194 dwc3_imx->suspend_clk = devm_clk_get(dev, "suspend"); in dwc3_imx8mp_probe()
195 if (IS_ERR(dwc3_imx->suspend_clk)) { in dwc3_imx8mp_probe()
196 err = PTR_ERR(dwc3_imx->suspend_clk); in dwc3_imx8mp_probe()
201 err = clk_prepare_enable(dwc3_imx->suspend_clk); in dwc3_imx8mp_probe()
263 clk_disable_unprepare(dwc3_imx->suspend_clk); in dwc3_imx8mp_probe()
278 clk_disable_unprepare(dwc3_imx->suspend_clk); in dwc3_imx8mp_remove()
344 clk_disable_unprepare(dwc3_imx->suspend_clk); in dwc3_imx8mp_pm_suspend()
360 ret = clk_prepare_enable(dwc3_imx->suspend_clk); in dwc3_imx8mp_pm_resume()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-histb.c40 struct clk *suspend_clk; member
106 histb->suspend_clk = devm_clk_get(dev, "suspend"); in xhci_histb_clks_get()
107 if (IS_ERR(histb->suspend_clk)) { in xhci_histb_clks_get()
109 return PTR_ERR(histb->suspend_clk); in xhci_histb_clks_get()
137 ret = clk_prepare_enable(histb->suspend_clk); in xhci_histb_host_enable()
161 clk_disable_unprepare(histb->suspend_clk); in xhci_histb_host_disable()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-histb.c40 struct clk *suspend_clk; member
106 histb->suspend_clk = devm_clk_get(dev, "suspend"); in xhci_histb_clks_get()
107 if (IS_ERR(histb->suspend_clk)) { in xhci_histb_clks_get()
109 return PTR_ERR(histb->suspend_clk); in xhci_histb_clks_get()
137 ret = clk_prepare_enable(histb->suspend_clk); in xhci_histb_host_enable()
161 clk_disable_unprepare(histb->suspend_clk); in xhci_histb_host_disable()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
H A Dphy-brcm-usb.c68 struct clk *suspend_clk; member
128 clk_prepare_enable(priv->suspend_clk); in brcm_usb_phy_init()
164 clk_disable_unprepare(priv->suspend_clk); in brcm_usb_phy_exit()
426 priv->suspend_clk = clk_get(dev, "usb0_freerun"); in brcm_usb_phy_dvr_init()
427 if (IS_ERR(priv->suspend_clk)) { in brcm_usb_phy_dvr_init()
428 if (PTR_ERR(priv->suspend_clk) == -EPROBE_DEFER) in brcm_usb_phy_dvr_init()
431 priv->suspend_clk = NULL; in brcm_usb_phy_dvr_init()
/kernel/linux/linux-6.6/drivers/phy/broadcom/
H A Dphy-brcm-usb.c68 struct clk *suspend_clk; member
128 clk_prepare_enable(priv->suspend_clk); in brcm_usb_phy_init()
164 clk_disable_unprepare(priv->suspend_clk); in brcm_usb_phy_exit()
440 priv->suspend_clk = clk_get(dev, "usb0_freerun"); in brcm_usb_phy_dvr_init()
441 if (IS_ERR(priv->suspend_clk)) { in brcm_usb_phy_dvr_init()
442 if (PTR_ERR(priv->suspend_clk) == -EPROBE_DEFER) in brcm_usb_phy_dvr_init()
445 priv->suspend_clk = NULL; in brcm_usb_phy_dvr_init()

Completed in 5 milliseconds