Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/clk/imx/
A Dclk.c169 static struct clk **imx_uart_clocks; variable
200 imx_uart_clocks = kcalloc(num, sizeof(struct clk *), GFP_KERNEL); in imx_register_uart_clocks()
201 if (!imx_uart_clocks) in imx_register_uart_clocks()
205 imx_uart_clocks[imx_enabled_uart_clocks] = of_clk_get(of_stdout, i); in imx_register_uart_clocks()
208 if (IS_ERR(imx_uart_clocks[imx_enabled_uart_clocks])) in imx_register_uart_clocks()
212 if (imx_uart_clocks[imx_enabled_uart_clocks]) in imx_register_uart_clocks()
213 clk_prepare_enable(imx_uart_clocks[imx_enabled_uart_clocks++]); in imx_register_uart_clocks()
225 clk_disable_unprepare(imx_uart_clocks[i]); in imx_clk_disable_uart()
226 clk_put(imx_uart_clocks[i]); in imx_clk_disable_uart()
230 kfree(imx_uart_clocks); in imx_clk_disable_uart()

Completed in 5 milliseconds