XilinxProcessorIPLib/drivers/v_hdmiphy1/src/xhdmiphy1_hdmi_intr.c
void XHdmiphy1_HdmiGtRxResetDoneLockHandler(XHdmiphy1 *InstancePtr)
{
    u8 Id, Id0, Id1;

    XHdmiphy1_LogWrite(InstancePtr, XHDMIPHY1_LOG_EVT_RX_RST_DONE, 0);

    XHdmiphy1_Ch2Ids(InstancePtr, XHDMIPHY1_CHANNEL_ID_CHA, &Id0, &Id1);
    for (Id = Id0; Id <= Id1; Id++) {
        InstancePtr->Quads[0].Plls[XHDMIPHY1_CH2IDX(Id)].RxState =
            XHDMIPHY1_GT_STATE_READY;
    }

	/* Deassert RX LNKRDY MASK */
	XHdmiphy1_WriteReg(InstancePtr->Config.BaseAddr, XHDMIPHY1_RX_INIT_REG,
			(XHdmiphy1_ReadReg(InstancePtr->Config.BaseAddr,
					XHDMIPHY1_RX_INIT_REG) & ~0x10101010));

    /* If DRU is use/d, release its reset. */
    if (InstancePtr->HdmiRxDruIsEnabled) {
        XHdmiphy1_DruReset(InstancePtr, XHDMIPHY1_CHANNEL_ID_CHA, FALSE);
    }

    /* RX ready callback. */
    if (InstancePtr->HdmiRxReadyCallback) {
        InstancePtr->HdmiRxReadyCallback(InstancePtr->HdmiRxReadyRef);
    }
}
/*****************************************************************************/
/**
* This function is the handler for events triggered by GT RX reset lock done.
*
* @param    InstancePtr is a pointer to the HDMIPHY instance.
*
* @return   None.
*
* @note     None.
*
******************************************************************************/
This function is the handler for events triggered by GT RX reset lock done.
This function is the handler for events triggered by GT RX reset lock done .
void XHdmiphy1_HdmiGtRxResetDoneLockHandler(XHdmiphy1 *InstancePtr)
{
    u8 Id, Id0, Id1;
    XHdmiphy1_LogWrite(InstancePtr, XHDMIPHY1_LOG_EVT_RX_RST_DONE, 0);
    XHdmiphy1_Ch2Ids(InstancePtr, XHDMIPHY1_CHANNEL_ID_CHA, &Id0, &Id1);
    for (Id = Id0; Id <= Id1; Id++) {
        InstancePtr->Quads[0].Plls[XHDMIPHY1_CH2IDX(Id)].RxState =
            XHDMIPHY1_GT_STATE_READY;
    }
	XHdmiphy1_WriteReg(InstancePtr->Config.BaseAddr, XHDMIPHY1_RX_INIT_REG,
			(XHdmiphy1_ReadReg(InstancePtr->Config.BaseAddr,
					XHDMIPHY1_RX_INIT_REG) & ~0x10101010));
    if (InstancePtr->HdmiRxDruIsEnabled) {
        XHdmiphy1_DruReset(InstancePtr, XHDMIPHY1_CHANNEL_ID_CHA, FALSE);
    }
    if (InstancePtr->HdmiRxReadyCallback) {
        InstancePtr->HdmiRxReadyCallback(InstancePtr->HdmiRxReadyRef);
    }
}
void XHdmiphy1_HdmiGtRxResetDoneLockHandler ( XHdmiphy1 * InstancePtr ) { u8 Id , Id0 , Id1 ; XHdmiphy1_LogWrite ( InstancePtr , XHDMIPHY1_LOG_EVT_RX_RST_DONE , 0 ) ; XHdmiphy1_Ch2Ids ( InstancePtr , XHDMIPHY1_CHANNEL_ID_CHA , & Id0 , & Id1 ) ; for ( Id = Id0 ; Id <= Id1 ; Id ++ ) { InstancePtr -> Quads [ 0 ] . Plls [ XHDMIPHY1_CH2IDX ( Id ) ] . RxState = XHDMIPHY1_GT_STATE_READY ; } XHdmiphy1_WriteReg ( InstancePtr -> Config . BaseAddr , XHDMIPHY1_RX_INIT_REG , ( XHdmiphy1_ReadReg ( InstancePtr -> Config . BaseAddr , XHDMIPHY1_RX_INIT_REG ) & ~ 0x10101010 ) ) ; if ( InstancePtr -> HdmiRxDruIsEnabled ) { XHdmiphy1_DruReset ( InstancePtr , XHDMIPHY1_CHANNEL_ID_CHA , FALSE ) ; } if ( InstancePtr -> HdmiRxReadyCallback ) { InstancePtr -> HdmiRxReadyCallback ( InstancePtr -> HdmiRxReadyRef ) ; } }
This function is the handler for events triggered by GT RX reset lock done.
This function is the handler for events triggered by GT RX reset lock done .
/* Deassert RX LNKRDY MASK */ /* If DRU is use/d, release its reset. */ /* RX ready callback. */