lib/sw_services/xilfpga/src/interface/zynqmp/xilfpga_ipi_pcap.c
static u32 XFpga_IPI_PcapStatus(void)
{
	volatile u32 Status = XFPGA_FAILURE;
	u32 RegVal = XFPGA_INVALID_INTERFACE_STATUS;
	u32 ReqBuffer[FPGA_IPI_RESP2] = {0};

	ReqBuffer[0U] = PM_FPGA_GET_STATUS;
	/* Send an IPI Req Message */
	Status = XMailbox_SendData(&XMboxInstance, XMAILBOX_IPI3, ReqBuffer,
				   GET_STATUS_MSG_LEN, XILMBOX_MSG_TYPE_REQ,
				   FPGA_IPI_TYPE_BLOCKING);
	if (Status != (u32)XST_SUCCESS) {
		goto END;
	}

	Status = XFPGA_FAILURE;
	Status = XMailbox_Recv(&XMboxInstance, XMAILBOX_IPI3, ReqBuffer,
			       FPGA_IPI_RESP2, XILMBOX_MSG_TYPE_RESP);
	if (Status != (u32)XST_SUCCESS) {
		goto END;
	}

	RegVal = ReqBuffer[1U];

END:
	return RegVal;
}
/*****************************************************************************/
/**
 * Provides the STATUS of PCAP interface
 *
 * @param	None
 *
 * @return	Status of the PCAP interface.
 *
 *****************************************************************************/
Provides the STATUS of PCAP interface
@param       None

@return      Status of the PCAP interface.
Provides the STATUS of PCAP interface @param None @return Status of the PCAP interface .
static u32 XFpga_IPI_PcapStatus(void)
{
	volatile u32 Status = XFPGA_FAILURE;
	u32 RegVal = XFPGA_INVALID_INTERFACE_STATUS;
	u32 ReqBuffer[FPGA_IPI_RESP2] = {0};
	ReqBuffer[0U] = PM_FPGA_GET_STATUS;
	Status = XMailbox_SendData(&XMboxInstance, XMAILBOX_IPI3, ReqBuffer,
				   GET_STATUS_MSG_LEN, XILMBOX_MSG_TYPE_REQ,
				   FPGA_IPI_TYPE_BLOCKING);
	if (Status != (u32)XST_SUCCESS) {
		goto END;
	}
	Status = XFPGA_FAILURE;
	Status = XMailbox_Recv(&XMboxInstance, XMAILBOX_IPI3, ReqBuffer,
			       FPGA_IPI_RESP2, XILMBOX_MSG_TYPE_RESP);
	if (Status != (u32)XST_SUCCESS) {
		goto END;
	}
	RegVal = ReqBuffer[1U];
END:
	return RegVal;
}
static u32 XFpga_IPI_PcapStatus ( void ) { volatile u32 Status = XFPGA_FAILURE ; u32 RegVal = XFPGA_INVALID_INTERFACE_STATUS ; u32 ReqBuffer [ FPGA_IPI_RESP2 ] = { 0 } ; ReqBuffer [ 0U ] = PM_FPGA_GET_STATUS ; Status = XMailbox_SendData ( & XMboxInstance , XMAILBOX_IPI3 , ReqBuffer , GET_STATUS_MSG_LEN , XILMBOX_MSG_TYPE_REQ , FPGA_IPI_TYPE_BLOCKING ) ; if ( Status != ( u32 ) XST_SUCCESS ) { goto END ; } Status = XFPGA_FAILURE ; Status = XMailbox_Recv ( & XMboxInstance , XMAILBOX_IPI3 , ReqBuffer , FPGA_IPI_RESP2 , XILMBOX_MSG_TYPE_RESP ) ; if ( Status != ( u32 ) XST_SUCCESS ) { goto END ; } RegVal = ReqBuffer [ 1U ] ; END : return RegVal ; }
Provides the STATUS of PCAP interface
 @param       None
Provides the STATUS of PCAP interface @param None
/* Send an IPI Req Message */