Lines Matching refs:dhdl
114 static int free_dma_memory(ddi_dma_handle_t *dhdl, ddi_acc_handle_t *ahdl);
118 static int free_desc_ring(ddi_dma_handle_t *dhdl, ddi_acc_handle_t *ahdl);
1108 rc = alloc_desc_ring(sc, len, DDI_DMA_READ, &iq->dhdl, &iq->ahdl,
1150 rc = alloc_desc_ring(sc, len, DDI_DMA_WRITE, &fl->dhdl,
1251 (void) free_desc_ring(&iq->dhdl, &iq->ahdl);
1270 (void) free_desc_ring(&fl->dhdl, &fl->ahdl);
1788 ddi_dma_handle_t dhdl;
1800 rc = ddi_dma_alloc_handle(sc->dip, dma_attr, DDI_DMA_SLEEP, 0, &dhdl);
1811 rc = ddi_dma_mem_alloc(dhdl, len, acc_attr,
1818 ddi_dma_free_handle(&dhdl);
1830 rc = ddi_dma_addr_bind_handle(dhdl, NULL, va, real_len, flags, NULL,
1837 ddi_dma_free_handle(&dhdl);
1843 (void) free_desc_ring(&dhdl, &ahdl);
1847 *dma_hdl = dhdl;
1856 free_dma_memory(ddi_dma_handle_t *dhdl, ddi_acc_handle_t *ahdl)
1858 (void) ddi_dma_unbind_handle(*dhdl);
1860 ddi_dma_free_handle(dhdl);
1878 free_desc_ring(ddi_dma_handle_t *dhdl, ddi_acc_handle_t *ahdl)
1880 return (free_dma_memory(dhdl, ahdl));
1898 (void) ddi_dma_sync(iq->dhdl, (uintptr_t)iq->cdesc -
2095 (void) ddi_dma_sync(rxb->dhdl, offset, n,
2356 ddi_dma_handle_t dhdl;
2368 dhdl = txq->tx_dhdl[txq->tx_dhdl_pidx];
2369 rc = ddi_dma_addr_bind_handle(dhdl, NULL, (caddr_t)m->b_rptr, len,
2381 (void) ddi_dma_unbind_handle(dhdl);
2387 ddi_dma_nextcookie(dhdl, &cookie);
2988 (void) ddi_dma_sync(fl->dhdl, desc_start * RX_FL_ESIZE, 0,
2993 (void) ddi_dma_sync(fl->dhdl, 0, desc_last *
2998 (void) ddi_dma_sync(fl->dhdl, desc_start * RX_FL_ESIZE,