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

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c473 ddi_dma_handle_t dmahdl; local
497 DDI_DMA_SLEEP, NULL, &dmahdl);
510 status = ddi_dma_mem_alloc(dmahdl, 256,
517 ddi_dma_free_handle(&dmahdl);
521 status = ddi_dma_addr_bind_handle(dmahdl, NULL, kaddr, actual_len,
525 (void) ddi_dma_unbind_handle(dmahdl);
532 ddi_dma_free_handle(&dmahdl);
H A Dhermon_mr.c74 ddi_dma_handle_t dmahdl, uint_t sleep, uint_t is_buffer);
2702 ddi_dma_handle_t dmahdl; local
2783 dmahdl = mr->mr_bindinfo.bi_dmahdl;
2787 dmahdl = NULL;
2802 status = hermon_mr_mem_bind(state, bind, dmahdl, sleep, 1);
2805 ddi_dma_free_handle(&dmahdl);
2883 dmahdl = mr->mr_bindinfo.bi_dmahdl;
2887 dmahdl = NULL;
2891 dmahdl = NULL;
2906 status = hermon_mr_mem_bind(state, bind, dmahdl, slee
3096 hermon_mr_mem_bind(hermon_state_t *state, hermon_bind_info_t *bind, ddi_dma_handle_t dmahdl, uint_t sleep, uint_t is_buffer) argument
[all...]
H A Dhermon_ci.c2436 ddi_dma_handle_t dmahdl; local
2482 callback, NULL, &dmahdl);
2487 status = ddi_dma_buf_bind_handle(dmahdl, iov_attr->iov_buf,
2491 ddi_dma_free_handle(&dmahdl);
2497 status = ddi_dma_unbind_handle(dmahdl);
2501 ddi_dma_free_handle(&dmahdl);
2509 ddi_dma_nextcookie(dmahdl, &dmacookie);
2513 mi_hdl->imh_dmahandle[0] = dmahdl;
2539 callback, NULL, &dmahdl);
2544 status = ddi_dma_addr_bind_handle(dmahdl, iov_att
[all...]
H A Dhermon_cmd.c1304 ddi_dma_handle_t dmahdl; local
1308 dmahdl = mbox->mb_rsrcptr->hr_dmahdl;
1311 status = ddi_dma_sync(dmahdl, (off_t)offset, (size_t)length, flag);
/illumos-gate/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; local
2204 dmahdl = mr->mr_bindinfo.bi_dmahdl;
2208 dmahdl = NULL;
2223 status = tavor_mr_mem_bind(state, bind, dmahdl, sleep);
2226 ddi_dma_free_handle(&dmahdl);
2301 dmahdl = mr->mr_bindinfo.bi_dmahdl;
2305 dmahdl = NULL;
2309 dmahdl = NULL;
2324 status = tavor_mr_mem_bind(state, bind, dmahdl, slee
2525 tavor_mr_mem_bind(tavor_state_t *state, tavor_bind_info_t *bind, ddi_dma_handle_t dmahdl, uint_t sleep) argument
[all...]
H A Dtavor_ci.c3095 ddi_dma_handle_t dmahdl; local
3149 callback, NULL, &dmahdl);
3154 status = ddi_dma_buf_bind_handle(dmahdl, iov_attr->iov_buf,
3158 ddi_dma_free_handle(&dmahdl);
3164 status = ddi_dma_unbind_handle(dmahdl);
3165 ddi_dma_free_handle(&dmahdl);
3173 ddi_dma_nextcookie(dmahdl, &dmacookie);
3177 mi_hdl->imh_dmahandle[0] = dmahdl;
3203 callback, NULL, &dmahdl);
3208 status = ddi_dma_addr_bind_handle(dmahdl, iov_att
[all...]
H A Dtavor_cfg.c783 ddi_dma_handle_t dmahdl; local
802 DDI_DMA_SLEEP, NULL, &dmahdl);
812 ddi_dma_free_handle(&dmahdl);
H A Dtavor_wr.c2084 ddi_dma_handle_t dmahdl; local
2096 dmahdl = srq->srq_mrhdl->mr_bindinfo.bi_dmahdl;
2101 dmahdl = qp->qp_mrhdl->mr_bindinfo.bi_dmahdl;
2156 status = ddi_dma_sync(dmahdl, offset, length, flag);
2167 status = ddi_dma_sync(dmahdl, offset, length, flag);
2179 status = ddi_dma_sync(dmahdl, offset, length, flag);
H A Dtavor_cq.c1638 ddi_dma_handle_t dmahdl; local
1651 dmahdl = cq->cq_mrhdl->mr_bindinfo.bi_dmahdl;
1655 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_cqe_t), flag);
H A Dtavor_event.c1295 ddi_dma_handle_t dmahdl; local
1308 dmahdl = eq->eq_mrhdl->mr_bindinfo.bi_dmahdl;
1312 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_eqe_t), flag);
H A Dtavor_misc.c514 ddi_dma_handle_t dmahdl; local
529 dmahdl = ah->ah_mrhdl->mr_bindinfo.bi_dmahdl;
533 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_udav_t), flag);
H A Dtavor_cmd.c1259 ddi_dma_handle_t dmahdl; local
1271 dmahdl = mbox->mb_rsrcptr->tr_dmahdl;
1274 status = ddi_dma_sync(dmahdl, (off_t)offset, (size_t)length, flag);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c395 if (nodep->dmahdl != NULL) {
396 ddi_dma_free_handle(&nodep->dmahdl);
397 nodep->dmahdl = NULL;
417 DDI_DMA_DONTWAIT, NULL, &nodep->dmahdl) != DDI_SUCCESS) {
530 (void) ddi_dma_unbind_handle(nodep->dmahdl);
H A Dunm_nic_main.c918 ret = ddi_dma_addr_bind_handle(dmah->dmahdl,
967 ddi_dma_nextcookie(dmah->dmahdl, &cookie[index]);
1058 (void) ddi_dma_unbind_handle(hdlp->dmahdl);
1401 (void) ddi_dma_unbind_handle(dmah->dmahdl);
H A Dunm_nic.h172 ddi_dma_handle_t dmahdl; member in struct:unm_dmah_node

Completed in 139 milliseconds