Searched refs:ndiv (Results 1 - 5 of 5) sorted by relevance

/u-boot/drivers/video/stm32/
H A Dstm32_dsi.c143 static int dsi_pll_get_clkout_khz(int clkin_khz, int idf, int ndiv, int odf) argument
151 return DIV_ROUND_CLOSEST(clkin_khz * ndiv, divisor);
156 int *idf, int *ndiv, int *odf)
171 /* Compute ndiv range according to Fvco */
175 /* No need to continue idf loop if we reach ndiv max */
179 /* Clamp ndiv to valid values */
187 /* Check ndiv according to vco range */
197 *ndiv = n;
271 int idf, ndiv, odf, pll_in_khz, pll_out_khz; local
301 ndiv
154 dsi_pll_get_params(struct stm32_dsi_priv *dsi, int clkin_khz, int clkout_khz, int *idf, int *ndiv, int *odf) argument
[all...]
/u-boot/drivers/phy/
H A Dphy-stm32-usbphyc.c138 u8 ndiv; member in struct:pll_params
159 unsigned long long fvco, ndiv, frac; local
172 ndiv = fvco;
173 do_div(ndiv, (clk_rate * 2));
174 pll_params->ndiv = (u8)ndiv;
178 frac = frac - (ndiv * (1 << 16));
197 usbphyc_pll |= ((pll_params.ndiv << PLLNDIV_SHIFT) & PLLNDIV);
207 log_debug("input clk freq=%dHz, ndiv=%d, frac=%d\n",
208 clk_rate, pll_params.ndiv, pll_param
[all...]
/u-boot/drivers/i2c/
H A Docteon_i2c.c616 int ndiv, mdiv; local
637 for (ndiv = 0; ndiv < 8; ndiv++) {
638 fsamp = tclk / (1 << ndiv);
646 *n_div = ndiv;
/u-boot/drivers/cpu/
H A Dbmips_cpu.c245 unsigned int tmp, p1, p2, ndiv, m1; local
250 ndiv = (tmp & DMIPSPLLCFG_6368_NDIV_MASK) >>
256 return (((64 * 1000000) / p1) * p2 * ndiv) / m1;
/u-boot/arch/arm/include/asm/arch-tegra/
H A Dbpmp_abi.h1369 /** table of ndiv values as a function of vINDEX (voltage index) */
1370 uint16_t ndiv[80]; member in struct:cpu_vhint_data

Completed in 103 milliseconds