Searched refs:pll_params (Results 1 – 1 of 1) sorted by relevance
52 struct pll_params { struct71 struct pll_params *pll_params) in stm32_usbphyc_get_pll_params() argument88 pll_params->ndiv = (u8)ndiv; in stm32_usbphyc_get_pll_params()93 pll_params->frac = (u16)frac; in stm32_usbphyc_get_pll_params()98 struct pll_params pll_params; in stm32_usbphyc_pll_init() local108 stm32_usbphyc_get_pll_params(clk_rate, &pll_params); in stm32_usbphyc_pll_init()111 usbphyc_pll |= ((pll_params.ndiv << PLLNDIV_SHIFT) & PLLNDIV); in stm32_usbphyc_pll_init()113 if (pll_params.frac) { in stm32_usbphyc_pll_init()115 usbphyc_pll |= ((pll_params.frac << PLLFRACIN_SHIFT) in stm32_usbphyc_pll_init()122 clk_rate, pll_params.ndiv, pll_params.frac); in stm32_usbphyc_pll_init()
Completed in 2 milliseconds