Searched refs:imx_uart_clocks (Results 1 - 1 of 1) sorted by last modified time

/linux-master/drivers/clk/imx/
H A Dclk.c161 static struct clk **imx_uart_clocks; variable in typeref:struct:clk
192 imx_uart_clocks = kcalloc(num, sizeof(struct clk *), GFP_KERNEL);
193 if (!imx_uart_clocks)
197 imx_uart_clocks[imx_enabled_uart_clocks] = of_clk_get(of_stdout, i);
200 if (IS_ERR(imx_uart_clocks[imx_enabled_uart_clocks]))
204 if (imx_uart_clocks[imx_enabled_uart_clocks])
205 clk_prepare_enable(imx_uart_clocks[imx_enabled_uart_clocks++]);
217 clk_disable_unprepare(imx_uart_clocks[i]);
218 clk_put(imx_uart_clocks[i]);
222 kfree(imx_uart_clocks);
[all...]

Completed in 270 milliseconds