Home
last modified time | relevance | path

Searched refs:divn (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/arch/arm/mach-uniphier/clk/
H A Dpll-base-ld20.c32 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()
H A Dpll.h15 unsigned int ssc_rate, unsigned int divn);
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dclock.h61 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,
H A Dwarmboot.h73 u32 divn:10; member
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dcpu.c170 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()
H A Dclock.c89 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()
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Dwarmboot.c153 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()
H A Dwarmboot_avp.c168 pllx_base.divn = scratch3.pllx_base_divn; in wb_start()
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/
H A Dclock.c1066 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()
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_fp0_sqrt.S37 divn.s \r, \a, \t1
H A Dtest_fp0_div.S33 divn.s \q, \r, \y
/openbmc/u-boot/drivers/clk/
H A Dclk_stm32h7.c321 u16 divn; member
334 .divn = 80,
400 pll1divr |= (sys_pll_psc.divn - 1); in configure_clocks()
H A Dclk_stm32mp1.c863 int divm, divn; in pll_get_fvco() local
871 divn = cfgr1 & RCC_PLLNCFGR1_DIVN_MASK; in pll_get_fvco()
874 pll_id, cfgr1, fracr, divn, divm); in pll_get_fvco()
887 (((divn + 1) << 13) + fracv), in pll_get_fvco()
890 fvco = (ulong)(refclk * (divn + 1) / (divm + 1)); in pll_get_fvco()
/openbmc/qemu/target/xtensa/core-de233_fpu/
H A Dxtensa-modules.c.inc17710 { "divn.s", ICLASS_DIVN_S,
17713 { "divn.d", ICLASS_DIVN_D,