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

/linux-4.1.27/drivers/mfd/
H A Domap-usb-tll.c110 struct clk **ch_clk; member in struct:usbtll_omap
255 tll->ch_clk = devm_kzalloc(dev, sizeof(struct clk *) * tll->nch, usbtll_omap_probe()
257 if (!tll->ch_clk) { usbtll_omap_probe()
268 tll->ch_clk[i] = clk_get(dev, clkname); usbtll_omap_probe()
270 if (IS_ERR(tll->ch_clk[i])) usbtll_omap_probe()
273 clk_prepare(tll->ch_clk[i]); usbtll_omap_probe()
307 if (!IS_ERR(tll->ch_clk[i])) { usbtll_omap_remove()
308 clk_unprepare(tll->ch_clk[i]); usbtll_omap_remove()
309 clk_put(tll->ch_clk[i]); usbtll_omap_remove()
425 if (IS_ERR(tll->ch_clk[i])) omap_tll_enable()
428 r = clk_enable(tll->ch_clk[i]); omap_tll_enable()
455 if (!IS_ERR(tll->ch_clk[i])) omap_tll_disable()
456 clk_disable(tll->ch_clk[i]); omap_tll_disable()

Completed in 60 milliseconds