XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_port_intr.c
void XHdcp1x_PortHandleInterrupt(XHdcp1x *InstancePtr, u32 IntCause)
{
	const XHdcp1x_PortPhyIfAdaptor *Adaptor = NULL;

	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);

	/* Determine Adaptor */
	Adaptor = InstancePtr->Port.Adaptor;

	/* Check for adaptor function and invoke if present */
	if ((Adaptor != NULL) && (Adaptor->IntrHandler != NULL)) {
		InstancePtr->Port.Stats.IntCount++;
		(*(Adaptor->IntrHandler))(InstancePtr, IntCause);
	}
}
/*****************************************************************************/
/**
* This handles an interrupt generated by a HDCP port device.
*
* @param	InstancePtr is the device to write to.
* @param	IntCause is the interrupt cause bit map.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This handles an interrupt generated by a HDCP port device.
This handles an interrupt generated by a HDCP port device .
void XHdcp1x_PortHandleInterrupt(XHdcp1x *InstancePtr, u32 IntCause)
{
	const XHdcp1x_PortPhyIfAdaptor *Adaptor = NULL;
	Xil_AssertVoid(InstancePtr != NULL);
	Adaptor = InstancePtr->Port.Adaptor;
	if ((Adaptor != NULL) && (Adaptor->IntrHandler != NULL)) {
		InstancePtr->Port.Stats.IntCount++;
		(*(Adaptor->IntrHandler))(InstancePtr, IntCause);
	}
}
void XHdcp1x_PortHandleInterrupt ( XHdcp1x * InstancePtr , u32 IntCause ) { const XHdcp1x_PortPhyIfAdaptor * Adaptor = NULL ; Xil_AssertVoid ( InstancePtr != NULL ) ; Adaptor = InstancePtr -> Port . Adaptor ; if ( ( Adaptor != NULL ) && ( Adaptor -> IntrHandler != NULL ) ) { InstancePtr -> Port . Stats . IntCount ++ ; ( * ( Adaptor -> IntrHandler ) ) ( InstancePtr , IntCause ) ; } }
This handles an interrupt generated by a HDCP port device.
This handles an interrupt generated by a HDCP port device .
/* Verify arguments. */ /* Determine Adaptor */ /* Check for adaptor function and invoke if present */