lib/sw_services/xilplmi/src/xplmi_generic.c
static int XPlmi_Write(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	u32 Addr = Cmd->Payload[0U];
	u32 Value = Cmd->Payload[1U];

	XPlmi_Printf(DEBUG_DETAILED,
		"%s, Addr: 0x%0x,  Val: 0x%0x\n\r",
		__func__, Addr, Value);

	XPlmi_Out32(Addr, Value);
	Status = XST_SUCCESS;

	return Status;
}
/*****************************************************************************/
/**
 * @brief	This function provides 32 bit Write command execution.
 *  		Command payload parameters are
 *		- Address
 *		- Value
 *
 * @param	Cmd is pointer to the command structure
 *
 * @return	XST_SUCCESS
 *
 *****************************************************************************/
@brief       This function provides 32 bit Write command execution.
Command payload parameters are
- Address
- Value

@param       Cmd is pointer to the command structure


@brief This function provides 32 bit Write command execution . Command payload parameters are - Address - Value @param Cmd is pointer to the command structure
static int XPlmi_Write(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	u32 Addr = Cmd->Payload[0U];
	u32 Value = Cmd->Payload[1U];
	XPlmi_Printf(DEBUG_DETAILED,
		"%s, Addr: 0x%0x,  Val: 0x%0x\n\r",
		__func__, Addr, Value);
	XPlmi_Out32(Addr, Value);
	Status = XST_SUCCESS;
	return Status;
}
static int XPlmi_Write ( XPlmi_Cmd * Cmd ) { int Status = XST_FAILURE ; u32 Addr = Cmd -> Payload [ 0U ] ; u32 Value = Cmd -> Payload [ 1U ] ; XPlmi_Printf ( DEBUG_DETAILED , " \n \r " , __func__ , Addr , Value ) ; XPlmi_Out32 ( Addr , Value ) ; Status = XST_SUCCESS ; return Status ; }
@brief       This function provides 32 bit Write command execution.
@brief This function provides 32 bit Write command execution .