lib/sw_services/xilplmi/src/xplmi_dma.c
int XPlmi_DmaInit(void)
{
	int Status = XST_FAILURE;

	Status = XPlmi_DmaDrvInit(&PmcDma0, PMCDMA_0_DEVICE_ID);
	if (Status != XST_SUCCESS) {
		goto END;
	}

	Status = XPlmi_DmaDrvInit(&PmcDma1, PMCDMA_1_DEVICE_ID);

END:
	return Status;
}
/*****************************************************************************/
/**
 * @brief	This function will initialize the DMA driver instances.
 *
 * @return	XST_SUCCESS on success and error code on failure
 *
 *****************************************************************************/
@brief       This function will initialize the DMA driver instances.
@return      XST_SUCCESS on success and error code on failure
@brief This function will initialize the DMA driver instances . @return XST_SUCCESS on success and error code on failure
int XPlmi_DmaInit(void)
{
	int Status = XST_FAILURE;
	Status = XPlmi_DmaDrvInit(&PmcDma0, PMCDMA_0_DEVICE_ID);
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XPlmi_DmaDrvInit(&PmcDma1, PMCDMA_1_DEVICE_ID);
END:
	return Status;
}
int XPlmi_DmaInit ( void ) { int Status = XST_FAILURE ; Status = XPlmi_DmaDrvInit ( & PmcDma0 , PMCDMA_0_DEVICE_ID ) ; if ( Status != XST_SUCCESS ) { goto END ; } Status = XPlmi_DmaDrvInit ( & PmcDma1 , PMCDMA_1_DEVICE_ID ) ; END : return Status ; }
@brief       This function will initialize the DMA driver instances.
@brief This function will initialize the DMA driver instances .