FreeBSD/sys/dev/vxge/include/vxgehal-ll.h
/*
 * vxge_hal_ring_rxd_3b_get - Get data from the completed 3-buf
 * descriptor.
 * @vpath_handle: Virtual Path handle.
 * @rxdh: Descriptor handle.
 * @dma_pointers: DMA addresses	of the 3 receive buffers _this_	descriptor
 *			carries. The first two buffers contain ethernet and
 *			(IP + transport) headers. The 3rd buffer contains packet
 *			data.
 * @sizes: Array of receive buffer sizes. Contains 3 sizes: one	size per
 * buffer from @dma_pointers. Returned by HAL.
 *
 * Retrieve	protocol data from the completed 3-buffer-mode Rx descriptor.
 * This	inline helper-function uses completed descriptor to populate receive
 * buffer pointer and other "out" parameters. The function always succeeds.
 *
 */
Get data from the completed 3-buf
descriptor.
@vpath_handle: Virtual Path handle.
@rxdh: Descriptor handle.
@dma_pointers: DMA addresses of the 3 receive buffers _this_ descriptor
carries. The first two buffers contain ethernet and
(IP + transport) headers. The 3rd buffer contains packet
data.
@sizes: Array of receive buffer sizes. Contains 3 sizes: one size per
buffer from @dma_pointers. Returned by HAL.

Retrieve     protocol data from the completed 3-buffer-mode Rx descriptor.
This inline helper-function uses completed descriptor to populate receive
buffer pointer and other "out" parameters. The function always succeeds.
Get data from the completed 3 - buf descriptor . @vpath_handle : Virtual Path handle . @rxdh : Descriptor handle . @dma_pointers : DMA addresses of the 3 receive buffers _this_ descriptor carries . The first two buffers contain ethernet and ( IP + transport ) headers . The 3rd buffer contains packet data . @sizes : Array of receive buffer sizes . Contains 3 sizes : one size per buffer from @dma_pointers . Returned by HAL . Retrieve protocol data from the completed 3 - buffer - mode Rx descriptor . This inline helper - function uses completed descriptor to populate receive buffer pointer and other " out " parameters . The function always succeeds .
static	inline
void vxge_hal_ring_rxd_3b_get(
    vxge_hal_vpath_h vpath_handle,
    vxge_hal_rxd_h rxdh,
    dma_addr_t dma_pointers[],
    u32 sizes[])
{
	vxge_hal_ring_rxd_3_t *rxdp = (vxge_hal_ring_rxd_3_t *) rxdh;
	dma_pointers[0] = rxdp->buffer0_ptr;
	sizes[0] = (u32) VXGE_HAL_RING_RXD_3_BUFFER0_SIZE_GET(rxdp->control_1);
	dma_pointers[1] = rxdp->buffer1_ptr;
	sizes[1] = (u32) VXGE_HAL_RING_RXD_3_BUFFER1_SIZE_GET(rxdp->control_1);
	dma_pointers[2] = rxdp->buffer2_ptr;
	sizes[2] = (u32) VXGE_HAL_RING_RXD_3_BUFFER2_SIZE_GET(rxdp->control_1);
}
static inline void vxge_hal_ring_rxd_3b_get ( vxge_hal_vpath_h vpath_handle , vxge_hal_rxd_h rxdh , dma_addr_t dma_pointers [ ] , u32 sizes [ ] ) { vxge_hal_ring_rxd_3_t * rxdp = ( vxge_hal_ring_rxd_3_t * ) rxdh ; dma_pointers [ 0 ] = rxdp -> buffer0_ptr ; sizes [ 0 ] = ( u32 ) VXGE_HAL_RING_RXD_3_BUFFER0_SIZE_GET ( rxdp -> control_1 ) ; dma_pointers [ 1 ] = rxdp -> buffer1_ptr ; sizes [ 1 ] = ( u32 ) VXGE_HAL_RING_RXD_3_BUFFER1_SIZE_GET ( rxdp -> control_1 ) ; dma_pointers [ 2 ] = rxdp -> buffer2_ptr ; sizes [ 2 ] = ( u32 ) VXGE_HAL_RING_RXD_3_BUFFER2_SIZE_GET ( rxdp -> control_1 ) ; }
vxge_hal_ring_rxd_3b_get - Get data from the completed 3-buf
 descriptor.
vxge_hal_ring_rxd_3b_get - Get data from the completed 3 - buf descriptor .
/* LINTED */