Home
last modified time | relevance | path

Searched refs:dmahdl (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c473 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 Dhermon_mr.c74 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 Dhermon_ci.c2436 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 Dhermon_cmd.c1304 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 Dbnxhwi.c59 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 Dtavor_mr.c65 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 Dtavor_ci.c2564 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 Dtavor_cfg.c767 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 Dtavor_wr.c1969 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 Dtavor_cq.c1521 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 Dtavor_event.c1187 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 Dtavor_misc.c480 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 Dtavor_cmd.c1131 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 Dunm_gem.c400 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 Dunm_nic_main.c918 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 Dunm_nic.h172 ddi_dma_handle_t dmahdl; member