Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/drivers/mfd/
Domap-usb-host.c86 struct clk **utmi_clk; member
313 if (!IS_ERR(omap->utmi_clk[i])) { in usbhs_runtime_resume()
314 r = clk_prepare_enable(omap->utmi_clk[i]); in usbhs_runtime_resume()
349 if (!IS_ERR(omap->utmi_clk[i])) in usbhs_runtime_suspend()
350 clk_disable_unprepare(omap->utmi_clk[i]); in usbhs_runtime_suspend()
616 omap->utmi_clk = devm_kzalloc(dev, i, GFP_KERNEL); in usbhs_omap_probe()
620 if (!omap->utmi_clk || !omap->hsic480m_clk || !omap->hsic60m_clk) { in usbhs_omap_probe()
635 omap->utmi_clk[i] = ERR_PTR(-ENODEV); in usbhs_omap_probe()
711 omap->utmi_clk[i] = devm_clk_get(dev, clkname); in usbhs_omap_probe()
712 if (IS_ERR(omap->utmi_clk[i])) { in usbhs_omap_probe()
[all …]
/linux-6.12.1/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.h1087 struct clk *utmi_clk; member
/linux-6.12.1/drivers/usb/dwc3/
Dcore.c930 ret = clk_prepare_enable(dwc->utmi_clk); in dwc3_clk_enable()
941 clk_disable_unprepare(dwc->utmi_clk); in dwc3_clk_enable()
954 clk_disable_unprepare(dwc->utmi_clk); in dwc3_clk_disable()
2043 dwc->utmi_clk = devm_clk_get_optional(dev, "utmi"); in dwc3_get_clocks()
2044 if (IS_ERR(dwc->utmi_clk)) { in dwc3_get_clocks()
2045 return dev_err_probe(dev, PTR_ERR(dwc->utmi_clk), in dwc3_get_clocks()
Dcore.h1198 struct clk *utmi_clk; member