XilinxProcessorIPLib/drivers/dsi/src/xdsi.h
static inline void XDsi_SetBitField(UINTPTR BaseAddress, u32 RegisterOffset,
				u32 BitMask, u32 BitShift, u32 Value)
{
	XDsi_WriteReg(BaseAddress, RegisterOffset,
		((XDsi_ReadReg(BaseAddress, RegisterOffset) &
		 ~ BitMask) | (Value << BitShift)));
}
/****************************************************************************/
/**
*
* This function is used to set the value of bitfield from register.
*
* @param	BaseAddress is a base address of IP
* @param	RegisterOffset is offset where the register is present
* @param	BitMask is the part of the bitname before _MASK
* @param	BitShift is the part of the bitname before _SHIFT
* @param	Value is to be set. Passed in u32 format.
*
* @return	None
*
* @note		None
*
****************************************************************************/
This function is used to set the value of bitfield from register.
This function is used to set the value of bitfield from register .
static inline void XDsi_SetBitField(UINTPTR BaseAddress, u32 RegisterOffset,
				u32 BitMask, u32 BitShift, u32 Value)
{
	XDsi_WriteReg(BaseAddress, RegisterOffset,
		((XDsi_ReadReg(BaseAddress, RegisterOffset) &
		 ~ BitMask) | (Value << BitShift)));
}
static inline void XDsi_SetBitField ( UINTPTR BaseAddress , u32 RegisterOffset , u32 BitMask , u32 BitShift , u32 Value ) { XDsi_WriteReg ( BaseAddress , RegisterOffset , ( ( XDsi_ReadReg ( BaseAddress , RegisterOffset ) & ~ BitMask ) | ( Value << BitShift ) ) ) ; }
This function is used to set the value of bitfield from register.
This function is used to set the value of bitfield from register .