Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dsimplefb.c182 unsigned int clk_count; member
221 par->clk_count = of_clk_get_parent_count(np); in simplefb_clocks_get()
222 if (!par->clk_count) in simplefb_clocks_get()
225 par->clks = kcalloc(par->clk_count, sizeof(struct clk *), GFP_KERNEL); in simplefb_clocks_get()
229 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_get()
255 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_enable()
277 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_destroy()
/drivers/clk/imx/
Dclk.c166 void imx_register_uart_clocks(unsigned int clk_count) in imx_register_uart_clocks() argument
175 imx_uart_clocks = kcalloc(clk_count, sizeof(struct clk *), GFP_KERNEL); in imx_register_uart_clocks()
180 for (i = 0; i < clk_count; i++) { in imx_register_uart_clocks()
Dclk.h14 void imx_register_uart_clocks(unsigned int clk_count);
16 static inline void imx_register_uart_clocks(unsigned int clk_count) in imx_register_uart_clocks() argument
/drivers/tty/serial/8250/
D8250_mtk.c71 unsigned int clk_count; member
425 if (data->clk_count == 0U) { in mtk8250_runtime_suspend()
429 data->clk_count--; in mtk8250_runtime_suspend()
440 if (data->clk_count > 0U) { in mtk8250_runtime_resume()
442 data->clk_count); in mtk8250_runtime_resume()
449 data->clk_count++; in mtk8250_runtime_resume()
547 data->clk_count = 0; in mtk8250_probe()
/drivers/gpu/drm/tiny/
Dsimpledrm.c204 unsigned int clk_count; member
263 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_release_clocks()
283 sdev->clk_count = of_clk_get_parent_count(of_node); in simpledrm_device_init_clocks()
284 if (!sdev->clk_count) in simpledrm_device_init_clocks()
287 sdev->clks = drmm_kzalloc(dev, sdev->clk_count * sizeof(sdev->clks[0]), in simpledrm_device_init_clocks()
292 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_init_clocks()