XilinxProcessorIPLib/drivers/dphy/src/xdphy.h
static inline void XDphy_SetBitField(UINTPTR BaseAddress, u32 RegisterOffset,
				u32 BitMask, u32 BitShift, u32 Value)
{
	XDphy_WriteReg(BaseAddress, RegisterOffset,
		((XDphy_ReadReg(BaseAddress, RegisterOffset) &
		 ~ BitMask) | (Value << BitShift)));
}
/****************************************************************************/
/**
*
* This function is used to set the value of bitfield from DPHY register space
*
* @param 	BaseAddress is a base address of IP
* @param 	RegisterOffset is offset where the register is present
* @param 	BitMask of bit field whose value needs to be updated
* @param 	BitShift is offset of bit field
* @param 	Value to be set. Passed in u32 format.
*
* @return 	None
*
* @note 	None
****************************************************************************/
This function is used to set the value of bitfield from DPHY register space
This function is used to set the value of bitfield from DPHY register space
static inline void XDphy_SetBitField(UINTPTR BaseAddress, u32 RegisterOffset,
				u32 BitMask, u32 BitShift, u32 Value)
{
	XDphy_WriteReg(BaseAddress, RegisterOffset,
		((XDphy_ReadReg(BaseAddress, RegisterOffset) &
		 ~ BitMask) | (Value << BitShift)));
}
static inline void XDphy_SetBitField ( UINTPTR BaseAddress , u32 RegisterOffset , u32 BitMask , u32 BitShift , u32 Value ) { XDphy_WriteReg ( BaseAddress , RegisterOffset , ( ( XDphy_ReadReg ( BaseAddress , RegisterOffset ) & ~ BitMask ) | ( Value << BitShift ) ) ) ; }
This function is used to set the value of bitfield from DPHY register space
This function is used to set the value of bitfield from DPHY register space