Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/mips/cavium-octeon/
A 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-6.3-rc2/drivers/video/fbdev/
A Dsimplefb.c77 unsigned int clk_count; member
230 par->clk_count = of_clk_get_parent_count(np); in simplefb_clocks_get()
231 if (!par->clk_count) in simplefb_clocks_get()
234 par->clks = kcalloc(par->clk_count, sizeof(struct clk *), GFP_KERNEL); in simplefb_clocks_get()
238 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_get()
263 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_enable()
285 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_destroy()
/linux-6.3-rc2/drivers/tty/serial/8250/
A 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-6.3-rc2/drivers/opp/
A 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()
A 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()
A Dopp.h228 int clk_count; member
A Dof.c758 if (opp_table->clk_count != count) { in _read_rate()
760 __func__, count, opp_table->clk_count); in _read_rate()
/linux-6.3-rc2/drivers/gpu/drm/tiny/
A Dsimpledrm.c222 unsigned int clk_count; member
282 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_release_clocks()
302 sdev->clk_count = of_clk_get_parent_count(of_node); in simpledrm_device_init_clocks()
303 if (!sdev->clk_count) in simpledrm_device_init_clocks()
306 sdev->clks = drmm_kzalloc(dev, sdev->clk_count * sizeof(sdev->clks[0]), in simpledrm_device_init_clocks()
311 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_init_clocks()

Completed in 24 milliseconds