Searched refs:clk_sys (Results 1 – 19 of 19) sorted by relevance
/Linux-v4.19/sound/soc/img/ |
D | img-parallel-out.c | 40 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()
|
D | img-spdif-out.c | 45 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()
|
D | img-i2s-in.c | 57 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()
|
D | img-i2s-out.c | 56 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()
|
D | img-spdif-in.c | 76 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/ |
D | m5407.c | 34 &clk_sys,
|
D | m5206.c | 34 &clk_sys,
|
D | m5307.c | 43 &clk_sys,
|
D | m523x.c | 42 &clk_sys,
|
D | m525x.c | 36 &clk_sys,
|
D | m54xx.c | 45 &clk_sys,
|
D | m5272.c | 48 &clk_sys,
|
D | m528x.c | 44 &clk_sys,
|
D | m5249.c | 36 &clk_sys,
|
D | m527x.c | 44 &clk_sys,
|
/Linux-v4.19/sound/soc/codecs/ |
D | wm8903.c | 1455 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/ |
D | clk-atlas6.c | 76 &clk_sys.hw,
|
D | clk-prima2.c | 75 &clk_sys.hw,
|
D | clk-common.c | 470 static struct clk_dmn clk_sys = { variable
|