Searched refs:ch_clk (Results 1 – 2 of 2) sorted by relevance
102 struct clk *ch_clk[]; /* must be the last member */ member233 tll = devm_kzalloc(dev, struct_size(tll, ch_clk, nch), GFP_KERNEL); in usbtll_omap_probe()249 tll->ch_clk[i] = clk_get(dev, clkname); in usbtll_omap_probe()251 if (IS_ERR(tll->ch_clk[i])) in usbtll_omap_probe()254 clk_prepare(tll->ch_clk[i]); in usbtll_omap_probe()282 if (!IS_ERR(tll->ch_clk[i])) { in usbtll_omap_remove()283 clk_unprepare(tll->ch_clk[i]); in usbtll_omap_remove()284 clk_put(tll->ch_clk[i]); in usbtll_omap_remove()401 if (IS_ERR(tll->ch_clk[i])) in omap_tll_enable()404 r = clk_enable(tll->ch_clk[i]); in omap_tll_enable()[all …]
487 struct clk *ch_clk; in pll_configure_mclk() local502 ch_clk = cygaud->audio_clk[p_entry->pll_ch_num]; in pll_configure_mclk()505 error = clk_prepare_enable(ch_clk); in pll_configure_mclk()515 error = clk_prepare_enable(ch_clk); in pll_configure_mclk()524 error = clk_set_rate(ch_clk, mclk); in pll_configure_mclk()