Home
last modified time | relevance | path

Searched refs:CGU_PLL_CTRL_ODIV_SHIFT (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/clk/
H A Dclk-hsdk-pll.c23 #define CGU_PLL_CTRL_ODIV_SHIFT 2 macro
28 #define CGU_PLL_CTRL_ODIV_MASK GENMASK(3, CGU_PLL_CTRL_ODIV_SHIFT)
143 val |= cfg->odiv << CGU_PLL_CTRL_ODIV_SHIFT; in hsdk_pll_set_cfg()
192 odiv = 1 << ((val & CGU_PLL_CTRL_ODIV_MASK) >> CGU_PLL_CTRL_ODIV_SHIFT); in hsdk_pll_recalc_rate()
/openbmc/u-boot/drivers/clk/
H A Dclk-hsdk-cgu.c97 #define CGU_PLL_CTRL_ODIV_SHIFT 2 macro
102 #define CGU_PLL_CTRL_ODIV_MASK GENMASK(3, CGU_PLL_CTRL_ODIV_SHIFT)
351 val |= cfg->odiv << CGU_PLL_CTRL_ODIV_SHIFT; in hsdk_pll_set_cfg()
393 odiv = 1 << ((val & CGU_PLL_CTRL_ODIV_MASK) >> CGU_PLL_CTRL_ODIV_SHIFT); in pll_get()