Home
last modified time | relevance | path

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

/Linux-v6.1/arch/mips/cavium-octeon/
Dcsrc-octeon.c86 u64 clk_count = cvmx_read_csr(clk_reg); in octeon_init_cvmcount() local
88 clk_count *= rdiv; in octeon_init_cvmcount()
92 : [cnt] "+r" (clk_count) in octeon_init_cvmcount()
97 write_c0_cvmcount(clk_count); in octeon_init_cvmcount()
/Linux-v6.1/drivers/clk/imx/
Dclk.c169 void imx_register_uart_clocks(unsigned int clk_count) in imx_register_uart_clocks() argument
178 imx_uart_clocks = kcalloc(clk_count, sizeof(struct clk *), GFP_KERNEL); in imx_register_uart_clocks()
185 for (i = 0; i < clk_count; i++) { in imx_register_uart_clocks()
Dclk.h15 void imx_register_uart_clocks(unsigned int clk_count);
17 static inline void imx_register_uart_clocks(unsigned int clk_count) in imx_register_uart_clocks() argument
/Linux-v6.1/drivers/video/fbdev/
Dsimplefb.c74 unsigned int clk_count; member
227 par->clk_count = of_clk_get_parent_count(np); in simplefb_clocks_get()
228 if (!par->clk_count) in simplefb_clocks_get()
231 par->clks = kcalloc(par->clk_count, sizeof(struct clk *), GFP_KERNEL); in simplefb_clocks_get()
235 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_get()
260 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_enable()
282 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_destroy()
/Linux-v6.1/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()
/Linux-v6.1/drivers/opp/
Ddebugfs.c84 if (opp_table->clk_count == 1) { in opp_debug_create_clks()
89 for (i = 0; i < opp_table->clk_count; i++) { in opp_debug_create_clks()
141 if (likely(opp_table->clk_count == 1 && opp->rates[0])) in opp_debug_create_one()
Dcore.c109 return !WARN_ON(opp_table->clk_count > 1); in assert_single_clk()
857 for (i = opp_table->clk_count - 1; i >= 0; i--) { in dev_pm_opp_config_clks_simple()
866 for (i = 0; i < opp_table->clk_count; i++) { in dev_pm_opp_config_clks_simple()
1382 opp_table->clk_count = 1; in _update_opp_table_clk()
1399 opp_table->clk_count = 1; in _update_opp_table_clk()
1708 clk_size = sizeof(*opp->rates) * opp_table->clk_count; in _opp_allocate()
1722 opp->bandwidth = (struct dev_pm_opp_icc_bw *)(opp->rates + opp_table->clk_count); in _opp_allocate()
1759 for (i = 0; i < opp_table->clk_count; i++) { in _opp_compare_rate()
2219 opp_table->clk_count = count; in _opp_set_clknames()
2261 _put_clks(opp_table, opp_table->clk_count); in _opp_put_clknames()
Dopp.h228 int clk_count; member
Dof.c788 if (opp_table->clk_count != count) { in _read_rate()
790 __func__, count, opp_table->clk_count); in _read_rate()
/Linux-v6.1/drivers/gpu/drm/tiny/
Dsimpledrm.c195 unsigned int clk_count; member
255 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_release_clocks()
275 sdev->clk_count = of_clk_get_parent_count(of_node); in simpledrm_device_init_clocks()
276 if (!sdev->clk_count) in simpledrm_device_init_clocks()
279 sdev->clks = drmm_kzalloc(dev, sdev->clk_count * sizeof(sdev->clks[0]), in simpledrm_device_init_clocks()
284 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_init_clocks()