Home
last modified time | relevance | path

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

/sound/soc/sunxi/
Dsun8i-codec.c167 struct clk *clk_module; member
573 ret = (aif->open_streams ? clk_set_rate : clk_set_rate_exclusive)(scodec->clk_module, in sun8i_codec_hw_params()
603 clk_rate_exclusive_put(scodec->clk_module); in sun8i_codec_hw_free()
1247 scodec->clk_module = devm_clk_get(&pdev->dev, "mod"); in sun8i_codec_probe()
1248 if (IS_ERR(scodec->clk_module)) { in sun8i_codec_probe()
1250 return PTR_ERR(scodec->clk_module); in sun8i_codec_probe()
Dsun4i-codec.c239 struct clk *clk_module; member
585 ret = clk_set_rate(scodec->clk_module, clk_freq); in sun4i_codec_hw_params()
631 return clk_prepare_enable(scodec->clk_module); in sun4i_codec_startup()
640 clk_disable_unprepare(scodec->clk_module); in sun4i_codec_shutdown()
1736 scodec->clk_module = devm_clk_get(&pdev->dev, "codec"); in sun4i_codec_probe()
1737 if (IS_ERR(scodec->clk_module)) { in sun4i_codec_probe()
1739 return PTR_ERR(scodec->clk_module); in sun4i_codec_probe()