Searched refs:pll_params (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/clk/tegra/ |
| H A D | clk-pll.c | 1207 static int _pll_fixed_mdiv(struct tegra_clk_pll_params *pll_params, in _pll_fixed_mdiv() argument 1210 u16 mdiv = parent_rate / pll_params->cf_min; in _pll_fixed_mdiv() 1212 if (pll_params->flags & TEGRA_MDIV_NEW) in _pll_fixed_mdiv() 1213 return (!pll_params->mdiv_default ? mdiv : in _pll_fixed_mdiv() 1214 min(mdiv, pll_params->mdiv_default)); in _pll_fixed_mdiv() 1216 if (pll_params->mdiv_default) in _pll_fixed_mdiv() 1217 return pll_params->mdiv_default; in _pll_fixed_mdiv() 1219 if (parent_rate > pll_params->cf_max) in _pll_fixed_mdiv() 1272 static int _setup_dynamic_ramp(struct tegra_clk_pll_params *pll_params, in _setup_dynamic_ramp() argument 1301 val = step_a << pll_params->stepa_shift; in _setup_dynamic_ramp() [all …]
|
| H A D | clk.h | 344 unsigned long (*adjust_vco)(struct tegra_clk_pll_params *pll_params, 397 struct tegra_clk_pll_params *pll_params; member 406 unsigned long flags, struct tegra_clk_pll_params *pll_params, 411 unsigned long flags, struct tegra_clk_pll_params *pll_params, 417 struct tegra_clk_pll_params *pll_params, 423 struct tegra_clk_pll_params *pll_params, 429 struct tegra_clk_pll_params *pll_params, 435 struct tegra_clk_pll_params *pll_params, 441 struct tegra_clk_pll_params *pll_params, 447 struct tegra_clk_pll_params *pll_params, [all …]
|
| H A D | clk-tegra-periph.c | 941 struct tegra_clk_pll_params *pll_params) in init_pllp() argument 951 pmc_base, 0, pll_params, NULL); in init_pllp() 1024 struct tegra_clk_pll_params *pll_params) in tegra_periph_clk_init() argument 1026 init_pllp(clk_base, pmc_base, tegra_clks, pll_params); in tegra_periph_clk_init()
|
| H A D | clk-tegra-audio.c | 184 clk_base, pmc_base, 0, info->pll_params, in tegra_audio_clk_init()
|
| /linux/drivers/phy/st/ |
| H A D | phy-stm32-usbphyc.c | 131 struct pll_params { struct 205 struct pll_params *pll_params) in stm32_usbphyc_get_pll_params() argument 223 pll_params->ndiv = (u8)ndiv; in stm32_usbphyc_get_pll_params() 228 pll_params->frac = (u16)frac; in stm32_usbphyc_get_pll_params() 233 struct pll_params pll_params; in stm32_usbphyc_pll_init() local 245 stm32_usbphyc_get_pll_params(clk_rate, &pll_params); in stm32_usbphyc_pll_init() 246 ndiv = FIELD_PREP(PLLNDIV, pll_params.ndiv); in stm32_usbphyc_pll_init() 247 frac = FIELD_PREP(PLLFRACIN, pll_params.frac); in stm32_usbphyc_pll_init() 251 if (pll_params.frac) in stm32_usbphyc_pll_init()
|