XilinxProcessorIPLib/drivers/dp12txss/examples/src/com/xhdcp1x_debug.c
XHdcp1x *GetPort(u16 DeviceID)
{
#if 0
	XHdcp1x *InstancePtr = GetHdcpIf(DeviceID);
	XHdcp1x_Port* PortPtr = NULL;

	if (InstancePtr != NULL) {
		PortPtr = &(InstancePtr->Port);
	}

	return (PortPtr);
#endif
	return GetHdcpIf(DeviceID);
}
/*****************************************************************************/
/**
*
* This function looks up the HDCP port device from a device id value
*
* @param DeviceID  the device id
*
* @return
*   Pointer to the HDCP port device.  NULL if not found
*
* @note
*   None.
*
******************************************************************************/
This function looks up the HDCP port device from a device id value
This function looks up the HDCP port device from a device id value
XHdcp1x *GetPort(u16 DeviceID)
{
#if 0
	XHdcp1x *InstancePtr = GetHdcpIf(DeviceID);
	XHdcp1x_Port* PortPtr = NULL;
	if (InstancePtr != NULL) {
		PortPtr = &(InstancePtr->Port);
	}
	return (PortPtr);
#endif
	return GetHdcpIf(DeviceID);
}
XHdcp1x * GetPort ( u16 DeviceID ) { #if 0 XHdcp1x * InstancePtr = GetHdcpIf ( DeviceID ) ; XHdcp1x_Port * PortPtr = NULL ; if ( InstancePtr != NULL ) { PortPtr = & ( InstancePtr -> Port ) ; } return ( PortPtr ) ; #endif return GetHdcpIf ( DeviceID ) ; }
This function looks up the HDCP port device from a device id value
This function looks up the HDCP port device from a device id value