/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_pci.c | 234 DDI_DMA_SLEEP, NULL, &dmah->dma_hdl)) { 239 if (ret = ddi_dma_mem_alloc(dmah->dma_hdl, size, &hw_acc_attr, 247 ret = ddi_dma_addr_bind_handle(dmah->dma_hdl, NULL, 257 (void) ddi_dma_unbind_handle(dmah->dma_hdl); 270 ddi_dma_free_handle(&dmah->dma_hdl); 284 (void) ddi_dma_unbind_handle(dmah->dma_hdl); 286 ddi_dma_free_handle(&dmah->dma_hdl);
|
H A D | ati_pcigart.c | 101 ddi_dma_nextcookie(dmah->dma_hdl, &dmah->cookie); 106 (void) ddi_dma_sync(entry->dmah_gart->dma_hdl, 0,
|
H A D | drm_gem.c | 287 DDI_DMA_DONTWAIT, NULL, &obj->dma_hdl)) { 292 if (ddi_dma_mem_alloc(obj->dma_hdl, ptob(pgcnt), &acc_attr, 299 if (ddi_dma_addr_bind_handle(obj->dma_hdl, NULL, 325 ddi_dma_nextcookie(obj->dma_hdl, &cookie); 367 (void) ddi_dma_unbind_handle(obj->dma_hdl); 371 ddi_dma_free_handle(&obj->dma_hdl); 660 (void) ddi_dma_unbind_handle(obj->dma_hdl); 662 ddi_dma_free_handle(&obj->dma_hdl);
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ixl_misc.c | 279 ddi_dma_handle_t dma_hdl; local 291 dma_hdl = dma->dma_buf->bi_dma_handle; 297 err = ddi_dma_sync(dma_hdl, hcidesc_off, 323 err = ddi_dma_sync(dma_hdl, hcidesc_off, 353 err = ddi_dma_sync(dma_hdl, hcidesc_off, 392 err = ddi_dma_sync(dma_hdl, hcidesc_off,
|
H A D | hci1394_ixl_update.c | 538 ddi_dma_handle_t dma_hdl; local 611 dma_hdl = xferctlp->dma[xferctlp->cnt - 1].dma_buf->bi_dma_handle; 614 err = ddi_dma_sync(dma_hdl, (off_t)hcidescp, sizeof (hci1394_desc_t), 991 ddi_dma_handle_t dma_hdl; local 1091 dma_hdl = xferctlp->dma[0].dma_buf->bi_dma_handle; 1094 err = ddi_dma_sync(dma_hdl, (off_t)hcidescp, sizeof (hci1394_desc_t), 1239 ddi_dma_handle_t dma_hdl; local 1354 dma_hdl = xferctlp->dma[0].dma_buf->bi_dma_handle; 1357 err = ddi_dma_sync(dma_hdl, (off_t)hcidescp, 1525 ddi_dma_handle_t dma_hdl; local [all...] |
H A D | hci1394_ixl_isr.c | 545 ddi_dma_handle_t dma_hdl; local 655 dma_hdl = dma->dma_buf->bi_dma_handle; 660 err = ddi_dma_sync(dma_hdl, hcidesc_off, sizeof (hci1394_desc_t), 838 dma_hdl = dma->dma_buf->bi_dma_handle; 843 err = ddi_dma_sync(dma_hdl, hcidesc_off,
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_rx.c | 334 (void) ddi_dma_sync(rrp->desc.dma_hdl, 339 (void) ddi_dma_sync(rrp->desc.dma_hdl, 343 (void) ddi_dma_sync(rrp->desc.dma_hdl, 394 (void) ddi_dma_sync(rrp->desc.dma_hdl, 399 (void) ddi_dma_sync(rrp->desc.dma_hdl, 403 (void) ddi_dma_sync(rrp->desc.dma_hdl,
|
/illumos-gate/usr/src/uts/common/io/rwd/ |
H A D | rt2661_var.h | 37 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:dma_area 200 #define RT2661_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl,\
|
H A D | rt2661.c | 538 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); 548 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, 560 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, 582 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); 586 ddi_dma_free_handle(&dma_p->dma_hdl); 594 if (dma_p->dma_hdl != NULL) { 595 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); 600 ddi_dma_free_handle(&dma_p->dma_hdl); 602 dma_p->dma_hdl = NULL; 668 (void) ddi_dma_sync(ring->txdesc_dma.dma_hdl, [all...] |
/illumos-gate/usr/src/uts/common/io/rwn/ |
H A D | rt2860_var.h | 64 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:dma_area 116 #define RT2860_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl,\
|
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpivar.h | 65 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \ 79 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:wpi_dma_area
|
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh_var.h | 37 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \ 51 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:iwh_dma_area
|
/illumos-gate/usr/src/uts/common/io/iwk/ |
H A D | iwk2_var.h | 37 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \ 51 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:iwk_dma_area
|
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp_var.h | 37 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \ 51 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:iwp_dma_area
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 195 if (bge_check_dma_handle(bgep, srbdp->pbuf.dma_hdl) != DDI_FM_OK) { 305 if (bge_check_dma_handle(bgep, rrp->desc.dma_hdl) != DDI_FM_OK) { 375 if (bge_check_dma_handle(bgep, rrp->desc.dma_hdl) != DDI_FM_OK) {
|
H A D | bge_send.c | 429 (void) ddi_dma_sync(txbuf->buf.dma_hdl, 0, 471 (void) ddi_dma_sync(ssbdp->desc.dma_hdl, 0, 478 (void) ddi_dma_sync(ssbdp->desc.dma_hdl, 0,
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 145 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); 147 dma_p->dma_hdl = NULL; 154 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, acc_attr_p, 158 ddi_dma_free_handle(&dma_p->dma_hdl); 159 dma_p->dma_hdl = NULL; 168 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, 173 ddi_dma_free_handle(&dma_p->dma_hdl); 175 dma_p->dma_hdl = NULL; 192 if (dma_p->dma_hdl != NULL) { 194 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); [all...] |
/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | rtwvar.h | 167 #define RTW_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl,\ 171 ((void) ddi_dma_sync((area).dma_hdl, offset, len, (flag))) 184 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:dma_area
|
/illumos-gate/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 1150 (void) ddi_dma_sync(rtlsp->dma_area_tx[cur_desc].dma_hdl, 0, totlen, 1312 (void) ddi_dma_sync(rtlsp->dma_area_rx.dma_hdl, 1316 (void) ddi_dma_sync(rtlsp->dma_area_rx.dma_hdl, 1348 (void) ddi_dma_sync(rtlsp->dma_area_rx.dma_hdl, 1503 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); 1508 dma_p->dma_hdl = NULL; 1515 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, 1522 ddi_dma_free_handle(&dma_p->dma_hdl); 1523 dma_p->dma_hdl = NULL; 1532 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NUL [all...] |
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_impl.h | 121 #define ATH_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \ 215 ddi_dma_handle_t dma_hdl; /* DMA handle */ member in struct:dma_area
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_impl.h | 85 ddi_dma_handle_t dma_hdl; member in struct:__anon5294 313 #define DMA_SYNC(descp, flag) ((void) ddi_dma_sync((descp)->dma_hdl, \
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwn.c | 1763 &dma->dma_hdl); 1770 error = ddi_dma_mem_alloc(dma->dma_hdl, size, acc_attr, 1781 error = ddi_dma_addr_bind_handle(dma->dma_hdl, NULL, dma->vaddr, 1802 ddi_dma_free_handle(&dma->dma_hdl); 1811 if (dma->dma_hdl != NULL) { 1813 (void) ddi_dma_unbind_handle(dma->dma_hdl); 1814 ddi_dma_free_handle(&dma->dma_hdl); 1932 (void) ddi_dma_sync(ring->desc_dma.dma_hdl, 0, 0, DDI_DMA_SYNC_FORDEV); 1971 if (data->dma_data.dma_hdl) 2047 (void) ddi_dma_sync(data->dma_data.dma_hdl, [all...] |
/illumos-gate/usr/src/uts/intel/io/amd8111s/ |
H A D | amd8111s_main.c | 945 pRing->dma_hdl = kmem_zalloc(sizeof (ddi_dma_handle_t) * 953 if (pRing->msg_buf == NULL || pRing->dma_hdl == NULL || 963 DDI_DMA_SLEEP, NULL, &(pRing->dma_hdl[idx])) 969 } else if (ddi_dma_mem_alloc(pRing->dma_hdl[idx], 983 } else if (ddi_dma_addr_bind_handle(pRing->dma_hdl[idx], 1004 pRing->dma_hdl[idx]; 1033 (void) ddi_dma_unbind_handle(pRing->dma_hdl[idx]); 1049 if (pRing->dma_hdl != NULL) { 1051 if (pRing->dma_hdl[idx] == 0) { 1054 ddi_dma_free_handle(&pRing->dma_hdl[id [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 443 if (dma_p->dma_hdl != NULL) { 445 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); 453 if (dma_p->dma_hdl != NULL) { 454 ddi_dma_free_handle(&dma_p->dma_hdl); 455 dma_p->dma_hdl = NULL; 470 NULL, &dma_p->dma_hdl); 477 ret = ddi_dma_mem_alloc(dma_p->dma_hdl, 494 ret = ddi_dma_addr_bind_handle(dma_p->dma_hdl,
|
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 354 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); 364 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, 376 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, 399 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); 403 ddi_dma_free_handle(&dma_p->dma_hdl); 411 if (dma_p->dma_hdl != NULL) { 412 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); 417 ddi_dma_free_handle(&dma_p->dma_hdl); 419 dma_p->dma_hdl = NULL; 511 (void) ddi_dma_sync(ring->rxdesc_dma.dma_hdl, [all...] |