/titanic_50/usr/src/uts/common/io/atge/ |
H A D | atge_l1.c | 321 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 D | atge_l1c.c | 356 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 D | atge_l1e.c | 309 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 D | atge.h | 146 #define DMA_SYNC(dma, s, l, d) \ macro
|
H A D | atge_main.c | 582 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 D | igb_rx.c | 146 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_copy() 221 DMA_SYNC(¤t_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 D | igb_tx.c | 521 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 D | igb_sw.h | 242 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area)->dma_handle, \ macro
|
/titanic_50/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_rx.c | 155 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_rx_copy() 229 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_rx_bind() 303 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_lro_bind() 418 DMA_SYNC(¤t_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 D | ixgbe_tx.c | 620 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 D | ixgbe_sw.h | 312 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area)->dma_handle, \ macro
|
/titanic_50/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 194 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 D | bge_impl.h | 1016 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ macro
|
H A D | bge_main2.c | 268 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 D | rge_rxtx.c | 228 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 D | rge_main.c | 329 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 D | rge.h | 543 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ macro
|
H A D | rge_chip.c | 1324 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 D | dmfe_impl.h | 313 #define DMA_SYNC(descp, flag) ((void) ddi_dma_sync((descp)->dma_hdl, \ macro
|
H A D | dmfe_main.c | 437 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 D | nge_rx.c | 163 DMA_SYNC(*srbdp->bufp, DDI_DMA_SYNC_FORKERNEL); in nge_recv_packet()
|
H A D | nge.h | 842 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ macro
|
H A D | nge_tx.c | 398 DMA_SYNC(ssbdp->pbuf, DDI_DMA_SYNC_FORDEV); in nge_send_copy()
|
H A D | nge_main.c | 605 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 D | qlge.h | 211 #define DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_handle, \ macro
|