XilinxProcessorIPLib/drivers/llfifo/src/xstreamer.c
void XStrm_TxSetLen(XStrm_TxFifoStreamer *InstancePtr, u32 Bytes)
{
	/*
	 * First flush what's in the holding buffer
	 */
	if (InstancePtr->TailIndex != 0) {
		(*InstancePtr->WriteFn) (InstancePtr->FifoInstance,
					 &(InstancePtr->AlignedBuffer.bytes[0]),
					 1);
		InstancePtr->TailIndex = 0;
	}

	/*
	 * Kick off the hw write
	 */
	(*(InstancePtr)->SetLenFn) (InstancePtr->FifoInstance, Bytes);
}
/*****************************************************************************/
/**
*
* XStrm_TxSetLen flushes to the FIFO, specified by <i>InstancePtr</i>, any
* bytes remaining in internal buffers and begins a hardware transfer of data
* out of the transmit channel of the FIFO. <i>Bytes</i> specifies the number
* of bytes in the frame to transmit.
*
* @param    InstancePtr references the FIFO Streamer on which to operate.
*
* @param    Bytes specifies the frame length in bytes.
*
* @return   N/A
*
******************************************************************************/
XStrm_TxSetLen flushes to the FIFO, specified by InstancePtr, any
bytes remaining in internal buffers and begins a hardware transfer of data
out of the transmit channel of the FIFO. Bytes specifies the number
of bytes in the frame to transmit.
XStrm_TxSetLen flushes to the FIFO specified by InstancePtr any bytes remaining in internal buffers and begins a hardware transfer of data out of the transmit channel of the FIFO . Bytes specifies the number of bytes in the frame to transmit .
void XStrm_TxSetLen(XStrm_TxFifoStreamer *InstancePtr, u32 Bytes)
{
	if (InstancePtr->TailIndex != 0) {
		(*InstancePtr->WriteFn) (InstancePtr->FifoInstance,
					 &(InstancePtr->AlignedBuffer.bytes[0]),
					 1);
		InstancePtr->TailIndex = 0;
	}
	(*(InstancePtr)->SetLenFn) (InstancePtr->FifoInstance, Bytes);
}
void XStrm_TxSetLen ( XStrm_TxFifoStreamer * InstancePtr , u32 Bytes ) { if ( InstancePtr -> TailIndex != 0 ) { ( * InstancePtr -> WriteFn ) ( InstancePtr -> FifoInstance , & ( InstancePtr -> AlignedBuffer . bytes [ 0 ] ) , 1 ) ; InstancePtr -> TailIndex = 0 ; } ( * ( InstancePtr ) -> SetLenFn ) ( InstancePtr -> FifoInstance , Bytes ) ; }
XStrm_TxSetLen flushes to the FIFO, specified by <i>InstancePtr</i>, any
bytes remaining in internal buffers and begins a hardware transfer of data
out of the transmit channel of the FIFO.
XStrm_TxSetLen flushes to the FIFO specified by <i > InstancePtr< / i > any bytes remaining in internal buffers and begins a hardware transfer of data out of the transmit channel of the FIFO .
/*
	 * First flush what's in the holding buffer
	 */ /*
	 * Kick off the hw write
	 */