Home
last modified time | relevance | path

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

/drivers/usb/host/
Dxhci-histb.c38 struct clk *utmi_clk; member
94 histb->utmi_clk = devm_clk_get(dev, "utmi"); in xhci_histb_clks_get()
95 if (IS_ERR(histb->utmi_clk)) { in xhci_histb_clks_get()
97 return PTR_ERR(histb->utmi_clk); in xhci_histb_clks_get()
125 ret = clk_prepare_enable(histb->utmi_clk); in xhci_histb_host_enable()
150 clk_disable_unprepare(histb->utmi_clk); in xhci_histb_host_enable()
163 clk_disable_unprepare(histb->utmi_clk); in xhci_histb_host_disable()
/drivers/mfd/
Domap-usb-host.c87 struct clk **utmi_clk; member
314 if (!IS_ERR(omap->utmi_clk[i])) { in usbhs_runtime_resume()
315 r = clk_prepare_enable(omap->utmi_clk[i]); in usbhs_runtime_resume()
350 if (!IS_ERR(omap->utmi_clk[i])) in usbhs_runtime_suspend()
351 clk_disable_unprepare(omap->utmi_clk[i]); in usbhs_runtime_suspend()
617 omap->utmi_clk = devm_kzalloc(dev, i, GFP_KERNEL); in usbhs_omap_probe()
621 if (!omap->utmi_clk || !omap->hsic480m_clk || !omap->hsic60m_clk) { in usbhs_omap_probe()
636 omap->utmi_clk[i] = ERR_PTR(-ENODEV); in usbhs_omap_probe()
712 omap->utmi_clk[i] = devm_clk_get(dev, clkname); in usbhs_omap_probe()
713 if (IS_ERR(omap->utmi_clk[i])) { in usbhs_omap_probe()
[all …]
/drivers/usb/dwc2/
Dplatform.c104 if (hsotg->utmi_clk) { in __dwc2_lowlevel_hw_enable()
105 ret = clk_prepare_enable(hsotg->utmi_clk); in __dwc2_lowlevel_hw_enable()
139 if (hsotg->utmi_clk) in __dwc2_lowlevel_hw_enable()
140 clk_disable_unprepare(hsotg->utmi_clk); in __dwc2_lowlevel_hw_enable()
184 if (hsotg->utmi_clk) in __dwc2_lowlevel_hw_disable()
185 clk_disable_unprepare(hsotg->utmi_clk); in __dwc2_lowlevel_hw_disable()
276 hsotg->utmi_clk = devm_clk_get_optional(hsotg->dev, "utmi"); in dwc2_lowlevel_hw_init()
277 if (IS_ERR(hsotg->utmi_clk)) in dwc2_lowlevel_hw_init()
278 return dev_err_probe(hsotg->dev, PTR_ERR(hsotg->utmi_clk), in dwc2_lowlevel_hw_init()
Dcore.h1081 struct clk *utmi_clk; member