Home
last modified time | relevance | path

Searched refs:DMA_SYNC (Results 1 – 25 of 26) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/atge/
H A Datge_l1.c321 DMA_SYNC(dma, 0, L1_RX_RING_SZ, DDI_DMA_SYNC_FORDEV); in atge_l1_init_rx_ring()
332 DMA_SYNC(atgep->atge_tx_ring->r_desc_ring, 0, ATGE_TX_RING_SZ, in atge_l1_init_tx_ring()
347 DMA_SYNC(dma, 0, L1_RR_RING_SZ, DDI_DMA_SYNC_FORDEV); in atge_l1_init_rr_ring()
359 DMA_SYNC(dma, 0, L1_SMB_BLOCK_SZ, DDI_DMA_SYNC_FORDEV); in atge_l1_init_smb()
371 DMA_SYNC(dma, 0, L1_CMB_BLOCK_SZ, DDI_DMA_SYNC_FORDEV); in atge_l1_init_cmb()
461 DMA_SYNC(dma, 0, L1_SMB_BLOCK_SZ, DDI_DMA_SYNC_FORKERNEL); in atge_l1_gather_stats()
552 DMA_SYNC(dma, 0, L1_SMB_BLOCK_SZ, DDI_DMA_SYNC_FORDEV); in atge_l1_gather_stats()
641 DMA_SYNC(l1->atge_l1_rr, 0, L1_RR_RING_SZ, DDI_DMA_SYNC_FORKERNEL); in atge_l1_rx()
753 DMA_SYNC(l1->atge_rx_ring->r_desc_ring, 0, L1_RX_RING_SZ, in atge_l1_rx()
756 DMA_SYNC(l1->atge_l1_rr, 0, L1_RR_RING_SZ, DDI_DMA_SYNC_FORDEV); in atge_l1_rx()
[all …]
H A Datge_l1c.c356 DMA_SYNC(dma, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_init_rx_ring()
369 DMA_SYNC(atgep->atge_tx_ring->r_desc_ring, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_init_tx_ring()
383 DMA_SYNC(dma, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_init_rr_ring()
395 DMA_SYNC(dma, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_init_smb()
407 DMA_SYNC(dma, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_init_cmb()
568 DMA_SYNC(dma, 0, 0, DDI_DMA_SYNC_FORKERNEL); in atge_l1c_gather_stats()
659 DMA_SYNC(dma, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_gather_stats()
749 DMA_SYNC(l1c->atge_l1c_rr, 0, 0, DDI_DMA_SYNC_FORKERNEL); in atge_l1c_rx()
857 DMA_SYNC(l1c->atge_rx_ring->r_desc_ring, 0, 0, in atge_l1c_rx()
860 DMA_SYNC(l1c->atge_l1c_rr, 0, 0, DDI_DMA_SYNC_FORDEV); in atge_l1c_rx()
[all …]
H A Datge_l1e.c309 DMA_SYNC(dma, 0, l1e->atge_l1e_pagesize, DDI_DMA_SYNC_FORDEV); in atge_l1e_init_rx_pages()
315 DMA_SYNC(dma, 0, L1E_RX_CMB_SZ * L1E_RX_PAGES, DDI_DMA_SYNC_FORDEV); in atge_l1e_init_rx_pages()
331 DMA_SYNC(atgep->atge_tx_ring->r_desc_ring, 0, ATGE_TX_RING_SZ, in atge_l1e_init_tx_ring()
445 DMA_SYNC(dma_rx_cmb, 0, L1E_RX_CMB_SZ * L1E_RX_PAGES, in atge_l1e_receive()
459 DMA_SYNC(dma_rx_page, l1e->atge_l1e_rx_page_cons, in atge_l1e_receive()
618 DMA_SYNC(dma_rx_cmb, curr * L1E_RX_CMB_SZ, in atge_l1e_rx_next_pkt()
641 DMA_SYNC(dma_rx_cmb, 0, L1E_RX_PAGES * L1E_RX_CMB_SZ, in atge_l1e_rx_next_pkt()
648 DMA_SYNC(dma_rx_page, 0, l1e->atge_l1e_rx_page_prods[curr], in atge_l1e_rx_next_pkt()
H A Datge.h146 #define DMA_SYNC(dma, s, l, d) \ macro
H A Datge_main.c582 DMA_SYNC(r->r_desc_ring, 0, ATGE_TX_RING_SZ, DDI_DMA_SYNC_FORDEV); in atge_tx_reclaim()
2857 DMA_SYNC(r->r_buf_tbl[start], 0, pktlen, DDI_DMA_SYNC_FORDEV); 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()
/titanic_50/usr/src/uts/common/io/igb/
H A Digb_rx.c146 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_copy()
221 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_bind()
343 DMA_SYNC(&rx_data->rbd_area, DDI_DMA_SYNC_FORKERNEL); in igb_rx()
443 DMA_SYNC(&rx_data->rbd_area, DDI_DMA_SYNC_FORDEV); in igb_rx()
H A Digb_tx.c521 DMA_SYNC(tx_buf, DDI_DMA_SYNC_FORDEV); in igb_tx_copy()
1011 DMA_SYNC(&tx_ring->tbd_area, DDI_DMA_SYNC_FORDEV); in igb_tx_fill_ring()
1101 DMA_SYNC(&tx_ring->tbd_area, DDI_DMA_SYNC_FORKERNEL); in igb_tx_recycle_legacy()
H A Digb_sw.h242 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area)->dma_handle, \ macro
/titanic_50/usr/src/uts/common/io/ixgbe/
H A Dixgbe_rx.c155 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_rx_copy()
229 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_rx_bind()
303 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_lro_bind()
418 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_lro_copy()
578 DMA_SYNC(&rx_data->rbd_area, DDI_DMA_SYNC_FORKERNEL); in ixgbe_ring_rx()
731 DMA_SYNC(&rx_data->rbd_area, DDI_DMA_SYNC_FORDEV); in ixgbe_ring_rx()
H A Dixgbe_tx.c620 DMA_SYNC(tx_buf, DDI_DMA_SYNC_FORDEV); in ixgbe_tx_copy()
1142 DMA_SYNC(&tx_ring->tbd_area, DDI_DMA_SYNC_FORDEV); in ixgbe_tx_fill_ring()
1234 DMA_SYNC(&tx_ring->tbd_area, DDI_DMA_SYNC_FORKERNEL); in ixgbe_tx_recycle_legacy()
H A Dixgbe_sw.h312 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area)->dma_handle, \ macro
/titanic_50/usr/src/uts/common/io/bge/
H A Dbge_recv2.c194 DMA_SYNC(srbdp->pbuf, DDI_DMA_SYNC_FORKERNEL); in bge_receive_packet()
299 DMA_SYNC(rrp->desc, DDI_DMA_SYNC_FORKERNEL); in bge_receive_ring()
368 DMA_SYNC(rrp->desc, DDI_DMA_SYNC_FORKERNEL); in bge_poll_ring()
H A Dbge_impl.h1016 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ macro
H A Dbge_main2.c268 DMA_SYNC(srp->desc, DDI_DMA_SYNC_FORDEV); in bge_reinit_send_ring()
321 DMA_SYNC(brp->desc, DDI_DMA_SYNC_FORDEV); in bge_reinit_buff_ring()
/titanic_50/usr/src/uts/common/io/rge/
H A Drge_rxtx.c228 DMA_SYNC(srbdp->rx_buf->pbuf, DDI_DMA_SYNC_FORKERNEL); in rge_receive_packet()
328 DMA_SYNC(rgep->rx_desc, DDI_DMA_SYNC_FORKERNEL); in rge_receive_ring()
558 DMA_SYNC(ssbdp->pbuf, DDI_DMA_SYNC_FORDEV); in rge_send_copy()
651 DMA_SYNC(rgep->tx_desc, DDI_DMA_SYNC_FORDEV); in rge_send()
H A Drge_main.c329 DMA_SYNC(rgep->tx_desc, DDI_DMA_SYNC_FORDEV); in rge_reinit_send_ring()
365 DMA_SYNC(rgep->rx_desc, DDI_DMA_SYNC_FORDEV); in rge_reinit_recv_ring()
511 DMA_SYNC(rgep->tx_desc, DDI_DMA_SYNC_FORDEV); in rge_init_send_ring()
573 DMA_SYNC(rgep->rx_desc, DDI_DMA_SYNC_FORDEV); in rge_init_recv_ring()
H A Drge.h543 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ macro
H A Drge_chip.c1324 DMA_SYNC(rgep->dma_area_stats, DDI_DMA_SYNC_FORKERNEL); in rge_hw_stats_dump()
/titanic_50/usr/src/uts/common/io/dmfe/
H A Ddmfe_impl.h313 #define DMA_SYNC(descp, flag) ((void) ddi_dma_sync((descp)->dma_hdl, \ macro
H A Ddmfe_main.c437 DMA_SYNC(descp, DDI_DMA_SYNC_FORDEV); in dmfe_init_rings()
468 DMA_SYNC(descp, DDI_DMA_SYNC_FORDEV); in dmfe_init_rings()
633 DMA_SYNC(descp, DDI_DMA_SYNC_FORKERNEL); in dmfe_getp()
775 DMA_SYNC(descp, DDI_DMA_SYNC_FORDEV); in dmfe_getp()
943 DMA_SYNC(descp, DDI_DMA_SYNC_FORKERNEL); in dmfe_reclaim_tx_desc()
1148 DMA_SYNC(descp, DDI_DMA_SYNC_FORDEV); in dmfe_send_msg()
/titanic_50/usr/src/uts/common/io/nge/
H A Dnge_rx.c163 DMA_SYNC(*srbdp->bufp, DDI_DMA_SYNC_FORKERNEL); in nge_recv_packet()
H A Dnge.h842 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ macro
H A Dnge_tx.c398 DMA_SYNC(ssbdp->pbuf, DDI_DMA_SYNC_FORDEV); in nge_send_copy()
H A Dnge_main.c605 DMA_SYNC(srp->desc, DDI_DMA_SYNC_FORDEV); in nge_reinit_send_ring()
639 DMA_SYNC(rrp->desc, DDI_DMA_SYNC_FORDEV); in nge_reinit_recv_ring()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h211 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_handle, \ macro

12