lib/sw_services/xilplmi/src/xplmi_generic.c
static int XPlmi_Set(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	u64 DestAddrHigh = Cmd->Payload[0U];
	u32 DestAddrLow = Cmd->Payload[1U];
	u64 DestAddr = (DestAddrHigh << 32U) | DestAddrLow;
	u32 Len = Cmd->Payload[2U];
	u32 Val = Cmd->Payload[3U];

	Status = XPlmi_MemSet(DestAddr, Val, Len);

	return Status;
}
/*****************************************************************************/
/**
 * @brief	This function provides SET command execution.
 *  		Command payload parameters are
 *		- High Dest Addr
 *		- Low Dest Addr
 *		- Length (Length of words to set to value)
 *		- Value
 *
 * @param	Cmd is pointer to the command structure
 *
 * @return	XST_SUCCESS
 *
 *****************************************************************************/
@brief       This function provides SET command execution.
Command payload parameters are
- High Dest Addr
- Low Dest Addr
- Length (Length of words to set to value)
- Value

@param       Cmd is pointer to the command structure


@brief This function provides SET command execution . Command payload parameters are - High Dest Addr - Low Dest Addr - Length ( Length of words to set to value ) - Value @param Cmd is pointer to the command structure
static int XPlmi_Set(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	u64 DestAddrHigh = Cmd->Payload[0U];
	u32 DestAddrLow = Cmd->Payload[1U];
	u64 DestAddr = (DestAddrHigh << 32U) | DestAddrLow;
	u32 Len = Cmd->Payload[2U];
	u32 Val = Cmd->Payload[3U];
	Status = XPlmi_MemSet(DestAddr, Val, Len);
	return Status;
}
static int XPlmi_Set ( XPlmi_Cmd * Cmd ) { int Status = XST_FAILURE ; u64 DestAddrHigh = Cmd -> Payload [ 0U ] ; u32 DestAddrLow = Cmd -> Payload [ 1U ] ; u64 DestAddr = ( DestAddrHigh << 32U ) | DestAddrLow ; u32 Len = Cmd -> Payload [ 2U ] ; u32 Val = Cmd -> Payload [ 3U ] ; Status = XPlmi_MemSet ( DestAddr , Val , Len ) ; return Status ; }
@brief       This function provides SET command execution.
@brief This function provides SET command execution .