Lines Matching refs:ch_clk
102 struct clk *ch_clk[]; /* must be the last member */ member
240 tll = devm_kzalloc(dev, sizeof(*tll) + sizeof(tll->ch_clk[nch]), in usbtll_omap_probe()
257 tll->ch_clk[i] = clk_get(dev, clkname); in usbtll_omap_probe()
259 if (IS_ERR(tll->ch_clk[i])) in usbtll_omap_probe()
262 clk_prepare(tll->ch_clk[i]); in usbtll_omap_probe()
290 if (!IS_ERR(tll->ch_clk[i])) { in usbtll_omap_remove()
291 clk_unprepare(tll->ch_clk[i]); in usbtll_omap_remove()
292 clk_put(tll->ch_clk[i]); in usbtll_omap_remove()
409 if (IS_ERR(tll->ch_clk[i])) in omap_tll_enable()
412 r = clk_enable(tll->ch_clk[i]); in omap_tll_enable()
439 if (!IS_ERR(tll->ch_clk[i])) in omap_tll_disable()
440 clk_disable(tll->ch_clk[i]); in omap_tll_disable()