lib/sw_apps/zynqmp_pmufw/src/pm_pll.c
static void PmPllRestoreContext(PmPll* const pll)
{
	/* Bypass and reset PLL */
	PmPllBypassAndReset(pll);
	/* Restore register values with reset and bypass asserted */
	XPfw_Write32(pll->addr + PM_PLL_CTRL_OFFSET, pll->context.ctrl |
			PM_PLL_CTRL_RESET_MASK | PM_PLL_CTRL_BYPASS_MASK);
	XPfw_Write32(pll->addr + PM_PLL_CFG_OFFSET, pll->context.cfg);
	XPfw_Write32(pll->addr + PM_PLL_FRAC_OFFSET, pll->context.frac);
	pll->flags &= ~(u8)PM_PLL_CONTEXT_SAVED;
}
/**
 * PmPllRestoreContext() - Restore the context of the PLL
 * @pll		PLL whose context should be restored
 */
Restore the context of the PLL
@pll         PLL whose context should be restored
Restore the context of the PLL @pll PLL whose context should be restored
static void PmPllRestoreContext(PmPll* const pll)
{
	PmPllBypassAndReset(pll);
	XPfw_Write32(pll->addr + PM_PLL_CTRL_OFFSET, pll->context.ctrl |
			PM_PLL_CTRL_RESET_MASK | PM_PLL_CTRL_BYPASS_MASK);
	XPfw_Write32(pll->addr + PM_PLL_CFG_OFFSET, pll->context.cfg);
	XPfw_Write32(pll->addr + PM_PLL_FRAC_OFFSET, pll->context.frac);
	pll->flags &= ~(u8)PM_PLL_CONTEXT_SAVED;
}
static void PmPllRestoreContext ( PmPll * const pll ) { PmPllBypassAndReset ( pll ) ; XPfw_Write32 ( pll -> addr + PM_PLL_CTRL_OFFSET , pll -> context . ctrl | PM_PLL_CTRL_RESET_MASK | PM_PLL_CTRL_BYPASS_MASK ) ; XPfw_Write32 ( pll -> addr + PM_PLL_CFG_OFFSET , pll -> context . cfg ) ; XPfw_Write32 ( pll -> addr + PM_PLL_FRAC_OFFSET , pll -> context . frac ) ; pll -> flags &= ~ ( u8 ) PM_PLL_CONTEXT_SAVED ; }
PmPllRestoreContext() - Restore the context of the PLL
 @pll         PLL whose context should be restored
PmPllRestoreContext () - Restore the context of the PLL @pll PLL whose context should be restored
/* Bypass and reset PLL */ /* Restore register values with reset and bypass asserted */