Searched refs:clk_count (Results 1 – 8 of 8) sorted by relevance
86 u64 clk_count = cvmx_read_csr(clk_reg); in octeon_init_cvmcount() local88 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()
77 unsigned int clk_count; member230 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()
71 unsigned int clk_count; member425 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()
84 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()
109 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()
228 int clk_count; member
758 if (opp_table->clk_count != count) { in _read_rate()760 __func__, count, opp_table->clk_count); in _read_rate()
222 unsigned int clk_count; member282 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