Lines Matching refs:optclk
287 phy->optclk = devm_clk_get(phy->dev, "refclk"); in omap_usb2_probe()
288 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
290 phy->optclk = devm_clk_get(phy->dev, "usb_otg_ss_refclk960m"); in omap_usb2_probe()
291 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
300 if (!IS_ERR(phy->optclk)) in omap_usb2_probe()
301 clk_prepare(phy->optclk); in omap_usb2_probe()
313 if (!IS_ERR(phy->optclk)) in omap_usb2_remove()
314 clk_unprepare(phy->optclk); in omap_usb2_remove()
329 if (!IS_ERR(phy->optclk)) in omap_usb2_runtime_suspend()
330 clk_disable(phy->optclk); in omap_usb2_runtime_suspend()
347 if (!IS_ERR(phy->optclk)) { in omap_usb2_runtime_resume()
348 ret = clk_enable(phy->optclk); in omap_usb2_runtime_resume()