Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/8250/
D8250_ingenic.c31 struct clk *clk_module; member
257 data->clk_module = devm_clk_get(&pdev->dev, "module"); in ingenic_uart_probe()
258 if (IS_ERR(data->clk_module)) { in ingenic_uart_probe()
259 err = PTR_ERR(data->clk_module); in ingenic_uart_probe()
275 err = clk_prepare_enable(data->clk_module); in ingenic_uart_probe()
300 clk_disable_unprepare(data->clk_module); in ingenic_uart_probe()
310 clk_disable_unprepare(data->clk_module); in ingenic_uart_remove()
/Linux-v5.4/sound/soc/sunxi/
Dsun8i-codec.c90 struct clk *clk_module; member
99 ret = clk_prepare_enable(scodec->clk_module); in sun8i_codec_runtime_resume()
125 clk_disable_unprepare(scodec->clk_module); in sun8i_codec_runtime_resume()
137 clk_disable_unprepare(scodec->clk_module); in sun8i_codec_runtime_suspend()
276 unsigned long clk_rate = clk_get_rate(scodec->clk_module); in sun8i_codec_get_bclk_div()
546 scodec->clk_module = devm_clk_get(&pdev->dev, "mod"); in sun8i_codec_probe()
547 if (IS_ERR(scodec->clk_module)) { in sun8i_codec_probe()
549 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()
1734 scodec->clk_module = devm_clk_get(&pdev->dev, "codec"); in sun4i_codec_probe()
1735 if (IS_ERR(scodec->clk_module)) { in sun4i_codec_probe()
1737 return PTR_ERR(scodec->clk_module); in sun4i_codec_probe()