Searched refs:dma_hdl (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_pci.c234 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 Dati_pcigart.c101 ddi_dma_nextcookie(dmah->dma_hdl, &dmah->cookie);
106 (void) ddi_dma_sync(entry->dmah_gart->dma_hdl, 0,
H A Ddrm_gem.c287 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 Dhci1394_ixl_misc.c279 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 Dhci1394_ixl_update.c538 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 Dhci1394_ixl_isr.c545 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 Dnge_rx.c334 (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 Drt2661_var.h37 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 Drt2661.c538 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 Drt2860_var.h64 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 Dwpivar.h65 (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 Diwh_var.h37 (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 Diwk2_var.h37 (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 Diwp_var.h37 (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 Dbge_recv2.c195 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 Dbge_send.c429 (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 Drge_main.c145 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 Drtwvar.h167 #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 Drtls.c1150 (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 Dath_impl.h121 #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 Ddmfe_impl.h85 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 Dif_iwn.c1763 &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 Damd8111s_main.c945 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 Dunm_gem.c443 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 Dmwl.c354 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...]

Completed in 121 milliseconds

123