![]() |
v_hdmitxss1
Vitis Drivers API Documentation
|
This is main code of Xilinx HDMI Transmitter Subsystem device driver.
Please see xv_hdmitxss1.h for more details of the driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 EB 22/05/18 Initial release.
Functions | |
| void | XV_HdmiTxSs1_SetFfeLevels (XV_HdmiTxSs1 *InstancePtr, u8 FfeLevel) |
| This function sets the FFE Levels. More... | |
| u8 | XV_HdmiTxSs1_GetTxFfe (XV_HdmiTxSs1 *InstancePtr, u8 Lane) |
| This function returns the FFE Level for the selected lane. More... | |
| u8 | XV_HdmiTxSs1_GetFrlRate (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the FRL Rate. More... | |
| u8 | XV_HdmiTxSs1_GetFrlLineRate (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the FRL Line Rate. More... | |
| u8 | XV_HdmiTxSs1_GetFrlLanes (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the the number of active FRL lanes. More... | |
| void | XV_HdmiTxSs1_FrlConfigCallback (void *CallbackRef) |
| This function is called when the FRL link training requires configuration from application. More... | |
| void | XV_HdmiTxSs1_FrlFfeCallback (void *CallbackRef) |
| This function is called when the FRL link training requires configuring of FFE. More... | |
| void | XV_HdmiTxSs1_FrlStartCallback (void *CallbackRef) |
| This function is called when the FRL link training passes and sink is ready to receive video, audio and control packets. More... | |
| void | XV_HdmiTxSs1_FrlStopCallback (void *CallbackRef) |
| This function is called when sink requested for FRL to be stopped. More... | |
| void | XV_HdmiTxSs1_TmdsConfigCallback (void *CallbackRef) |
| This function is called when during FRL link training, it is decided to fallback to the legacy HDMI TMDS mode. More... | |
| int | XV_HdmiTxSs1_TmdsStart (XV_HdmiTxSs1 *InstancePtr) |
| This function starts the Legacy HDMI TMDS Mode. More... | |
| int | XV_HdmiTxSs1_StartTmdsMode (XV_HdmiTxSs1 *InstancePtr) |
| This function starts the TMDS mode. More... | |
| int | XV_HdmiTxSs1_StartFrlTraining (XV_HdmiTxSs1 *InstancePtr, XHdmiC_MaxFrlRate FrlRate) |
| This function starts the Fixed Rate Link Training. More... | |
| void | XV_HdmiTxSs1_SetFrlMaxFrlRate (XV_HdmiTxSs1 *InstancePtr, XHdmiC_MaxFrlRate MaxFrlRate) |
| This function sets maximum FRL Rate supported by the system. More... | |
| int | XV_HdmiTxSs1_FrlStreamStart (XV_HdmiTxSs1 *InstancePtr) |
| This function starts FRL stream. More... | |
| int | XV_HdmiTxSs1_FrlStreamStop (XV_HdmiTxSs1 *InstancePtr) |
| This function stops FRL video stream. More... | |
| void | XV_HdmiTxSs1_SetFrlWrongLtp (XV_HdmiTxSs1 *InstancePtr) |
| This function stops FRL video stream. More... | |
| void | XV_HdmiTxSs1_ClearFrlWrongLtp (XV_HdmiTxSs1 *InstancePtr) |
| This function stops FRL video stream. More... | |
| void | XV_HdmiTxSs1_SetFrlLtp (XV_HdmiTxSs1 *InstancePtr, u8 Lane, XV_HdmiTx1_FrlLtpType Ltp) |
| This function sets the FRL LTP. More... | |
| void | XV_HdmiTxSs1_SetFrlExtVidCke (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the CKE Source for External. More... | |
| void | XV_HdmiTxSs1_SetFrlIntVidCke (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the CKE Source for Interal Generated. More... | |
| void XV_HdmiTxSs1_ClearFrlWrongLtp | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops FRL video stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_FrlConfigCallback | ( | void * | CallbackRef | ) |
This function is called when the FRL link training requires configuration from application.
| None. |
References XV_HdmiTxSs1::FrlConfigCallback, XV_HdmiTxSs1::FrlConfigRef, XV_HDMITXSS1_LOG_EVT_FRL_CFG, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSs1_FrlFfeCallback | ( | void * | CallbackRef | ) |
This function is called when the FRL link training requires configuring of FFE.
| None. |
References XV_HdmiTxSs1::FrlFfeCallback, and XV_HdmiTxSs1::FrlFfeRef.
| void XV_HdmiTxSs1_FrlStartCallback | ( | void * | CallbackRef | ) |
This function is called when the FRL link training passes and sink is ready to receive video, audio and control packets.
| None. |
References XV_HdmiTxSs1::FrlStartCallback, XV_HdmiTxSs1::FrlStartRef, XV_HDMITXSS1_LOG_EVT_FRL_LT_PASS, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSs1_FrlStopCallback | ( | void * | CallbackRef | ) |
This function is called when sink requested for FRL to be stopped.
| None. |
References XV_HdmiTxSs1::FrlStopCallback, and XV_HdmiTxSs1::FrlStopRef.
| int XV_HdmiTxSs1_FrlStreamStart | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts FRL stream.
This should be called after the bridge, video, audio are all active.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| int XV_HdmiTxSs1_FrlStreamStop | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops FRL video stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetFrlLanes | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the the number of active FRL lanes.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetFrlLineRate | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the FRL Line Rate.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetFrlRate | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the FRL Rate.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetTxFfe | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Lane | ||
| ) |
This function returns the FFE Level for the selected lane.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFfeLevels | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | FfeLevel | ||
| ) |
This function sets the FFE Levels.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by main().
| void XV_HdmiTxSs1_SetFrlExtVidCke | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the CKE Source for External.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFrlIntVidCke | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the CKE Source for Interal Generated.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFrlLtp | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Lane, | ||
| XV_HdmiTx1_FrlLtpType | Ltp | ||
| ) |
This function sets the FRL LTP.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Lanes | specifies FRL operation lane
|
| Ltp | is a FRL LTP Type |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFrlMaxFrlRate | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XHdmiC_MaxFrlRate | MaxFrlRate | ||
| ) |
This function sets maximum FRL Rate supported by the system.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| MaxFrlRate | specifies maximum rates supported
|
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by main().
| void XV_HdmiTxSs1_SetFrlWrongLtp | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops FRL video stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| int XV_HdmiTxSs1_StartFrlTraining | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XHdmiC_MaxFrlRate | FrlRate | ||
| ) |
This function starts the Fixed Rate Link Training.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| FrlRate | specifies the FRL rate to be attempted
|
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_FRL_START, and XV_HdmiTxSs1_LogWrite().
| int XV_HdmiTxSs1_StartTmdsMode | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts the TMDS mode.
| InstancePtr | is a pointer to the XV_HdmiTx1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_TmdsConfigCallback | ( | void * | CallbackRef | ) |
This function is called when during FRL link training, it is decided to fallback to the legacy HDMI TMDS mode.
| None. |
References XV_HdmiTxSs1::TmdsConfigCallback, XV_HdmiTxSs1::TmdsConfigRef, XV_HDMITXSS1_LOG_EVT_TMDS_START, and XV_HdmiTxSs1_LogWrite().
| int XV_HdmiTxSs1_TmdsStart | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts the Legacy HDMI TMDS Mode.
References XV_HdmiTxSs1::HdmiTx1Ptr.