XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_rx.c
int XHdcp1x_RxSetPhysicalState(XHdcp1x *InstancePtr, int IsUp)
{
	int Status = XST_SUCCESS;
	XHdcp1x_EventType Event = XHDCP1X_EVENT_PHYDOWN;

	/* Verify argument. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Determine Event */
	if (IsUp) {
		Event = XHDCP1X_EVENT_PHYUP;
	}

	/* Post it */
	XHdcp1x_RxPostEvent(InstancePtr, Event);

	return (Status);
}
/*****************************************************************************/
/**
* This function updates the physical state of an HDCP interface.
*
* @param	InstancePtr is the receiver instance.
* @param	IsUp is truth value indicating the status of physical interface.
*
* @return
*		- XST_SUCCESS if successful.
*
* @note		None.
*
******************************************************************************/
This function updates the physical state of an HDCP interface.
This function updates the physical state of an HDCP interface .
int XHdcp1x_RxSetPhysicalState(XHdcp1x *InstancePtr, int IsUp)
{
	int Status = XST_SUCCESS;
	XHdcp1x_EventType Event = XHDCP1X_EVENT_PHYDOWN;
	Xil_AssertNonvoid(InstancePtr != NULL);
	if (IsUp) {
		Event = XHDCP1X_EVENT_PHYUP;
	}
	XHdcp1x_RxPostEvent(InstancePtr, Event);
	return (Status);
}
int XHdcp1x_RxSetPhysicalState ( XHdcp1x * InstancePtr , int IsUp ) { int Status = XST_SUCCESS ; XHdcp1x_EventType Event = XHDCP1X_EVENT_PHYDOWN ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( IsUp ) { Event = XHDCP1X_EVENT_PHYUP ; } XHdcp1x_RxPostEvent ( InstancePtr , Event ) ; return ( Status ) ; }
This function updates the physical state of an HDCP interface.
This function updates the physical state of an HDCP interface .
/* Verify argument. */ /* Determine Event */ /* Post it */