Home
last modified time | relevance | path

Searched refs:r_desc_ring (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_l1.c142 atgep->atge_tx_ring->r_desc_ring = NULL; in atge_l1_alloc_dma()
150 atgep->atge_tx_ring->r_desc_ring = dma; in atge_l1_alloc_dma()
170 l1->atge_rx_ring->r_desc_ring = NULL; in atge_l1_alloc_dma()
178 l1->atge_rx_ring->r_desc_ring = dma; in atge_l1_alloc_dma()
252 if (atgep->atge_tx_ring->r_desc_ring != NULL) { in atge_l1_free_dma()
253 atge_free_a_dma_blk(atgep->atge_tx_ring->r_desc_ring); in atge_l1_free_dma()
281 if (l1->atge_rx_ring->r_desc_ring != NULL) { in atge_l1_free_dma()
282 atge_free_a_dma_blk(l1->atge_rx_ring->r_desc_ring); in atge_l1_free_dma()
308 dma = l1->atge_rx_ring->r_desc_ring; in atge_l1_init_rx_ring()
711 l1->atge_rx_ring->r_desc_ring->addr + in atge_l1_rx()
[all …]
H A Datge_l1c.c170 atgep->atge_tx_ring->r_desc_ring = NULL; in atge_l1c_alloc_dma()
178 atgep->atge_tx_ring->r_desc_ring = dma; in atge_l1c_alloc_dma()
198 l1c->atge_rx_ring->r_desc_ring = NULL; in atge_l1c_alloc_dma()
206 l1c->atge_rx_ring->r_desc_ring = dma; in atge_l1c_alloc_dma()
280 if (atgep->atge_tx_ring->r_desc_ring != NULL) { in atge_l1c_free_dma()
281 atge_free_a_dma_blk(atgep->atge_tx_ring->r_desc_ring); in atge_l1c_free_dma()
309 if (l1c->atge_rx_ring->r_desc_ring != NULL) { in atge_l1c_free_dma()
310 atge_free_a_dma_blk(l1c->atge_rx_ring->r_desc_ring); in atge_l1c_free_dma()
344 dma = l1c->atge_rx_ring->r_desc_ring; in atge_l1c_init_rx_ring()
429 ATGE_ADDR_HI(r->r_desc_ring->cookie.dmac_laddress)); in atge_l1c_program_dma()
[all …]
H A Datge_l1e.c153 atgep->atge_tx_ring->r_desc_ring = NULL; in atge_l1e_alloc_dma()
161 atgep->atge_tx_ring->r_desc_ring = dma; in atge_l1e_alloc_dma()
251 if (atgep->atge_tx_ring->r_desc_ring != NULL) { in atge_l1e_free_dma()
252 atge_free_a_dma_blk(atgep->atge_tx_ring->r_desc_ring); in atge_l1e_free_dma()
323 ASSERT(atgep->atge_tx_ring->r_desc_ring != NULL); in atge_l1e_init_tx_ring()
329 bzero(atgep->atge_tx_ring->r_desc_ring->addr, ATGE_TX_RING_SZ); in atge_l1e_init_tx_ring()
331 DMA_SYNC(atgep->atge_tx_ring->r_desc_ring, 0, ATGE_TX_RING_SZ, in atge_l1e_init_tx_ring()
355 paddr = atgep->atge_tx_ring->r_desc_ring->cookie.dmac_laddress; in atge_l1e_program_dma()
H A Datge_main.c567 c = (uchar_t *)r->r_desc_ring->addr; in atge_tx_reclaim()
584 DMA_SYNC(r->r_desc_ring, 0, ATGE_TX_RING_SZ, DDI_DMA_SYNC_FORDEV); in atge_tx_reclaim()
2819 c = (uchar_t *)r->r_desc_ring->addr; in atge_send_a_packet()
2828 ATGE_PUT64(r->r_desc_ring, &txd->addr, in atge_send_a_packet()
2831 ATGE_PUT32(r->r_desc_ring, &txd->len, L1C_TX_BYTES(pktlen)); in atge_send_a_packet()
2834 ATGE_PUT32(r->r_desc_ring, &txd->flags, cflags); in atge_send_a_packet()
2844 ATGE_PUT64(r->r_desc_ring, &txd->addr, in atge_send_a_packet()
2847 ATGE_PUT32(r->r_desc_ring, &txd->len, ATGE_TX_BYTES(pktlen)); in atge_send_a_packet()
2850 ATGE_PUT32(r->r_desc_ring, &txd->flags, cflags); in atge_send_a_packet()
2867 DMA_SYNC(r->r_desc_ring, 0, ATGE_TX_RING_SZ, DDI_DMA_SYNC_FORDEV); in atge_send_a_packet()
H A Datge.h204 atge_dma_t *r_desc_ring; member