XilinxProcessorIPLib/drivers/csi2txss/src/xcsi2txss.c
u32 XCsi2TxSs_Activate(XCsi2TxSs *InstancePtr, u8 Flag)
{
	u32 Status;

	/* Verify arguments */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(Flag <= XCSI2TX_ENABLE);

	Status = XCsi2Tx_Activate(InstancePtr->CsiPtr, Flag);
	if (Status != XST_SUCCESS)
		return Status;

#if (XPAR_XDPHY_NUM_INSTANCES > 0)
	if (InstancePtr->Config.IsDphyRegIntfcPresent && InstancePtr->DphyPtr) {
		XDphy_Activate(InstancePtr->DphyPtr, Flag);
	}
#endif
	return Status;
}
/*****************************************************************************/
/**
* This function is used to activate the CSI Subsystem. Internally it activates
* the DPHY and CSI.
*
* @param	InstancePtr is a pointer to the Subsystem instance to be
		worked on.
* @param	Flag is used to denote whether to enable or disable the
*		subsystem
*
* @return
*		- XST_SUCCESS on successful operation
*		- XST_FAILURE on failed operation
*
* @note		None
*
******************************************************************************/
This function is used to activate the CSI Subsystem. Internally it activates
the DPHY and CSI.
This function is used to activate the CSI Subsystem . Internally it activates the DPHY and CSI .
u32 XCsi2TxSs_Activate(XCsi2TxSs *InstancePtr, u8 Flag)
{
	u32 Status;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(Flag <= XCSI2TX_ENABLE);
	Status = XCsi2Tx_Activate(InstancePtr->CsiPtr, Flag);
	if (Status != XST_SUCCESS)
		return Status;
#if (XPAR_XDPHY_NUM_INSTANCES > 0)
	if (InstancePtr->Config.IsDphyRegIntfcPresent && InstancePtr->DphyPtr) {
		XDphy_Activate(InstancePtr->DphyPtr, Flag);
	}
#endif
	return Status;
}
u32 XCsi2TxSs_Activate ( XCsi2TxSs * InstancePtr , u8 Flag ) { u32 Status ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( Flag <= XCSI2TX_ENABLE ) ; Status = XCsi2Tx_Activate ( InstancePtr -> CsiPtr , Flag ) ; if ( Status != XST_SUCCESS ) return Status ; #if ( XPAR_XDPHY_NUM_INSTANCES > 0 ) if ( InstancePtr -> Config . IsDphyRegIntfcPresent && InstancePtr -> DphyPtr ) { XDphy_Activate ( InstancePtr -> DphyPtr , Flag ) ; } #endif return Status ; }
This function is used to activate the CSI Subsystem.
This function is used to activate the CSI Subsystem .
/* Verify arguments */