XilinxProcessorIPLib/drivers/dsi/src/xdsi.h
static inline u32 XDsi_GetBitField(UINTPTR BaseAddress, u32 RegisterOffset,
						u32 BitMask, u32 BitShift)
{
	return((XDsi_ReadReg(BaseAddress, RegisterOffset)
		 & BitMask) >> BitShift);
}
/****************************************************************************/
/**
*
* This function is used to get 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
* @return	Bit Field Value in u32 format
*
* @note 	None
*
****************************************************************************/
This function is used to get the value of bitfield from register.
This function is used to get the value of bitfield from register .
static inline u32 XDsi_GetBitField(UINTPTR BaseAddress, u32 RegisterOffset,
						u32 BitMask, u32 BitShift)
{
	return((XDsi_ReadReg(BaseAddress, RegisterOffset)
		 & BitMask) >> BitShift);
}
static inline u32 XDsi_GetBitField ( UINTPTR BaseAddress , u32 RegisterOffset , u32 BitMask , u32 BitShift ) { return ( ( XDsi_ReadReg ( BaseAddress , RegisterOffset ) & BitMask ) >> BitShift ) ; }
This function is used to get the value of bitfield from register.
This function is used to get the value of bitfield from register .