Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mfd/
Domap-usb-tll.c102 struct clk *ch_clk[]; /* must be the last member */ member
233 tll = devm_kzalloc(dev, sizeof(*tll) + sizeof(tll->ch_clk[nch]), in usbtll_omap_probe()
250 tll->ch_clk[i] = clk_get(dev, clkname); in usbtll_omap_probe()
252 if (IS_ERR(tll->ch_clk[i])) in usbtll_omap_probe()
255 clk_prepare(tll->ch_clk[i]); in usbtll_omap_probe()
283 if (!IS_ERR(tll->ch_clk[i])) { in usbtll_omap_remove()
284 clk_unprepare(tll->ch_clk[i]); in usbtll_omap_remove()
285 clk_put(tll->ch_clk[i]); in usbtll_omap_remove()
402 if (IS_ERR(tll->ch_clk[i])) in omap_tll_enable()
405 r = clk_enable(tll->ch_clk[i]); in omap_tll_enable()
[all …]
/Linux-v6.6/sound/soc/bcm/
Dcygnus-ssp.c487 struct clk *ch_clk; in pll_configure_mclk() local
502 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()