Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/8250/
D8250_ingenic.c30 struct clk *clk_module; member
283 data->clk_module = devm_clk_get(&pdev->dev, "module"); in ingenic_uart_probe()
284 if (IS_ERR(data->clk_module)) in ingenic_uart_probe()
285 return dev_err_probe(&pdev->dev, PTR_ERR(data->clk_module), in ingenic_uart_probe()
293 err = clk_prepare_enable(data->clk_module); in ingenic_uart_probe()
318 clk_disable_unprepare(data->clk_module); in ingenic_uart_probe()
328 clk_disable_unprepare(data->clk_module); in ingenic_uart_remove()
/Linux-v6.6/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()
1722 scodec->clk_module = devm_clk_get(&pdev->dev, "codec"); in sun4i_codec_probe()
1723 if (IS_ERR(scodec->clk_module)) { in sun4i_codec_probe()
1725 return PTR_ERR(scodec->clk_module); in sun4i_codec_probe()