Home
last modified time | relevance | path

Searched refs:postdiv2 (Results 1 – 5 of 5) sorted by relevance

/rk3399_ARM-atf/plat/rockchip/rk3568/drivers/scmi/
H A Drk3568_clk.c133 uint32_t postdiv2; member
146 .postdiv2 = _postdiv2, \
322 (div->postdiv2 << RK3568_PLLCON1_POSTDIV2_SHIFT)); in rk3568_apll_set_rate()
349 unsigned int fbdiv, postdiv1, refdiv, postdiv2; in rk3568_apll_get_rate() local
368 postdiv2 = (mmio_read_32(CRU_BASE + RK3568_PLLCON(1)) >> in rk3568_apll_get_rate()
375 rate64 = rate64 / postdiv2; in rk3568_apll_get_rate()
/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/dram/
H A Ddfs.c28 {.mhz = 928, .refdiv = 1, .fbdiv = 116, .postdiv1 = 3, .postdiv2 = 1},
29 {.mhz = 800, .refdiv = 1, .fbdiv = 100, .postdiv1 = 3, .postdiv2 = 1},
30 {.mhz = 732, .refdiv = 1, .fbdiv = 61, .postdiv1 = 2, .postdiv2 = 1},
31 {.mhz = 666, .refdiv = 1, .fbdiv = 111, .postdiv1 = 4, .postdiv2 = 1},
32 {.mhz = 600, .refdiv = 1, .fbdiv = 50, .postdiv1 = 2, .postdiv2 = 1},
33 {.mhz = 528, .refdiv = 1, .fbdiv = 66, .postdiv1 = 3, .postdiv2 = 1},
34 {.mhz = 400, .refdiv = 1, .fbdiv = 50, .postdiv1 = 3, .postdiv2 = 1},
35 {.mhz = 300, .refdiv = 1, .fbdiv = 50, .postdiv1 = 4, .postdiv2 = 1},
36 {.mhz = 200, .refdiv = 1, .fbdiv = 50, .postdiv1 = 3, .postdiv2 = 2},
1714 uint32_t refdiv, postdiv1, fbdiv, postdiv2; in ddr_get_rate() local
[all …]
H A Dsuspend.c700 uint32_t refdiv, postdiv2, postdiv1, fbdiv; in dmc_suspend() local
713 postdiv2 = POSTDIV2_DEC(dpll_data[1]); in dmc_suspend()
718 (refdiv * postdiv1 * postdiv2)) * MHz; in dmc_suspend()
/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/soc/
H A Dsoc.h128 uint32_t postdiv2; member
/rk3399_ARM-atf/drivers/st/clk/
H A Dclk-stm32mp2.c889 uint32_t postdiv1, postdiv2; in clk_stm32_pll_recalc_rate() local
892 postdiv2 = mmio_read_32(pllxcfgr7) & RCC_PLLxCFGR7_POSTDIV2_MASK; in clk_stm32_pll_recalc_rate()
897 if ((postdiv1 == 0U) || (postdiv2 == 0U)) { in clk_stm32_pll_recalc_rate()
900 dfout = clk_get_pll_fvco(priv, pll, prate) / (postdiv1 * postdiv2); in clk_stm32_pll_recalc_rate()
941 uint32_t postdiv1, postdiv2; in clk_stm32_pll1_recalc_rate() local
946 postdiv2 = (mmio_read_32(pll_freq2_reg) & A35_SS_PLL_FREQ2_POSTDIV2_MASK) >> in clk_stm32_pll1_recalc_rate()
949 if ((postdiv1 == 0U) || (postdiv2 == 0U)) { in clk_stm32_pll1_recalc_rate()
952 dfout = clk_get_pll1_fvco(prate) / (postdiv1 * postdiv2); in clk_stm32_pll1_recalc_rate()
1601 uint32_t postdiv2) in stm32mp2_a35_pll1_config() argument
1620 (postdiv2 << A35_SS_PLL_FREQ2_POSTDIV2_SHIFT) & in stm32mp2_a35_pll1_config()