Home
last modified time | relevance | path

Searched refs:clk_i2s (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/sound/soc/pxa/
Dpxa2xx-i2s.c77 static struct clk *clk_i2s; variable
99 if (IS_ERR(clk_i2s)) in pxa2xx_i2s_startup()
100 return PTR_ERR(clk_i2s); in pxa2xx_i2s_startup()
160 if (WARN_ON(IS_ERR(clk_i2s))) in pxa2xx_i2s_hw_params()
162 clk_prepare_enable(clk_i2s); in pxa2xx_i2s_hw_params()
255 clk_disable_unprepare(clk_i2s); in pxa2xx_i2s_shutdown()
297 clk_i2s = clk_get(dai->dev, "I2SCLK"); in pxa2xx_i2s_probe()
298 if (IS_ERR(clk_i2s)) in pxa2xx_i2s_probe()
299 return PTR_ERR(clk_i2s); in pxa2xx_i2s_probe()
322 clk_put(clk_i2s); in pxa2xx_i2s_remove()
[all …]
/linux-6.1.9/sound/soc/jz4740/
Djz4740-i2s.c102 struct clk *clk_i2s; member
161 ret = clk_prepare_enable(i2s->clk_i2s); in jz4740_i2s_startup()
185 clk_disable_unprepare(i2s->clk_i2s); in jz4740_i2s_shutdown()
285 div = clk_get_rate(i2s->clk_i2s) / (64 * params_rate(params)); in jz4740_i2s_hw_params()
339 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk()
345 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk()
346 ret = clk_set_rate(i2s->clk_i2s, freq); in jz4740_i2s_set_sysclk()
366 clk_disable_unprepare(i2s->clk_i2s); in jz4740_i2s_suspend()
385 ret = clk_prepare_enable(i2s->clk_i2s); in jz4740_i2s_resume()
553 i2s->clk_i2s = devm_clk_get(dev, "i2s"); in jz4740_i2s_dev_probe()
[all …]
/linux-6.1.9/sound/soc/tegra/
Dtegra20_i2s.c43 clk_disable_unprepare(i2s->clk_i2s); in tegra20_i2s_runtime_suspend()
57 ret = clk_prepare_enable(i2s->clk_i2s); in tegra20_i2s_runtime_resume()
79 clk_disable_unprepare(i2s->clk_i2s); in tegra20_i2s_runtime_resume()
177 ret = clk_set_rate(i2s->clk_i2s, i2sclock); in tegra20_i2s_hw_params()
275 struct clk *parent = clk_get_parent(i2s->clk_i2s); in tegra20_i2s_filter_rates()
423 i2s->clk_i2s = devm_clk_get(&pdev->dev, NULL); in tegra20_i2s_platform_probe()
424 if (IS_ERR(i2s->clk_i2s)) { in tegra20_i2s_platform_probe()
426 ret = PTR_ERR(i2s->clk_i2s); in tegra20_i2s_platform_probe()
Dtegra30_i2s.c45 clk_disable_unprepare(i2s->clk_i2s); in tegra30_i2s_runtime_suspend()
55 ret = clk_prepare_enable(i2s->clk_i2s); in tegra30_i2s_runtime_resume()
71 clk_disable_unprepare(i2s->clk_i2s); in tegra30_i2s_runtime_resume()
168 ret = clk_set_rate(i2s->clk_i2s, i2sclock); in tegra30_i2s_hw_params()
442 i2s->clk_i2s = devm_clk_get(&pdev->dev, NULL); in tegra30_i2s_platform_probe()
443 if (IS_ERR(i2s->clk_i2s)) { in tegra30_i2s_platform_probe()
445 ret = PTR_ERR(i2s->clk_i2s); in tegra30_i2s_platform_probe()
Dtegra210_i2s.c60 err = clk_set_rate(i2s->clk_i2s, clock_rate); in tegra210_i2s_set_clock_rate()
174 clk_disable_unprepare(i2s->clk_i2s); in tegra210_i2s_runtime_suspend()
184 err = clk_prepare_enable(i2s->clk_i2s); in tegra210_i2s_runtime_resume()
893 i2s->clk_i2s = devm_clk_get(dev, "i2s"); in tegra210_i2s_probe()
894 if (IS_ERR(i2s->clk_i2s)) { in tegra210_i2s_probe()
896 return PTR_ERR(i2s->clk_i2s); in tegra210_i2s_probe()
Dtegra210_i2s.h112 struct clk *clk_i2s; member
Dtegra20_i2s.h143 struct clk *clk_i2s; member
Dtegra30_i2s.h227 struct clk *clk_i2s; member
/linux-6.1.9/sound/soc/intel/keembay/
Dkmb_platform.c509 ret = clk_prepare_enable(kmb_i2s->clk_i2s); in kmb_set_dai_fmt()
514 kmb_i2s->clk_i2s); in kmb_set_dai_fmt()
666 ret = clk_set_rate(kmb_i2s->clk_i2s, bitclk); in kmb_dai_hw_params()
864 kmb_i2s->clk_i2s = devm_clk_get(dev, "osc"); in kmb_plat_dai_probe()
865 if (IS_ERR(kmb_i2s->clk_i2s)) { in kmb_plat_dai_probe()
867 return PTR_ERR(kmb_i2s->clk_i2s); in kmb_plat_dai_probe()
Dkmb_platform.h129 struct clk *clk_i2s; member
/linux-6.1.9/arch/arm/boot/dts/
Dstm32h743.dtsi65 clk_i2s: i2s_ckin { label
542 clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>;