/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_buf.c | 85 DDI_DMA_DONTWAIT, NULL, &dbuf->dma_handle); 92 ret = ddi_dma_mem_alloc(dbuf->dma_handle, size, &oce_dma_buf_accattr, 102 ret = ddi_dma_addr_bind_handle(dbuf->dma_handle, 122 ddi_dma_free_handle(&dbuf->dma_handle); 144 if (dbuf->dma_handle != NULL) { 145 (void) ddi_dma_unbind_handle(dbuf->dma_handle); 150 if (dbuf->dma_handle != NULL) { 151 ddi_dma_free_handle(&dbuf->dma_handle);
|
H A D | oce_fm.c | 115 * dma_handle - dma handle to the resources on which to check for errors 120 oce_fm_check_dma_handle(struct oce_dev *dev, ddi_dma_handle_t dma_handle) argument 128 (void) ddi_fm_dma_err_get(dma_handle, &fme, DDI_FME_VERSION);
|
H A D | oce_mbx.c | 1242 ddi_dma_handle_t dma_handle; local 1302 &dma_handle); 1311 ret = ddi_dma_mem_alloc(dma_handle, alloc_len, 1330 dma_handle, 1356 (void) ddi_dma_nextcookie(dma_handle, &cookie); 1388 (void) ddi_dma_sync(dma_handle, 0, 0, 1391 if (oce_fm_check_dma_handle(dev, dma_handle) != 1421 (void) ddi_dma_sync(dma_handle, 0, 0, 1423 if (oce_fm_check_dma_handle(dev, dma_handle) != DDI_FM_OK) { 1434 (void) ddi_dma_unbind_handle(dma_handle); [all...] |
H A D | oce_tx.c | 98 if (wqmd->dma_handle != NULL) 99 (void) ddi_dma_free_handle(&(wqmd->dma_handle)); 100 wqmd->dma_handle = NULL; 120 DDI_DMA_DONTWAIT, NULL, &wqmd->dma_handle); 354 (void) ddi_dma_unbind_handle(wqmd->dma_handle); 523 ret = ddi_dma_addr_bind_handle(wqmd->dma_handle, 544 ddi_dma_nextcookie(wqmd->dma_handle, 567 (void) ddi_dma_sync(cq->ring->dbuf->dma_handle, 0, 0, 864 (void) ddi_dma_sync(wq->ring->dbuf->dma_handle, 0, 0,
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_sgl.h | 67 ddi_dma_handle_t dma_handle; member in struct:pmcs_dmachunk
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_alloc.c | 793 &buf->dma_handle); 796 buf->dma_handle = NULL; 805 if (buf->dma_handle != NULL) { 806 dvma_release(buf->dma_handle); 807 buf->dma_handle = NULL; 814 dvma_kaddr_load(buf->dma_handle, 827 if (buf->dma_handle != NULL) { 828 dvma_unload(buf->dma_handle, 0, -1); 840 if (buf->dma_handle != NULL) { 841 dvma_release(buf->dma_handle); [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_buf.c | 336 &tx_ring->tbd_area.dma_handle); 341 tx_ring->tbd_area.dma_handle = NULL; 350 ret = ddi_dma_mem_alloc(tx_ring->tbd_area.dma_handle, 361 if (tx_ring->tbd_area.dma_handle != NULL) { 362 ddi_dma_free_handle(&tx_ring->tbd_area.dma_handle); 363 tx_ring->tbd_area.dma_handle = NULL; 378 ret = ddi_dma_addr_bind_handle(tx_ring->tbd_area.dma_handle, 392 if (tx_ring->tbd_area.dma_handle != NULL) { 393 ddi_dma_free_handle(&tx_ring->tbd_area.dma_handle); 394 tx_ring->tbd_area.dma_handle [all...] |
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_buf.c | 231 &tx_ring->tbd_area.dma_handle); 236 tx_ring->tbd_area.dma_handle = NULL; 245 ret = ddi_dma_mem_alloc(tx_ring->tbd_area.dma_handle, 256 if (tx_ring->tbd_area.dma_handle != NULL) { 257 ddi_dma_free_handle(&tx_ring->tbd_area.dma_handle); 258 tx_ring->tbd_area.dma_handle = NULL; 273 ret = ddi_dma_addr_bind_handle(tx_ring->tbd_area.dma_handle, 287 if (tx_ring->tbd_area.dma_handle != NULL) { 288 ddi_dma_free_handle(&tx_ring->tbd_area.dma_handle); 289 tx_ring->tbd_area.dma_handle [all...] |
H A D | igb_rx.c | 149 current_rcb->rx_buf.dma_handle) != DDI_FM_OK) { 224 current_rcb->rx_buf.dma_handle) != DDI_FM_OK) { 346 rx_data->rbd_area.dma_handle) != DDI_FM_OK) {
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | iommulib.h | 66 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 69 dev_info_t *rdip, ddi_dma_handle_t dma_handle, 74 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 77 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, 81 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, 86 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, 90 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, 224 ddi_dma_handle_t dma_handle); 227 ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, 231 ddi_dma_handle_t dma_handle); [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam_ring_buff.c | 98 &(buff_info_p->dma_handle))) != DDI_SUCCESS) { 104 buff_info_p->dma_handle, 132 buff_info_p->dma_handle, 171 (void) ddi_dma_unbind_handle(buff_info_p->dma_handle); 173 ddi_dma_free_handle(&buff_info_p->dma_handle);
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.c | 48 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 50 dev_info_t *rdip, ddi_dma_handle_t dma_handle, 54 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 56 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, 59 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, 63 dev_info_t *rdip, ddi_dma_handle_t dma_handle, 66 dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao); 1487 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) 1489 return (iommulib_iommu_dma_freehdl(dip, rdip, dma_handle)); 1616 dev_info_t *rdip, ddi_dma_handle_t dma_handle, 1486 amd_iommu_freehdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 1615 amd_iommu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 1704 amd_iommu_unbindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 1756 amd_iommu_sync(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cache_flags) argument 1804 amd_iommu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 1893 amd_iommu_mapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument 1902 amd_iommu_unmapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_buf.h | 66 ddi_dma_handle_t dma_handle; member in struct:oce_dma_buf_s 76 #define DBUF_DHDL(obj) (((oce_dma_buf_t *)(obj))->dma_handle) 107 ddi_dma_handle_t dma_handle; member in struct:oce_wq_mdesc_s
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | bofi_impl.h | 82 ddi_dma_handle_t dma_handle; member in union:bofi_shadow::__anon7045
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_diag.c | 350 EMLXS_MPDATA_SYNC(mp->dma_handle, 0, MEM_ELSBUF_SIZE, 354 EMLXS_MPDATA_SYNC(mp1->dma_handle, 0, MEM_ELSBUF_SIZE, 370 EMLXS_MPDATA_SYNC(mp1->dma_handle, 0, MEM_ELSBUF_SIZE, 397 if (emlxs_fm_check_dma_handle(hba, mp->dma_handle) 402 mp->dma_handle); 410 if (emlxs_fm_check_dma_handle(hba, mp1->dma_handle) 415 mp1->dma_handle);
|
H A D | emlxs_mem.c | 462 mp->dma_handle = buf_info->dma_handle; 619 buf_info->dma_handle = mp->dma_handle; 1064 mp->dma_handle = buf_info->dma_handle; 1090 buf_info->dma_handle = mp->dma_handle; 1259 EMLXS_MPDATA_SYNC(mp->dma_handle, 0, mp->size, 1294 EMLXS_MPDATA_SYNC(mp->dma_handle, [all...] |
/illumos-gate/usr/src/uts/intel/io/ |
H A D | iommulib.c | 657 ddi_dma_handle_t dma_handle) 667 rdip, dma_handle); 674 ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, 683 return (unitp->ilu_ops->ilops_dma_bindhdl(handle, dip, rdip, dma_handle, 689 ddi_dma_handle_t dma_handle) 698 dma_handle)); 703 ddi_dma_handle_t dma_handle, off_t off, size_t len, 712 return (unitp->ilu_ops->ilops_dma_sync(handle, dip, rdip, dma_handle, 718 ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, 727 return (unitp->ilu_ops->ilops_dma_win(handle, dip, rdip, dma_handle, 656 iommulib_nexdma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 673 iommulib_nexdma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 688 iommulib_nexdma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 702 iommulib_nexdma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cache_flags) argument 717 iommulib_nexdma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 732 iommulib_nexdma_mapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument 744 iommulib_nexdma_unmapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.h | 55 ddi_dma_handle_t dma_handle; member in struct:qlt_dma_handle
|
H A D | qlt_dma.c | 427 rv = ddi_dma_sync(th->dma_handle, 491 qlt_handle->dma_handle = ddi_handle; 564 rv = ddi_dma_unbind_handle(tmp_handle->dma_handle); 632 ddi_dma_nextcookie(fetch->dma_handle, cookiep); 695 th->dma_handle, 756 ddi_dma_nextcookie(th->dma_handle, cookie_p++);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 174 (void) ddi_dma_sync(qlge->host_copy_shadow_dma_attr.dma_handle, 1416 if (sbq_desc->bd_dma.dma_handle != NULL) { 1417 ql_free_phys(&sbq_desc->bd_dma.dma_handle, 1419 sbq_desc->bd_dma.dma_handle = NULL; 1476 if (ql_alloc_phys_rbuf(qlge->dip, &sbq_desc->bd_dma.dma_handle, 1558 if (lbq_desc->bd_dma.dma_handle != NULL) { 1559 ql_free_phys(&lbq_desc->bd_dma.dma_handle, 1561 lbq_desc->bd_dma.dma_handle = NULL; 1626 if (ql_alloc_phys_rbuf(qlge->dip, &lbq_desc->bd_dma.dma_handle, 1966 (void) ddi_dma_sync(sbq_desc->bd_dma.dma_handle, 3190 ql_free_phys(ddi_dma_handle_t *dma_handle, ddi_acc_handle_t *acc_handle) argument 3741 ql_alloc_phys_rbuf(dev_info_t *dip, ddi_dma_handle_t *dma_handle, ddi_device_acc_attr_t *device_acc_attr, uint_t dma_flags, ddi_acc_handle_t *acc_handle, size_t size, size_t alignment, caddr_t *vaddr, ddi_dma_cookie_t *dma_cookie) argument 3822 ql_alloc_phys(dev_info_t *dip, ddi_dma_handle_t *dma_handle, ddi_device_acc_attr_t *device_acc_attr, uint_t dma_flags, ddi_acc_handle_t *acc_handle, size_t size, size_t alignment, caddr_t *vaddr, ddi_dma_cookie_t *dma_cookie) argument [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_send.c | 117 hxge_os_dma_handle_t dma_handle; local 329 dma_handle = tx_msg_p->buf_dma_handle; 332 (void) ddi_dma_sync(dma_handle, 424 dma_handle = tx_msg_p->buf_dma_handle; 427 (void) ddi_dma_sync(dma_handle, 450 dma_handle = tx_msg_p->dma_handle; 451 dma_status = ddi_dma_addr_bind_handle(dma_handle, NULL, 491 ddi_dma_nextcookie(dma_handle, 826 tx_msg_p->dma_handle)) { [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_dvma.c | 94 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 96 dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req, 99 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 101 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, 104 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, 107 dev_info_t *rdip, ddi_dma_handle_t dma_handle, 110 dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao); 3090 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) 3094 ihp = iommulib_iommu_dmahdl_getprivate(dip, rdip, dma_handle); 3101 return (iommulib_iommu_dma_freehdl(dip, rdip, dma_handle)); 3089 immu_freehdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 3107 immu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 3128 immu_unbindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 3136 immu_sync(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cachefl) argument 3146 immu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 3157 immu_mapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument 3170 immu_unmapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/ |
H A D | ohcid.h | 806 #define Sync_IO_Buffer(dma_handle, length) \ 807 (void) ddi_dma_sync(dma_handle, \ 809 #define Sync_IO_Buffer_for_device(dma_handle, length) \ 810 (void) ddi_dma_sync(dma_handle, \
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhciutil.c | 2484 tw->tw_isoc_bufs[i].dma_handle); 2487 ddi_dma_free_handle(&tw->tw_isoc_bufs[i].dma_handle); 3150 &td_pool_ptr1->dma_handle) != DDI_SUCCESS) { 3155 td_pool_ptr2->dma_handle); 3158 ddi_dma_free_handle(&td_pool_ptr2->dma_handle); 3169 if (ddi_dma_mem_alloc(td_pool_ptr1->dma_handle, 3175 ddi_dma_free_handle(&td_pool_ptr1->dma_handle); 3180 td_pool_ptr2->dma_handle); 3183 ddi_dma_free_handle(&td_pool_ptr2->dma_handle); 3194 result = ddi_dma_addr_bind_handle(td_pool_ptr1->dma_handle, [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnf.h | 51 ddi_dma_handle_t dma_handle; member in struct:xnf_buf
|