Home
last modified time | relevance | path

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

/titanic_44/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()
2802 status = hermon_mr_mem_bind(state, bind, dmahdl, sleep, 1); 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()
2906 status = hermon_mr_mem_bind(state, bind, dmahdl, sleep, 1); in hermon_mr_rereg_xlat_helper()
[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()
2487 status = ddi_dma_buf_bind_handle(dmahdl, iov_attr->iov_buf, 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()
2544 status = ddi_dma_addr_bind_handle(dmahdl, iov_attr->iov_as, 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()
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_mr.c65 ddi_dma_handle_t dmahdl, uint_t sleep);
2118 ddi_dma_handle_t dmahdl; in tavor_mr_rereg_xlat_helper() local
2204 dmahdl = mr->mr_bindinfo.bi_dmahdl; in tavor_mr_rereg_xlat_helper()
2208 dmahdl = NULL; in tavor_mr_rereg_xlat_helper()
2223 status = tavor_mr_mem_bind(state, bind, dmahdl, sleep); in tavor_mr_rereg_xlat_helper()
2226 ddi_dma_free_handle(&dmahdl); in tavor_mr_rereg_xlat_helper()
2301 dmahdl = mr->mr_bindinfo.bi_dmahdl; in tavor_mr_rereg_xlat_helper()
2305 dmahdl = NULL; in tavor_mr_rereg_xlat_helper()
2309 dmahdl = NULL; in tavor_mr_rereg_xlat_helper()
2324 status = tavor_mr_mem_bind(state, bind, dmahdl, sleep); in tavor_mr_rereg_xlat_helper()
[all …]
H A Dtavor_ci.c3095 ddi_dma_handle_t dmahdl; in tavor_ci_map_mem_iov() local
3149 callback, NULL, &dmahdl); in tavor_ci_map_mem_iov()
3154 status = ddi_dma_buf_bind_handle(dmahdl, iov_attr->iov_buf, in tavor_ci_map_mem_iov()
3158 ddi_dma_free_handle(&dmahdl); in tavor_ci_map_mem_iov()
3164 status = ddi_dma_unbind_handle(dmahdl); in tavor_ci_map_mem_iov()
3165 ddi_dma_free_handle(&dmahdl); in tavor_ci_map_mem_iov()
3173 ddi_dma_nextcookie(dmahdl, &dmacookie); in tavor_ci_map_mem_iov()
3177 mi_hdl->imh_dmahandle[0] = dmahdl; in tavor_ci_map_mem_iov()
3203 callback, NULL, &dmahdl); in tavor_ci_map_mem_iov()
3208 status = ddi_dma_addr_bind_handle(dmahdl, iov_attr->iov_as, in tavor_ci_map_mem_iov()
[all …]
H A Dtavor_cfg.c783 ddi_dma_handle_t dmahdl; in tavor_check_iommu_bypass() local
802 DDI_DMA_SLEEP, NULL, &dmahdl); in tavor_check_iommu_bypass()
812 ddi_dma_free_handle(&dmahdl); in tavor_check_iommu_bypass()
H A Dtavor_wr.c2084 ddi_dma_handle_t dmahdl; in tavor_wqe_sync() local
2096 dmahdl = srq->srq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync()
2101 dmahdl = qp->qp_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_wqe_sync()
2156 status = ddi_dma_sync(dmahdl, offset, length, flag); in tavor_wqe_sync()
2167 status = ddi_dma_sync(dmahdl, offset, length, flag); in tavor_wqe_sync()
2179 status = ddi_dma_sync(dmahdl, offset, length, flag); in tavor_wqe_sync()
H A Dtavor_cq.c1638 ddi_dma_handle_t dmahdl; in tavor_cqe_sync() local
1651 dmahdl = cq->cq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_cqe_sync()
1655 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_cqe_t), flag); in tavor_cqe_sync()
H A Dtavor_event.c1295 ddi_dma_handle_t dmahdl; in tavor_eqe_sync() local
1308 dmahdl = eq->eq_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_eqe_sync()
1312 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_eqe_t), flag); in tavor_eqe_sync()
H A Dtavor_misc.c514 ddi_dma_handle_t dmahdl; in tavor_udav_sync() local
529 dmahdl = ah->ah_mrhdl->mr_bindinfo.bi_dmahdl; in tavor_udav_sync()
533 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_udav_t), flag); in tavor_udav_sync()
H A Dtavor_cmd.c1259 ddi_dma_handle_t dmahdl; in tavor_mbox_sync() local
1271 dmahdl = mbox->mb_rsrcptr->tr_dmahdl; in tavor_mbox_sync()
1274 status = ddi_dma_sync(dmahdl, (off_t)offset, (size_t)length, flag); in tavor_mbox_sync()
/titanic_44/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c395 if (nodep->dmahdl != NULL) { in unm_free_tx_dmahdl()
396 ddi_dma_free_handle(&nodep->dmahdl); in unm_free_tx_dmahdl()
397 nodep->dmahdl = NULL; in unm_free_tx_dmahdl()
417 DDI_DMA_DONTWAIT, NULL, &nodep->dmahdl) != DDI_SUCCESS) { in unm_alloc_tx_dmahdl()
530 (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