Home
last modified time | relevance | path

Searched refs:clk_sys (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/sound/soc/img/
Dimg-parallel-out.c40 struct clk *clk_sys; member
240 prl->clk_sys = devm_clk_get(&pdev->dev, "sys"); in img_prl_out_probe()
241 if (IS_ERR(prl->clk_sys)) { in img_prl_out_probe()
242 if (PTR_ERR(prl->clk_sys) != -EPROBE_DEFER) in img_prl_out_probe()
244 return PTR_ERR(prl->clk_sys); in img_prl_out_probe()
254 ret = clk_prepare_enable(prl->clk_sys); in img_prl_out_probe()
289 clk_disable_unprepare(prl->clk_sys); in img_prl_out_probe()
302 clk_disable_unprepare(prl->clk_sys); in img_prl_out_dev_remove()
Dimg-spdif-out.c45 struct clk *clk_sys; member
60 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_suspend()
70 ret = clk_prepare_enable(spdif->clk_sys); in img_spdif_out_runtime_resume()
79 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_resume()
355 spdif->clk_sys = devm_clk_get(&pdev->dev, "sys"); in img_spdif_out_probe()
356 if (IS_ERR(spdif->clk_sys)) { in img_spdif_out_probe()
357 if (PTR_ERR(spdif->clk_sys) != -EPROBE_DEFER) in img_spdif_out_probe()
359 return PTR_ERR(spdif->clk_sys); in img_spdif_out_probe()
Dimg-i2s-in.c57 struct clk *clk_sys; member
72 clk_disable_unprepare(i2s->clk_sys); in img_i2s_in_runtime_suspend()
82 ret = clk_prepare_enable(i2s->clk_sys); in img_i2s_in_runtime_resume()
196 cur_freq = clk_get_rate(i2s->clk_sys); in img_i2s_in_check_rate()
455 i2s->clk_sys = devm_clk_get(dev, "sys"); in img_i2s_in_probe()
456 if (IS_ERR(i2s->clk_sys)) { in img_i2s_in_probe()
457 if (PTR_ERR(i2s->clk_sys) != -EPROBE_DEFER) in img_i2s_in_probe()
459 return PTR_ERR(i2s->clk_sys); in img_i2s_in_probe()
Dimg-i2s-out.c56 struct clk *clk_sys; member
75 clk_disable_unprepare(i2s->clk_sys); in img_i2s_out_runtime_suspend()
85 ret = clk_prepare_enable(i2s->clk_sys); in img_i2s_out_runtime_resume()
94 clk_disable_unprepare(i2s->clk_sys); in img_i2s_out_runtime_resume()
468 i2s->clk_sys = devm_clk_get(&pdev->dev, "sys"); in img_i2s_out_probe()
469 if (IS_ERR(i2s->clk_sys)) { in img_i2s_out_probe()
470 if (PTR_ERR(i2s->clk_sys) != -EPROBE_DEFER) in img_i2s_out_probe()
472 return PTR_ERR(i2s->clk_sys); in img_i2s_out_probe()
Dimg-spdif-in.c76 struct clk *clk_sys; member
97 clk_disable_unprepare(spdif->clk_sys); in img_spdif_in_runtime_suspend()
107 ret = clk_prepare_enable(spdif->clk_sys); in img_spdif_in_runtime_resume()
142 freq_t = clk_get_rate(spdif->clk_sys); in img_spdif_in_check_max_rate()
745 spdif->clk_sys = devm_clk_get(dev, "sys"); in img_spdif_in_probe()
746 if (IS_ERR(spdif->clk_sys)) { in img_spdif_in_probe()
747 if (PTR_ERR(spdif->clk_sys) != -EPROBE_DEFER) in img_spdif_in_probe()
749 return PTR_ERR(spdif->clk_sys); in img_spdif_in_probe()
/Linux-v4.19/arch/m68k/coldfire/
Dm5407.c34 &clk_sys,
Dm5206.c34 &clk_sys,
Dm5307.c43 &clk_sys,
Dm523x.c42 &clk_sys,
Dm525x.c36 &clk_sys,
Dm54xx.c45 &clk_sys,
Dm5272.c48 &clk_sys,
Dm528x.c44 &clk_sys,
Dm5249.c36 &clk_sys,
Dm527x.c44 &clk_sys,
/Linux-v4.19/sound/soc/codecs/
Dwm8903.c1455 int clk_sys; in wm8903_hw_params() local
1531 clk_sys = wm8903->sysclk / 2; in wm8903_hw_params()
1534 clk_sys = wm8903->sysclk; in wm8903_hw_params()
1547 dev_dbg(component->dev, "Actual CLK_SYS = %dHz\n", clk_sys); in wm8903_hw_params()
1555 best_val = ((clk_sys * 10) / bclk_divs[0].ratio) - bclk; in wm8903_hw_params()
1558 cur_val = ((clk_sys * 10) / bclk_divs[i].ratio) - bclk; in wm8903_hw_params()
1571 (clk_sys * 10) / bclk_divs[bclk_div].ratio); in wm8903_hw_params()
/Linux-v4.19/drivers/clk/sirf/
Dclk-atlas6.c76 &clk_sys.hw,
Dclk-prima2.c75 &clk_sys.hw,
Dclk-common.c470 static struct clk_dmn clk_sys = { variable