Home
last modified time | relevance | path

Searched refs:rxd_priv (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring-fp.c33 xge_hal_ring_rxd_priv_t *rxd_priv; in __hal_ring_rxd_priv() local
44 rxd_priv = (xge_hal_ring_rxd_priv_t *) in __hal_ring_rxd_priv()
48 rxd_priv = (xge_hal_ring_rxd_priv_t *)rxdp_5->host_control; in __hal_ring_rxd_priv()
53 rxd_priv = (xge_hal_ring_rxd_priv_t *) in __hal_ring_rxd_priv()
57 xge_assert(rxd_priv); in __hal_ring_rxd_priv()
58 xge_assert(rxd_priv->dma_object); in __hal_ring_rxd_priv()
60 xge_assert(rxd_priv->dma_object->handle == rxd_priv->dma_handle); in __hal_ring_rxd_priv()
62 xge_assert(rxd_priv->dma_object->addr + rxd_priv->dma_offset == in __hal_ring_rxd_priv()
63 rxd_priv->dma_addr); in __hal_ring_rxd_priv()
65 return rxd_priv; in __hal_ring_rxd_priv()
H A Dxgehal-ring.c139 xge_hal_ring_rxd_priv_t *rxd_priv; in __hal_ring_mempool_item_alloc() local
156 rxd_priv = (xge_hal_ring_rxd_priv_t *) (void *) in __hal_ring_mempool_item_alloc()
160 rxd_priv->dma_offset = (char*)rxdp - (char*)memblock; in __hal_ring_mempool_item_alloc()
161 rxd_priv->dma_addr = dma_object->addr + rxd_priv->dma_offset; in __hal_ring_mempool_item_alloc()
162 rxd_priv->dma_handle = dma_object->handle; in __hal_ring_mempool_item_alloc()
164 rxd_priv->dma_object = dma_object; in __hal_ring_mempool_item_alloc()
181 rxdp_5->host_control = (u32)rxd_priv; in __hal_ring_mempool_item_alloc()
185 rxdp->host_control = (u64)(ulong_t)rxd_priv; in __hal_ring_mempool_item_alloc()
189 rxdp->host_control = (u64)(ulong_t)rxd_priv; in __hal_ring_mempool_item_alloc()
/titanic_44/usr/src/uts/common/io/xge/drv/
H A Dxgell.c202 xgell_rxd_priv_t *rxd_priv; in xgell_rx_buffer_replenish_all() local
217 rxd_priv = (xgell_rxd_priv_t *) in xgell_rx_buffer_replenish_all()
222 rxd_priv->rx_buffer = rx_buffer; in xgell_rx_buffer_replenish_all()
537 xgell_rxd_priv_t *rxd_priv; in xgell_rx_dtr_replenish() local
552 rxd_priv = (xgell_rxd_priv_t *)xge_hal_ring_dtr_private(channelh, dtr); in xgell_rx_dtr_replenish()
555 rxd_priv->rx_buffer = rx_buffer; in xgell_rx_dtr_replenish()
722 xgell_rxd_priv_t *rxd_priv = ((xgell_rxd_priv_t *) in xgell_rx_1b_callback() local
726 rx_buffer = rxd_priv->rx_buffer; in xgell_rx_1b_callback()
1568 xgell_rxd_priv_t *rxd_priv = in xgell_rx_dtr_term() local
1570 xgell_rx_buffer_t *rx_buffer = rxd_priv->rx_buffer; in xgell_rx_dtr_term()