lib/sw_apps/zynqmp_pmufw/src/pm_proc.c
static s32 PmProcTrActiveToSuspend(PmProc* const proc)
{
	s32 status;

	PmInfo("%s active->susp\r\n", proc->node.name);

	ENABLE_WFI(proc->mask);
	PmNodeUpdateCurrState(&proc->node, PM_PROC_STATE_SUSPENDING);
	status = PmMasterFsm(proc->master, PM_MASTER_EVENT_SELF_SUSPEND);

	return status;
}
/**
 * PmProcTrActiveToSuspend() - FSM transition from active to suspend state
 * @proc    Pointer to processor whose FSM is changing state
 *
 * @return  Operation status
 *          - XST_SUCCESS is always returned as this transition cannot fail
 *
 * @note    Executes when processor's request for self suspend gets processed.
 */
FSM transition from active to suspend state
@proc    Pointer to processor whose FSM is changing state

@return  Operation status
- XST_SUCCESS is always returned as this transition cannot fail

@note    Executes when processor's request for self suspend gets processed.
FSM transition from active to suspend state @proc Pointer to processor whose FSM is changing state @return Operation status - XST_SUCCESS is always returned as this transition cannot fail @note Executes when processor ' s request for self suspend gets processed .
static s32 PmProcTrActiveToSuspend(PmProc* const proc)
{
	s32 status;
	PmInfo("%s active->susp\r\n", proc->node.name);
	ENABLE_WFI(proc->mask);
	PmNodeUpdateCurrState(&proc->node, PM_PROC_STATE_SUSPENDING);
	status = PmMasterFsm(proc->master, PM_MASTER_EVENT_SELF_SUSPEND);
	return status;
}
static s32 PmProcTrActiveToSuspend ( PmProc * const proc ) { s32 status ; PmInfo ( " \r \n " , proc -> node . name ) ; ENABLE_WFI ( proc -> mask ) ; PmNodeUpdateCurrState ( & proc -> node , PM_PROC_STATE_SUSPENDING ) ; status = PmMasterFsm ( proc -> master , PM_MASTER_EVENT_SELF_SUSPEND ) ; return status ; }
PmProcTrActiveToSuspend() - FSM transition from active to suspend state
 @proc    Pointer to processor whose FSM is changing state
PmProcTrActiveToSuspend () - FSM transition from active to suspend state @proc Pointer to processor whose FSM is changing state