lib/sw_services/xilplmi/src/xplmi_dma.c
static void XPlmi_SSSCfgDmaSbi(u32 Flags)
{
	XPlmi_Printf(DEBUG_DETAILED, "SSS config for DMA0/1 to SBI\n\r");

	if ((Flags & XPLMI_PMCDMA_0) == XPLMI_PMCDMA_0) {
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_SBI_MASK,
				XPLMI_SSS_SBI_DMA0);
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_DMA0_MASK,
				XPLMI_SSS_DMA0_SBI);
	} else if ((Flags & XPLMI_PMCDMA_1) == XPLMI_PMCDMA_1) {
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_SBI_MASK,
				XPLMI_SSS_SBI_DMA1);
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_DMA1_MASK,
				XPLMI_SSS_DMA1_SBI);
	} else {
		/* MISRA-C compliance */
	}
}
/*****************************************************************************/
/**
 * @brief	This function is used set SSS configuration for DMA to SBI transfer.
 *
 * @param	Flags to select PMC DMA
 *
 * @return  None
 *
 *****************************************************************************/
@brief       This function is used set SSS configuration for DMA to SBI transfer.
@param       Flags to select PMC DMA

@return  None
@brief This function is used set SSS configuration for DMA to SBI transfer . @param Flags to select PMC DMA @return None
static void XPlmi_SSSCfgDmaSbi(u32 Flags)
{
	XPlmi_Printf(DEBUG_DETAILED, "SSS config for DMA0/1 to SBI\n\r");
	if ((Flags & XPLMI_PMCDMA_0) == XPLMI_PMCDMA_0) {
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_SBI_MASK,
				XPLMI_SSS_SBI_DMA0);
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_DMA0_MASK,
				XPLMI_SSS_DMA0_SBI);
	} else if ((Flags & XPLMI_PMCDMA_1) == XPLMI_PMCDMA_1) {
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_SBI_MASK,
				XPLMI_SSS_SBI_DMA1);
		XPlmi_UtilRMW(PMC_GLOBAL_PMC_SSS_CFG,
				XPLMI_SSSCFG_DMA1_MASK,
				XPLMI_SSS_DMA1_SBI);
	} else {
	}
}
static void XPlmi_SSSCfgDmaSbi ( u32 Flags ) { XPlmi_Printf ( DEBUG_DETAILED , " \n \r " ) ; if ( ( Flags & XPLMI_PMCDMA_0 ) == XPLMI_PMCDMA_0 ) { XPlmi_UtilRMW ( PMC_GLOBAL_PMC_SSS_CFG , XPLMI_SSSCFG_SBI_MASK , XPLMI_SSS_SBI_DMA0 ) ; XPlmi_UtilRMW ( PMC_GLOBAL_PMC_SSS_CFG , XPLMI_SSSCFG_DMA0_MASK , XPLMI_SSS_DMA0_SBI ) ; } else if ( ( Flags & XPLMI_PMCDMA_1 ) == XPLMI_PMCDMA_1 ) { XPlmi_UtilRMW ( PMC_GLOBAL_PMC_SSS_CFG , XPLMI_SSSCFG_SBI_MASK , XPLMI_SSS_SBI_DMA1 ) ; XPlmi_UtilRMW ( PMC_GLOBAL_PMC_SSS_CFG , XPLMI_SSSCFG_DMA1_MASK , XPLMI_SSS_DMA1_SBI ) ; } else { } }
@brief       This function is used set SSS configuration for DMA to SBI transfer.
@brief This function is used set SSS configuration for DMA to SBI transfer .
/* MISRA-C compliance */