/external/elfutils/lib/ |
D | next_prime.c | 38 size_t divn = 3; in is_prime() local 39 size_t sq = divn * divn; in is_prime() 41 while (sq < candidate && candidate % divn != 0) in is_prime() 44 ++divn; in is_prime() 45 sq += 4 * divn; in is_prime() 48 ++divn; in is_prime() 51 return candidate % divn != 0; in is_prime()
|
/external/u-boot/arch/arm/mach-uniphier/clk/ |
D | pll-base-ld20.c | 32 unsigned int ssc_rate, unsigned int divn) in uniphier_ld20_sscpll_init() argument 46 divn * 512)); in uniphier_ld20_sscpll_init() 53 divn * 512)); in uniphier_ld20_sscpll_init()
|
D | pll.h | 15 unsigned int ssc_rate, unsigned int divn);
|
/external/u-boot/arch/arm/include/asm/arch-tegra/ |
D | clock.h | 61 unsigned long clock_start_pll(enum clock_id id, u32 divm, u32 divn, 88 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn,
|
D | warmboot.h | 73 u32 divn:10; member
|
/external/u-boot/arch/arm/mach-tegra/ |
D | cpu.c | 170 int pllx_set_rate(struct clk_pll_simple *pll , u32 divn, u32 divm, in pllx_set_rate() argument 188 reg |= (divn << pllinfo->n_shift) | (divp << pllinfo->p_shift); in pllx_set_rate() 202 if (divn > 600) in pllx_set_rate()
|
D | clock.c | 89 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn, in clock_ll_read_pll() argument 103 *divn = (data >> pllinfo->n_shift) & pllinfo->n_mask; in clock_ll_read_pll() 113 unsigned long clock_start_pll(enum clock_id clkid, u32 divm, u32 divn, in clock_start_pll() argument 147 data = (divm << pllinfo->m_shift) | (divn << pllinfo->n_shift); in clock_start_pll()
|
/external/u-boot/arch/arm/mach-tegra/tegra20/ |
D | warmboot.c | 153 u32 divm, divn, divp, cpcon, lfcon; in warmboot_save_sdram_params() local 155 if (clock_ll_read_pll(CLOCK_ID_MEMORY, &divm, &divn, &divp, in warmboot_save_sdram_params() 159 scratch2.pllm_base_divn = divn; in warmboot_save_sdram_params()
|
D | warmboot_avp.c | 168 pllx_base.divn = scratch3.pllx_base_divn; in wb_start()
|
/external/u-boot/arch/arm/mach-tegra/tegra124/ |
D | clock.c | 1066 u32 divm, divn, divp, cpcon; in clock_set_display_rate() local 1093 divn = vco / cf; in clock_set_display_rate() 1094 if (divn >= max_n) in clock_set_display_rate() 1097 diff = vco - divn * cf; in clock_set_display_rate() 1098 if (divn + 1 < max_n && diff > cf / 2) { in clock_set_display_rate() 1099 divn++; in clock_set_display_rate() 1108 best_n = divn; in clock_set_display_rate()
|
/external/u-boot/drivers/clk/ |
D | clk_stm32h7.c | 321 u16 divn; member 334 .divn = 80, 400 pll1divr |= (sys_pll_psc.divn - 1); in configure_clocks()
|
D | clk_stm32mp1.c | 814 int divm, divn, divy, src; in stm32mp1_read_pll_freq() local 835 divn = cfgr1 & RCC_PLLNCFGR1_DIVN_MASK; in stm32mp1_read_pll_freq() 838 debug(" DIVN=%d DIVM=%d DIVY=%d\n", divn, divm, divy); in stm32mp1_read_pll_freq() 858 (((divn + 1) << 13) + fracv), in stm32mp1_read_pll_freq() 862 dfout = (ulong)(refclk * (divn + 1) / (divm + 1) * (divy + 1)); in stm32mp1_read_pll_freq()
|