Home
last modified time | relevance | path

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

/sound/soc/sunxi/
Dsun8i-codec.c186 struct clk *clk_module; member
592 ret = (aif->open_streams ? clk_set_rate : clk_set_rate_exclusive)(scodec->clk_module, in sun8i_codec_hw_params()
622 clk_rate_exclusive_put(scodec->clk_module); in sun8i_codec_hw_free()
1302 scodec->clk_module = devm_clk_get(&pdev->dev, "mod"); in sun8i_codec_probe()
1303 if (IS_ERR(scodec->clk_module)) { in sun8i_codec_probe()
1305 return PTR_ERR(scodec->clk_module); in sun8i_codec_probe()
Dsun4i-codec.c239 struct clk *clk_module; member
568 ret = clk_set_rate(scodec->clk_module, clk_freq); in sun4i_codec_hw_params()
613 return clk_prepare_enable(scodec->clk_module); in sun4i_codec_startup()
622 clk_disable_unprepare(scodec->clk_module); in sun4i_codec_shutdown()
1718 scodec->clk_module = devm_clk_get(&pdev->dev, "codec"); in sun4i_codec_probe()
1719 if (IS_ERR(scodec->clk_module)) { in sun4i_codec_probe()
1721 return PTR_ERR(scodec->clk_module); in sun4i_codec_probe()