XilinxProcessorIPLib/drivers/aienginev2/src/dma/xaie_dma.c
AieRC XAie_DmaChannelEnOutofOrder(XAie_DmaChannelDesc *DmaChannelDesc,
		u8 EnOutofOrder)
{
	const XAie_DmaMod *DmaMod;

	if((DmaChannelDesc == XAIE_NULL) ||
			(DmaChannelDesc->IsReady != XAIE_COMPONENT_IS_READY)) {
		XAIE_ERROR("Invalid Arguments\n");
		return XAIE_INVALID_ARGS;
	}

	DmaMod = DmaChannelDesc->DmaMod;
	if(DmaMod->ChProp->HasEnOutOfOrder == XAIE_FEATURE_UNAVAILABLE) {
		XAIE_ERROR("Feature not supported\n");
		return XAIE_FEATURE_NOT_SUPPORTED;
	}

	DmaChannelDesc->EnOutofOrderId = EnOutofOrder;

	return XAIE_OK;
}
/*****************************************************************************/
/**
* This API enables/disables out of order mode in the DMA Channel Descriptor.
*
* @param	DmaChannelDesc: Initialized Dma Channel Descriptor.
* @param	EnOutofOrder: XAIE_ENABLE or XAIE_DISABLE for out of order mode.
* 				XAIE_DISABLE = in-order mode.
* @return	XAIE_OK on success, Error code on failure.
*
* @note		The API sets the enable/disable choice for
* 		out of order mode in dma channel descriptor and does
* 		not configure the descriptor field in the hardware.
* 		This API works only for AIE-ML and has no effect on AIE.
*
******************************************************************************/
This API enables/disables out of order mode in the DMA Channel Descriptor.
This API enables / disables out of order mode in the DMA Channel Descriptor .
AieRC XAie_DmaChannelEnOutofOrder(XAie_DmaChannelDesc *DmaChannelDesc,
		u8 EnOutofOrder)
{
	const XAie_DmaMod *DmaMod;
	if((DmaChannelDesc == XAIE_NULL) ||
			(DmaChannelDesc->IsReady != XAIE_COMPONENT_IS_READY)) {
		XAIE_ERROR("Invalid Arguments\n");
		return XAIE_INVALID_ARGS;
	}
	DmaMod = DmaChannelDesc->DmaMod;
	if(DmaMod->ChProp->HasEnOutOfOrder == XAIE_FEATURE_UNAVAILABLE) {
		XAIE_ERROR("Feature not supported\n");
		return XAIE_FEATURE_NOT_SUPPORTED;
	}
	DmaChannelDesc->EnOutofOrderId = EnOutofOrder;
	return XAIE_OK;
}
AieRC XAie_DmaChannelEnOutofOrder ( XAie_DmaChannelDesc * DmaChannelDesc , u8 EnOutofOrder ) { const XAie_DmaMod * DmaMod ; if ( ( DmaChannelDesc == XAIE_NULL ) || ( DmaChannelDesc -> IsReady != XAIE_COMPONENT_IS_READY ) ) { XAIE_ERROR ( " \n " ) ; return XAIE_INVALID_ARGS ; } DmaMod = DmaChannelDesc -> DmaMod ; if ( DmaMod -> ChProp -> HasEnOutOfOrder == XAIE_FEATURE_UNAVAILABLE ) { XAIE_ERROR ( " \n " ) ; return XAIE_FEATURE_NOT_SUPPORTED ; } DmaChannelDesc -> EnOutofOrderId = EnOutofOrder ; return XAIE_OK ; }
This API enables/disables out of order mode in the DMA Channel Descriptor.
This API enables / disables out of order mode in the DMA Channel Descriptor .