Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/serial/8250/
D8250_ingenic.c31 struct clk *clk_module; member
261 data->clk_module = devm_clk_get(&pdev->dev, "module"); in ingenic_uart_probe()
262 if (IS_ERR(data->clk_module)) in ingenic_uart_probe()
263 return dev_err_probe(&pdev->dev, PTR_ERR(data->clk_module), in ingenic_uart_probe()
271 err = clk_prepare_enable(data->clk_module); in ingenic_uart_probe()
296 clk_disable_unprepare(data->clk_module); in ingenic_uart_probe()
306 clk_disable_unprepare(data->clk_module); in ingenic_uart_remove()
/Linux-v5.10/sound/soc/sunxi/
Dsun8i-codec.c105 struct clk *clk_module; member
269 unsigned long clk_rate = clk_get_rate(scodec->clk_module); in sun8i_codec_get_bclk_div()
686 scodec->clk_module = devm_clk_get(&pdev->dev, "mod"); in sun8i_codec_probe()
687 if (IS_ERR(scodec->clk_module)) { in sun8i_codec_probe()
689 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()