Searched refs:clk_count (Results 1 – 12 of 12) sorted by relevance
/linux/arch/mips/cavium-octeon/ |
H A D | csrc-octeon.c | 86 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/drivers/clk/ |
H 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; in eqc_early_init() [all...] |
/linux/drivers/video/fbdev/ |
H 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()
|
/linux/drivers/opp/ |
H 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()
|
H A D | core.c | 90 * We don't force clk_count == 1 here as there are users who don't have a clock 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() 1513 * i.e. make the clk_count 1, which lets us allocate space for 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() [all...] |
H A D | opp.h | 187 * @clk_count: Number of clocks. 237 int clk_count; member
|
H A D | of.c | 729 if (opp_table->clk_count != count) { in _read_rate() 730 pr_err("%s: Count mismatch between opp-hz and clk_count (%d %d)\n", in _read_rate() 731 __func__, count, opp_table->clk_count); in _read_rate()
|
/linux/drivers/gpu/drm/sysfb/ |
H 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()
|
/linux/drivers/media/platform/qcom/iris/ |
H A D | iris_core.h | 44 * @clk_count: count of iris clocks 84 u32 clk_count; member
|
H A D | iris_resources.c | 99 for (j = 0; core->clock_tbl && j < core->clk_count; j++) { in iris_get_clk_by_type()
|
H A D | iris_probe.c | 89 core->clk_count = ret; in iris_init_clocks()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_mtk.c | 71 unsigned int clk_count; member 542 data->clk_count = 0; in mtk8250_probe()
|