Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/clk/imx/
Dclk.c156 static struct clk **imx_uart_clocks; variable
178 imx_uart_clocks = kcalloc(clk_count, sizeof(struct clk *), GFP_KERNEL); in imx_register_uart_clocks()
179 if (!imx_uart_clocks) in imx_register_uart_clocks()
186 imx_uart_clocks[imx_enabled_uart_clocks] = of_clk_get(of_stdout, i); in imx_register_uart_clocks()
189 if (IS_ERR(imx_uart_clocks[imx_enabled_uart_clocks])) in imx_register_uart_clocks()
193 if (imx_uart_clocks[imx_enabled_uart_clocks]) in imx_register_uart_clocks()
194 clk_prepare_enable(imx_uart_clocks[imx_enabled_uart_clocks++]); in imx_register_uart_clocks()
206 clk_disable_unprepare(imx_uart_clocks[i]); in imx_clk_disable_uart()
207 clk_put(imx_uart_clocks[i]); in imx_clk_disable_uart()
209 kfree(imx_uart_clocks); in imx_clk_disable_uart()