FreeBSD/sys/dev/vxge/include/vxgehal-ll.h
/*
 * vxge_hal_ring_rxd_1b_get - Get data from the completed 1-buf
 * descriptor.
 * @vpath_handle: Virtual Path handle.
 * @rxdh: Descriptor handle.
 * @dma_pointer: DMA address of	a single receive buffer	_this_ descriptor
 *				carries. Returned by HAL.
 * @pkt_length:	Length (in bytes) of the data in the buffer pointed	by
 *				@dma_pointer. Returned by HAL.
 *
 * Retrieve protocol data from the completed 1-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 1-buf
descriptor.
@vpath_handle: Virtual Path handle.
@rxdh: Descriptor handle.
@dma_pointer: DMA address of a single receive buffer _this_ descriptor
carries. Returned by HAL.
@pkt_length: Length (in bytes) of the data in the buffer pointed     by
@dma_pointer. Returned by HAL.

Retrieve protocol data from the completed 1-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 1 - buf descriptor . @vpath_handle : Virtual Path handle . @rxdh : Descriptor handle . @dma_pointer : DMA address of a single receive buffer _this_ descriptor carries . Returned by HAL . @pkt_length : Length ( in bytes ) of the data in the buffer pointed by @dma_pointer . Returned by HAL . Retrieve protocol data from the completed 1 - 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_1b_get(
    vxge_hal_vpath_h vpath_handle,
    vxge_hal_rxd_h rxdh,
    dma_addr_t *dma_pointer,
    u32 *pkt_length)
{
	vxge_hal_ring_rxd_1_t *rxdp = (vxge_hal_ring_rxd_1_t *) rxdh;
	*pkt_length =
	    (u32) VXGE_HAL_RING_RXD_1_BUFFER0_SIZE_GET(rxdp->control_1);
	*dma_pointer = rxdp->buffer0_ptr;
}
static inline void vxge_hal_ring_rxd_1b_get ( vxge_hal_vpath_h vpath_handle , vxge_hal_rxd_h rxdh , dma_addr_t * dma_pointer , u32 * pkt_length ) { vxge_hal_ring_rxd_1_t * rxdp = ( vxge_hal_ring_rxd_1_t * ) rxdh ; * pkt_length = ( u32 ) VXGE_HAL_RING_RXD_1_BUFFER0_SIZE_GET ( rxdp -> control_1 ) ; * dma_pointer = rxdp -> buffer0_ptr ; }
vxge_hal_ring_rxd_1b_get - Get data from the completed 1-buf
 descriptor.
vxge_hal_ring_rxd_1b_get - Get data from the completed 1 - buf descriptor .
/* LINTED */