lib/sw_apps/zynqmp_pmufw/src/pm_binding.c
s32 XPfw_PmIpiHandler(const u32 IsrMask, const u32* Payload, u8 Len)
{
	s32 status = XST_SUCCESS;
	PmMaster* master = PmGetMasterByIpiMask(IsrMask);

	if ((NULL == Payload) || (NULL == master) || (Len < PAYLOAD_ELEM_CNT)) {
		/* Never happens if IPI irq handler is implemented correctly */
		PmErr("Unknown IPI %lu\r\n", IsrMask);
		status = XST_INVALID_PARAM;
		goto done;
	}

	PmProcessRequest(master, Payload);

done:
	return status;
}
/**
 * XPfw_PmIpiHandler() - Call from IPI interrupt handler to process PM API call
 * @IsrMask IPI's ISR register value. Needed to determine the source master
 *
 * @Payload  Pointer to IPI Payload
 *
 * @Len Size of the payload in words
 *
 * @return  Status of the processing IPI
 *          - XST_INVALID_PARAM if input parameters have invalid value
 *          - XST_SUCCESS otherwise
 *          - Note that if request is processed, firmware is not receiving any
 *            status of processing information. Processing status is returned to
 *            the master which initiated communication through IPI.
 *
 */
Call from IPI interrupt handler to process PM API call
@IsrMask IPI's ISR register value. Needed to determine the source master

@Payload  Pointer to IPI Payload

@Len Size of the payload in words

@return  Status of the processing IPI
- XST_INVALID_PARAM if input parameters have invalid value
- XST_SUCCESS otherwise
- Note that if request is processed, firmware is not receiving any
status of processing information. Processing status is returned to
the master which initiated communication through IPI.
Call from IPI interrupt handler to process PM API call @IsrMask IPI ' s ISR register value . Needed to determine the source master @Payload Pointer to IPI Payload @Len Size of the payload in words @return Status of the processing IPI - XST_INVALID_PARAM if input parameters have invalid value - XST_SUCCESS otherwise - Note that if request is processed firmware is not receiving any status of processing information . Processing status is returned to the master which initiated communication through IPI .
s32 XPfw_PmIpiHandler(const u32 IsrMask, const u32* Payload, u8 Len)
{
	s32 status = XST_SUCCESS;
	PmMaster* master = PmGetMasterByIpiMask(IsrMask);
	if ((NULL == Payload) || (NULL == master) || (Len < PAYLOAD_ELEM_CNT)) {
		PmErr("Unknown IPI %lu\r\n", IsrMask);
		status = XST_INVALID_PARAM;
		goto done;
	}
	PmProcessRequest(master, Payload);
done:
	return status;
}
s32 XPfw_PmIpiHandler ( const u32 IsrMask , const u32 * Payload , u8 Len ) { s32 status = XST_SUCCESS ; PmMaster * master = PmGetMasterByIpiMask ( IsrMask ) ; if ( ( NULL == Payload ) || ( NULL == master ) || ( Len < PAYLOAD_ELEM_CNT ) ) { PmErr ( " \r \n " , IsrMask ) ; status = XST_INVALID_PARAM ; goto done ; } PmProcessRequest ( master , Payload ) ; done : return status ; }
XPfw_PmIpiHandler() - Call from IPI interrupt handler to process PM API call
 @IsrMask IPI's ISR register value.
XPfw_PmIpiHandler () - Call from IPI interrupt handler to process PM API call @IsrMask IPI ' s ISR register value .
/* Never happens if IPI irq handler is implemented correctly */