XilinxProcessorIPLib/drivers/v_sditxss/src/xv_sditxss_selftest.c
u32 XV_SdiTxSs_SelfTest(XV_SdiTxSs *InstancePtr)
{
	u32 Status;

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

	if (InstancePtr->SdiTxPtr) {
		Status = XV_SdiTx_SelfTest(InstancePtr->SdiTxPtr);
		if (Status != XST_SUCCESS) {
			xdbg_printf(XDBG_DEBUG_ERROR, "ERR::XV_SDITXSS Self test"
			"failed\n\r");
			return Status;
		}
	}
	return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function performs self test on SDI Tx Subsystem sub-cores.
*
* @param	InstancePtr is a pointer to the XV_SdiTxSs core instance.
*
* @return
*		- XST_SUCCESS if self test passed.
*		- XST_FAILURE if self test failed.
*
* @note		None.
*
******************************************************************************/
This function performs self test on SDI Tx Subsystem sub-cores.
This function performs self test on SDI Tx Subsystem sub - cores .
u32 XV_SdiTxSs_SelfTest(XV_SdiTxSs *InstancePtr)
{
	u32 Status;
	Xil_AssertNonvoid(InstancePtr != NULL);
	if (InstancePtr->SdiTxPtr) {
		Status = XV_SdiTx_SelfTest(InstancePtr->SdiTxPtr);
		if (Status != XST_SUCCESS) {
			xdbg_printf(XDBG_DEBUG_ERROR, "ERR::XV_SDITXSS Self test"
			"failed\n\r");
			return Status;
		}
	}
	return XST_SUCCESS;
}
u32 XV_SdiTxSs_SelfTest ( XV_SdiTxSs * InstancePtr ) { u32 Status ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( InstancePtr -> SdiTxPtr ) { Status = XV_SdiTx_SelfTest ( InstancePtr -> SdiTxPtr ) ; if ( Status != XST_SUCCESS ) { xdbg_printf ( XDBG_DEBUG_ERROR , " " " \n \r " ) ; return Status ; } } return XST_SUCCESS ; }
This function performs self test on SDI Tx Subsystem sub-cores.
This function performs self test on SDI Tx Subsystem sub - cores .
/* Verify argument. */