XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_rx.c
static void XHdcp1x_RxReportLinkIntegrityFailure(XHdcp1x *InstancePtr,
		XHdcp1x_StateType *NextStatePtr)
{
	/* NextStatePtr not being used */
	UNUSED(NextStatePtr);

#if defined(XHDCP1X_PORT_BIT_BSTATUS_LINK_FAILURE)
	u8 Buf[XHDCP1X_PORT_SIZE_BSTATUS];

	/* Update the Bstatus register */
	XHdcp1x_PortRead(InstancePtr, XHDCP1X_PORT_OFFSET_BSTATUS, Buf,
			XHDCP1X_PORT_SIZE_BSTATUS);
	Buf[0] |= XHDCP1X_PORT_BIT_BSTATUS_LINK_FAILURE;
	XHdcp1x_PortWrite(InstancePtr, XHDCP1X_PORT_OFFSET_BSTATUS, Buf,
			XHDCP1X_PORT_SIZE_BSTATUS);
#endif

	/* Log */
	XHdcp1x_RxDebugLog(InstancePtr, "link integrity failed");
}
/*****************************************************************************/
/**
* This functions reports the failure of link integrity.
*
* @param	InstancePtr is the receiver instance.
* @param	NextStatePtr is the next state.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This functions reports the failure of link integrity.
This functions reports the failure of link integrity .
static void XHdcp1x_RxReportLinkIntegrityFailure(XHdcp1x *InstancePtr,
		XHdcp1x_StateType *NextStatePtr)
{
	UNUSED(NextStatePtr);
#if defined(XHDCP1X_PORT_BIT_BSTATUS_LINK_FAILURE)
	u8 Buf[XHDCP1X_PORT_SIZE_BSTATUS];
	XHdcp1x_PortRead(InstancePtr, XHDCP1X_PORT_OFFSET_BSTATUS, Buf,
			XHDCP1X_PORT_SIZE_BSTATUS);
	Buf[0] |= XHDCP1X_PORT_BIT_BSTATUS_LINK_FAILURE;
	XHdcp1x_PortWrite(InstancePtr, XHDCP1X_PORT_OFFSET_BSTATUS, Buf,
			XHDCP1X_PORT_SIZE_BSTATUS);
#endif
	XHdcp1x_RxDebugLog(InstancePtr, "link integrity failed");
}
static void XHdcp1x_RxReportLinkIntegrityFailure ( XHdcp1x * InstancePtr , XHdcp1x_StateType * NextStatePtr ) { UNUSED ( NextStatePtr ) ; #if defined ( XHDCP1X_PORT_BIT_BSTATUS_LINK_FAILURE ) u8 Buf [ XHDCP1X_PORT_SIZE_BSTATUS ] ; XHdcp1x_PortRead ( InstancePtr , XHDCP1X_PORT_OFFSET_BSTATUS , Buf , XHDCP1X_PORT_SIZE_BSTATUS ) ; Buf [ 0 ] |= XHDCP1X_PORT_BIT_BSTATUS_LINK_FAILURE ; XHdcp1x_PortWrite ( InstancePtr , XHDCP1X_PORT_OFFSET_BSTATUS , Buf , XHDCP1X_PORT_SIZE_BSTATUS ) ; #endif XHdcp1x_RxDebugLog ( InstancePtr , " " ) ; }
This functions reports the failure of link integrity.
This functions reports the failure of link integrity .
/* NextStatePtr not being used */ /* Update the Bstatus register */ /* Log */