Searched refs:clk_count (Results 1 – 11 of 11) sorted by relevance
| /drivers/clk/ |
| A D | clk-eyeq.c | 365 unsigned int i, clk_count; in eqc_probe() local 401 clk_count = data->pll_count + data->div_count + in eqc_probe() 403 cells = kzalloc(struct_size(cells, hws, clk_count), GFP_KERNEL); in eqc_probe() 407 cells->num = clk_count; in eqc_probe() 410 for (i = 0; i < clk_count; i++) in eqc_probe() 735 unsigned int i, clk_count; in eqc_early_init() local 739 clk_count = early_data->early_pll_count + early_data->early_fixed_factor_count + in eqc_early_init() 741 cells = kzalloc(struct_size(cells, hws, clk_count), GFP_KERNEL); in eqc_early_init() 747 cells->num = clk_count; in eqc_early_init() 756 for (i = 0; i < clk_count; i++) in eqc_early_init()
|
| /drivers/video/fbdev/ |
| A D | simplefb.c | 79 unsigned int clk_count; member 246 par->clk_count = of_clk_get_parent_count(np); in simplefb_clocks_get() 247 if (!par->clk_count) in simplefb_clocks_get() 250 par->clks = kcalloc(par->clk_count, sizeof(struct clk *), GFP_KERNEL); in simplefb_clocks_get() 254 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_get() 279 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_enable() 301 for (i = 0; i < par->clk_count; i++) { in simplefb_clocks_destroy()
|
| /drivers/opp/ |
| A D | debugfs.c | 86 if (opp_table->clk_count == 1) { in opp_debug_create_clks() 91 for (i = 0; i < opp_table->clk_count; i++) { in opp_debug_create_clks() 143 if (likely(opp_table->clk_count == 1 && opp->rates[0])) in opp_debug_create_one()
|
| A D | core.c | 97 return !WARN_ON(opp_table->clk_count > 1); in assert_single_clk() 106 return opp_table->clk_count > index; in assert_clk_index() 224 if (IS_ERR_OR_NULL(opp) || index >= opp->opp_table->clk_count) { in dev_pm_opp_get_freq_indexed() 996 for (i = opp_table->clk_count - 1; i >= 0; i--) { in dev_pm_opp_config_clks_simple() 1005 for (i = 0; i < opp_table->clk_count; i++) { in dev_pm_opp_config_clks_simple() 1499 opp_table->clk_count = 1; in _update_opp_table_clk() 1516 opp_table->clk_count = 1; in _update_opp_table_clk() 1808 clk_size = sizeof(*opp->rates) * opp_table->clk_count; in _opp_allocate() 1861 for (i = 0; i < opp_table->clk_count; i++) { in _opp_compare_rate() 2282 opp_table->clk_count = count; in _opp_set_clknames() [all …]
|
| A D | opp.h | 237 int clk_count; member
|
| A D | of.c | 729 if (opp_table->clk_count != count) { in _read_rate() 731 __func__, count, opp_table->clk_count); in _read_rate()
|
| /drivers/gpu/drm/sysfb/ |
| A D | simpledrm.c | 213 unsigned int clk_count; member 265 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_release_clocks() 285 sdev->clk_count = of_clk_get_parent_count(of_node); in simpledrm_device_init_clocks() 286 if (!sdev->clk_count) in simpledrm_device_init_clocks() 289 sdev->clks = drmm_kzalloc(dev, sdev->clk_count * sizeof(sdev->clks[0]), in simpledrm_device_init_clocks() 294 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_init_clocks()
|
| /drivers/media/platform/qcom/iris/ |
| A D | iris_core.h | 84 u32 clk_count; member
|
| A D | iris_resources.c | 99 for (j = 0; core->clock_tbl && j < core->clk_count; j++) { in iris_get_clk_by_type()
|
| A D | iris_probe.c | 89 core->clk_count = ret; in iris_init_clocks()
|
| /drivers/tty/serial/8250/ |
| A D | 8250_mtk.c | 71 unsigned int clk_count; member 542 data->clk_count = 0; in mtk8250_probe()
|
Completed in 31 milliseconds