Searched refs:odiv (Results 1 – 2 of 2) sorted by relevance
97 u32 iclk, idiv, odiv, mult; in pic32_get_pll_rate() local103 odiv = ((v >> 24) & PLLODIV_MASK); in pic32_get_pll_rate()108 if (odiv < 2) in pic32_get_pll_rate()109 odiv = 2; in pic32_get_pll_rate()110 else if (odiv < 5) in pic32_get_pll_rate()111 odiv = (1 << odiv); in pic32_get_pll_rate()113 odiv = 32; in pic32_get_pll_rate()115 return ((plliclk / idiv) * mult) / odiv; in pic32_get_pll_rate()
197 const u8 odiv; member405 val |= (u32)cfg->odiv << CGU_PLL_CTRL_ODIV_SHIFT; in hsdk_pll_set_cfg()427 u32 idiv, fbdiv, odiv; in pll_get() local448 odiv = 1 << ((val & CGU_PLL_CTRL_ODIV_MASK) >> CGU_PLL_CTRL_ODIV_SHIFT); in pll_get()451 do_div(rate, idiv * odiv); in pll_get()
Completed in 5 milliseconds