/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cfg.c | 473 ddi_dma_handle_t dmahdl; in hermon_check_iommu_bypass() local 497 DDI_DMA_SLEEP, NULL, &dmahdl); in hermon_check_iommu_bypass() 510 status = ddi_dma_mem_alloc(dmahdl, 256, in hermon_check_iommu_bypass() 517 ddi_dma_free_handle(&dmahdl); in hermon_check_iommu_bypass() 521 status = ddi_dma_addr_bind_handle(dmahdl, NULL, kaddr, actual_len, in hermon_check_iommu_bypass() 525 (void) ddi_dma_unbind_handle(dmahdl); in hermon_check_iommu_bypass() 532 ddi_dma_free_handle(&dmahdl); in hermon_check_iommu_bypass()
|
H A D | hermon_mr.c | 74 ddi_dma_handle_t dmahdl, uint_t sleep, uint_t is_buffer); 2702 ddi_dma_handle_t dmahdl; in hermon_mr_rereg_xlat_helper() local 2783 dmahdl = mr->mr_bindinfo.bi_dmahdl; in hermon_mr_rereg_xlat_helper() 2787 dmahdl = NULL; in hermon_mr_rereg_xlat_helper() 2805 ddi_dma_free_handle(&dmahdl); in hermon_mr_rereg_xlat_helper() 2883 dmahdl = mr->mr_bindinfo.bi_dmahdl; in hermon_mr_rereg_xlat_helper() 2887 dmahdl = NULL; in hermon_mr_rereg_xlat_helper() 2891 dmahdl = NULL; in hermon_mr_rereg_xlat_helper() 2909 ddi_dma_free_handle(&dmahdl); in hermon_mr_rereg_xlat_helper() 3117 if (dmahdl == NULL) { in hermon_mr_mem_bind() [all …]
|
H A D | hermon_ci.c | 2436 ddi_dma_handle_t dmahdl; in hermon_ci_map_mem_iov() local 2482 callback, NULL, &dmahdl); in hermon_ci_map_mem_iov() 2491 ddi_dma_free_handle(&dmahdl); in hermon_ci_map_mem_iov() 2497 status = ddi_dma_unbind_handle(dmahdl); in hermon_ci_map_mem_iov() 2501 ddi_dma_free_handle(&dmahdl); in hermon_ci_map_mem_iov() 2509 ddi_dma_nextcookie(dmahdl, &dmacookie); in hermon_ci_map_mem_iov() 2513 mi_hdl->imh_dmahandle[0] = dmahdl; in hermon_ci_map_mem_iov() 2539 callback, NULL, &dmahdl); in hermon_ci_map_mem_iov() 2562 ddi_dma_nextcookie(dmahdl, &dmacookie); in hermon_ci_map_mem_iov() 2564 mi_hdl->imh_dmahandle[i] = dmahdl; in hermon_ci_map_mem_iov() [all …]
|
H A D | hermon_cmd.c | 1304 ddi_dma_handle_t dmahdl; in hermon_mbox_sync() local 1308 dmahdl = mbox->mb_rsrcptr->hr_dmahdl; in hermon_mbox_sync() 1311 status = ddi_dma_sync(dmahdl, (off_t)offset, (size_t)length, flag); in hermon_mbox_sync()
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnxhwi.c | 59 ddi_dma_handle_t *dmahdl; in bnx_find_dma_hdl() local 61 dmahdl = NULL; in bnx_find_dma_hdl() 64 dmahdl = &(umdevice->os_param.dma_handle[i]); in bnx_find_dma_hdl() 68 return (dmahdl); in bnx_find_dma_hdl()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 65 ddi_dma_handle_t dmahdl, uint_t sleep); 1918 ddi_dma_handle_t dmahdl; in tavor_mr_rereg_xlat_helper() local 1999 dmahdl = mr->mr_bindinfo.bi_dmahdl; in tavor_mr_rereg_xlat_helper() 2003 dmahdl = NULL; in tavor_mr_rereg_xlat_helper() 2021 ddi_dma_free_handle(&dmahdl); in tavor_mr_rereg_xlat_helper() 2091 dmahdl = mr->mr_bindinfo.bi_dmahdl; in tavor_mr_rereg_xlat_helper() 2095 dmahdl = NULL; in tavor_mr_rereg_xlat_helper() 2099 dmahdl = NULL; in tavor_mr_rereg_xlat_helper() 2117 ddi_dma_free_handle(&dmahdl); in tavor_mr_rereg_xlat_helper() 2328 if (dmahdl == NULL) { in tavor_mr_mem_bind() [all …]
|
H A D | tavor_ci.c | 2564 ddi_dma_handle_t dmahdl; in tavor_ci_map_mem_iov() local 2618 callback, NULL, &dmahdl); in tavor_ci_map_mem_iov() 2627 ddi_dma_free_handle(&dmahdl); in tavor_ci_map_mem_iov() 2633 status = ddi_dma_unbind_handle(dmahdl); in tavor_ci_map_mem_iov() 2634 ddi_dma_free_handle(&dmahdl); in tavor_ci_map_mem_iov() 2642 ddi_dma_nextcookie(dmahdl, &dmacookie); in tavor_ci_map_mem_iov() 2646 mi_hdl->imh_dmahandle[0] = dmahdl; in tavor_ci_map_mem_iov() 2672 callback, NULL, &dmahdl); in tavor_ci_map_mem_iov() 2695 ddi_dma_nextcookie(dmahdl, &dmacookie); in tavor_ci_map_mem_iov() 2697 mi_hdl->imh_dmahandle[i] = dmahdl; in tavor_ci_map_mem_iov() [all …]
|
H A D | tavor_cfg.c | 767 ddi_dma_handle_t dmahdl; in tavor_check_iommu_bypass() local 786 DDI_DMA_SLEEP, NULL, &dmahdl); in tavor_check_iommu_bypass() 796 ddi_dma_free_handle(&dmahdl); in tavor_check_iommu_bypass()
|
H A D | tavor_wr.c | 1969 ddi_dma_handle_t dmahdl; in tavor_wqe_sync() local 1979 dmahdl = srq->srq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync() 1984 dmahdl = qp->qp_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync() 2038 status = ddi_dma_sync(dmahdl, offset, length, flag); in tavor_wqe_sync() 2047 status = ddi_dma_sync(dmahdl, offset, length, flag); in tavor_wqe_sync() 2056 status = ddi_dma_sync(dmahdl, offset, length, flag); in tavor_wqe_sync()
|
H A D | tavor_cq.c | 1521 ddi_dma_handle_t dmahdl; in tavor_cqe_sync() local 1529 dmahdl = cq->cq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_cqe_sync() 1533 (void) ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_cqe_t), flag); in tavor_cqe_sync()
|
H A D | tavor_event.c | 1187 ddi_dma_handle_t dmahdl; in tavor_eqe_sync() local 1196 dmahdl = eq->eq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_eqe_sync() 1200 (void) ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_eqe_t), flag); in tavor_eqe_sync()
|
H A D | tavor_misc.c | 480 ddi_dma_handle_t dmahdl; in tavor_udav_sync() local 492 dmahdl = ah->ah_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_udav_sync() 496 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_udav_t), flag); in tavor_udav_sync()
|
H A D | tavor_cmd.c | 1131 ddi_dma_handle_t dmahdl; in tavor_mbox_sync() local 1140 dmahdl = mbox->mb_rsrcptr->tr_dmahdl; in tavor_mbox_sync() 1143 status = ddi_dma_sync(dmahdl, (off_t)offset, (size_t)length, flag); in tavor_mbox_sync()
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 400 if (nodep->dmahdl != NULL) { in unm_free_tx_dmahdl() 401 ddi_dma_free_handle(&nodep->dmahdl); in unm_free_tx_dmahdl() 402 nodep->dmahdl = NULL; in unm_free_tx_dmahdl() 422 DDI_DMA_DONTWAIT, NULL, &nodep->dmahdl) != DDI_SUCCESS) { in unm_alloc_tx_dmahdl() 535 (void) ddi_dma_unbind_handle(nodep->dmahdl); in unm_free_tx_buffers()
|
H A D | unm_nic_main.c | 918 ret = ddi_dma_addr_bind_handle(dmah->dmahdl, in unm_send_mapped() 967 ddi_dma_nextcookie(dmah->dmahdl, &cookie[index]); in unm_send_mapped() 1058 (void) ddi_dma_unbind_handle(hdlp->dmahdl); in unm_send_mapped() 1401 (void) ddi_dma_unbind_handle(dmah->dmahdl); in unm_process_cmd_ring()
|
H A D | unm_nic.h | 172 ddi_dma_handle_t dmahdl; member
|