Home
last modified time | relevance | path

Searched refs:vco_min (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c166 unsigned vco_min, vco_max; in amdgpu_pll_compute() local
169 vco_min = pll->lcd_pll_out_min; in amdgpu_pll_compute()
172 vco_min = pll->pll_out_min; in amdgpu_pll_compute()
177 vco_min *= 10; in amdgpu_pll_compute()
181 post_div_min = vco_min / target_clock; in amdgpu_pll_compute()
182 if ((target_clock * post_div_min) < vco_min) in amdgpu_pll_compute()
H A Dsi.c1715 unsigned vco_min, unsigned vco_max, in si_calc_upll_dividers() argument
1729 vco_min = max(max(vco_min, vclk), dclk); in si_calc_upll_dividers()
1730 for (vco_freq = vco_min; vco_freq <= vco_max; vco_freq += 100) { in si_calc_upll_dividers()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-pll.c1231 p = DIV_ROUND_UP(pll->params->vco_min, rate); in _calc_dynamic_ramp_rate()
1261 static unsigned long _clip_vco_min(unsigned long vco_min, in _clip_vco_min() argument
1264 return DIV_ROUND_UP(vco_min, parent_rate) * parent_rate; in _clip_vco_min()
2065 pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); in tegra_clk_register_pllxc()
2068 pll_params->vco_min = pll_params->adjust_vco(pll_params, in tegra_clk_register_pllxc()
2116 pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); in tegra_clk_register_pllre()
2119 pll_params->vco_min = pll_params->adjust_vco(pll_params, in tegra_clk_register_pllre()
2137 val |= (pll_params->vco_min / parent_rate) << divn_shift(pll); in tegra_clk_register_pllre()
2177 pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); in tegra_clk_register_pllm()
2180 pll_params->vco_min = pll_params->adjust_vco(pll_params, in tegra_clk_register_pllm()
[all …]
H A Dclk-tegra124.c186 .vco_min = 700000000,
220 .vco_min = 600000000,
274 .vco_min = 600000000,
296 .vco_min = 600000000,
355 .vco_min = 600000000,
418 .vco_min = 400000000,
475 .vco_min = 1600000000,
514 .vco_min = 300000000,
551 .vco_min = 200000000,
580 .vco_min = 200000000,
[all …]
H A Dclk-tegra114.c182 .vco_min = 600000000,
233 .vco_min = 600000000,
255 .vco_min = 600000000,
304 .vco_min = 400000000,
344 .vco_min = 200000000,
374 .vco_min = 200000000,
410 .vco_min = 500000000,
428 .vco_min = 500000000,
470 .vco_min = 480000000,
499 .vco_min = 700000000,
[all …]
H A Dclk-tegra210.c1492 p = DIV_ROUND_UP(params->vco_min, rate); in tegra210_pll_fixed_mdiv_cfg()
1495 p = rate >= params->vco_min ? 1 : -EINVAL; in tegra210_pll_fixed_mdiv_cfg()
1558 unsigned long vco_min = params->vco_min; in tegra210_clk_adjust_vco_min() local
1560 params->vco_min += DIV_ROUND_UP(parent_rate, PLL_SDM_COEFF); in tegra210_clk_adjust_vco_min()
1561 vco_min = min(vco_min, params->vco_min); in tegra210_clk_adjust_vco_min()
1563 return vco_min; in tegra210_clk_adjust_vco_min()
1658 .vco_min = 1350000000,
1709 .vco_min = 600000000,
1748 .vco_min = 600000000,
1778 .vco_min = 600000000,
[all …]
H A Dclk-tegra30.c357 .vco_min = 20000000,
386 .vco_min = 20000000,
407 .vco_min = 20000000,
425 .vco_min = 20000000,
442 .vco_min = 40000000,
459 .vco_min = 40000000,
476 .vco_min = 48000000,
494 .vco_min = 20000000,
513 .vco_min = 1200000000,
H A Dclk-tegra20.c282 .vco_min = 20000000,
298 .vco_min = 20000000,
314 .vco_min = 20000000,
332 .vco_min = 20000000,
348 .vco_min = 40000000,
370 .vco_min = 48000000,
387 .vco_min = 20000000,
405 .vco_min = 0,
H A Dclk.h305 unsigned long vco_min; member
/openbmc/linux/drivers/clk/versatile/
H A Dclk-versatile.c25 .vco_min = ICST525_VCO_MIN,
42 .vco_min = ICST307_VCO_MIN,
H A Dclk-icst.c412 .vco_min = ICST525_VCO_MIN,
423 .vco_min = ICST307_VCO_MIN,
438 .vco_min = ICST525_VCO_MIN,
456 .vco_min = ICST525_VCO_MIN,
470 .vco_min = ICST525_VCO_MIN,
H A Dclk-impd1.c29 .vco_min = ICST525_VCO_MIN,
47 .vco_min = ICST525_VCO_MIN,
H A Dicst.h15 unsigned long vco_min; /* exclusive */ member
H A Dicst.c60 if (f > p->vco_min && f <= p->vco_max) in icst_hz_to_vco()
/openbmc/linux/drivers/clk/
H A Dclk-versaclock3.c154 unsigned long vco_min; member
390 if (rate < pll->vco_min) in vc3_pll_round_rate()
391 rate = pll->vco_min; in vc3_pll_round_rate()
697 .vco_min = VC3_PLL1_VCO_MIN,
715 .vco_min = VC3_PLL2_VCO_MIN,
733 .vco_min = VC3_PLL3_VCO_MIN,
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c951 unsigned vco_min, unsigned vco_max, in radeon_uvd_calc_upll_dividers() argument
965 vco_min = max(max(vco_min, vclk), dclk); in radeon_uvd_calc_upll_dividers()
966 for (vco_freq = vco_min; vco_freq <= vco_max; vco_freq += 100) { in radeon_uvd_calc_upll_dividers()
H A Dradeon_display.c1002 unsigned vco_min, vco_max; in radeon_compute_pll_avivo() local
1005 vco_min = pll->lcd_pll_out_min; in radeon_compute_pll_avivo()
1008 vco_min = pll->pll_out_min; in radeon_compute_pll_avivo()
1013 vco_min *= 10; in radeon_compute_pll_avivo()
1017 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo()
1018 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo()
H A Dradeon.h1694 unsigned vco_min, unsigned vco_max,
/openbmc/linux/drivers/media/tuners/
H A Dr820t.c545 u32 vco_min = 1770000; in r820t_set_pll() local
546 u32 vco_max = vco_min * 2; in r820t_set_pll()
596 if (((freq * mix_div) >= vco_min) && in r820t_set_pll()