XilinxProcessorIPLib/drivers/csi2txss/src/xcsi2txss.c
u32 XCsi2TxSs_SetLineCountForVC(XCsi2TxSs *InstancePtr, u8 VC, u16 LineCount)
{
	/* Verify arguments */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Is Frame End generation feature enabled? */
	if (!InstancePtr->Config.FEGenEnabled)
		return XST_NO_FEATURE;

	return XCsi2Tx_SetLineCountForVC(InstancePtr->CsiPtr, VC, LineCount);
}
/*****************************************************************************/
/**
 * This function sets the Line Count for virtual Channel if Frame End
 * Generation feature is enabled. This is to be called before starting
 * the core.
 *
 * @param	InstancePtr is a pointer to the Subsystem instance to be
 *		worked on.
 * @param	VC is which Virtual channel to be configured for (0-3).
 * @param	LineCount is valid line count for the Virtual channel.
 *
 * @return
 *		- XST_NO_FEATURE if Frame End generation is not enabled
 *		- XST_INVALID_PARAM if any param is invalid e.g.
 *			VC is always 0 to 3 and Line Count is 0 to 0xFFFF.
 *		- XST_FAILURE in case the core is already running.
 *		- XST_SUCCESS otherwise
 *
 * @note	None.
 *
******************************************************************************/
This function sets the Line Count for virtual Channel if Frame End
Generation feature is enabled. This is to be called before starting
the core.

@param       InstancePtr is a pointer to the Subsystem instance to be
worked on.
@param       VC is which Virtual channel to be configured for (0-3).
@param       LineCount is valid line count for the Virtual channel.

@return
- XST_NO_FEATURE if Frame End generation is not enabled
- XST_INVALID_PARAM if any param is invalid e.g.
VC is always 0 to 3 and Line Count is 0 to 0xFFFF.
- XST_FAILURE in case the core is already running.

@note        None.
This function sets the Line Count for virtual Channel if Frame End Generation feature is enabled . This is to be called before starting the core . @param InstancePtr is a pointer to the Subsystem instance to be worked on . @param VC is which Virtual channel to be configured for ( 0 - 3 ) . @param LineCount is valid line count for the Virtual channel . @return - XST_NO_FEATURE if Frame End generation is not enabled - XST_INVALID_PARAM if any param is invalid e . g . VC is always 0 to 3 and Line Count is 0 to 0xFFFF . - XST_FAILURE in case the core is already running . @note None .
u32 XCsi2TxSs_SetLineCountForVC(XCsi2TxSs *InstancePtr, u8 VC, u16 LineCount)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	if (!InstancePtr->Config.FEGenEnabled)
		return XST_NO_FEATURE;
	return XCsi2Tx_SetLineCountForVC(InstancePtr->CsiPtr, VC, LineCount);
}
u32 XCsi2TxSs_SetLineCountForVC ( XCsi2TxSs * InstancePtr , u8 VC , u16 LineCount ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( ! InstancePtr -> Config . FEGenEnabled ) return XST_NO_FEATURE ; return XCsi2Tx_SetLineCountForVC ( InstancePtr -> CsiPtr , VC , LineCount ) ; }
This function sets the Line Count for virtual Channel if Frame End
 Generation feature is enabled.
This function sets the Line Count for virtual Channel if Frame End Generation feature is enabled .
/* Verify arguments */ /* Is Frame End generation feature enabled? */