/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_mr.c | 77 static int hermon_mr_fast_mtt_write(hermon_state_t *state, hermon_rsrc_t *mtt, 80 hermon_rsrc_t *mtt, ibt_pmr_attr_t *mem_pattr, uint32_t mtt_pgsize_bits); 176 hermon_rsrc_t *mpt, *mtt, *rsrc; local 324 mtt = mr->mr_mttrsrcp; 361 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); 389 mr->mr_mttrsrcp = mtt; 446 hermon_rsrc_t *mpt, *mtt, *rsrc; local 547 status = hermon_rsrc_alloc(state, HERMON_MTT, nummtt, sleep, &mtt); 572 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); 611 mr->mr_mttrsrcp = mtt; 748 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 944 hermon_rsrc_t *mpt, *mtt, *rsrc; local 1472 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 2022 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 2266 hermon_mr_mtt_bind(hermon_state_t *state, hermon_bind_info_t *bind, ddi_dma_handle_t bind_dmahdl, hermon_rsrc_t **mtt, uint_t *mtt_pgsize_bits, uint_t is_buffer) argument 2359 hermon_mr_mtt_unbind(hermon_state_t *state, hermon_bind_info_t *bind, hermon_rsrc_t *mtt) argument 2700 hermon_rsrc_t *mtt, *mtt_refcnt; local 3240 hermon_mr_fast_mtt_write(hermon_state_t *state, hermon_rsrc_t *mtt, hermon_bind_info_t *bind, uint32_t mtt_pgsize_bits) argument 3362 hermon_mr_fast_mtt_write_fmr(hermon_state_t *state, hermon_rsrc_t *mtt, ibt_pmr_attr_t *mem_pattr, uint32_t mtt_pgsize_bits) argument [all...] |
H A D | hermon_srq.c | 589 hermon_rsrc_t *mtt, *old_mtt; local 698 status = hermon_mr_mtt_bind(state, &bind, new_srqinfo.qa_dmahdl, &mtt, 730 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT); 791 (void) hermon_mr_mtt_unbind(state, &bind, mtt); 814 srq->srq_mrhdl->mr_mttrsrcp = mtt; 818 /* Update MR mtt pagesize */
|
H A D | hermon_cmd.c | 2581 hermon_write_mtt_cmd_post(hermon_state_t *state, hermon_rsrc_t *mtt, argument 2614 data = ((uint64_t *)mtt->hr_addr)[i]; 3669 hermon_hw_mtt_t *mtt) 3703 /* Copy mtt read out */ 3707 ((uint64_t *)(void *)mtt)[i] = data; 3668 hermon_read_mtt_cmd_post(hermon_state_t *state, uint64_t mtt_addr, hermon_hw_mtt_t *mtt) argument
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 68 static int tavor_mr_fast_mtt_write(tavor_rsrc_t *mtt, tavor_bind_info_t *bind, 182 tavor_rsrc_t *mpt, *mtt, *rsrc; local 345 mtt = mr->mr_mttrsrcp; 391 mtt_addr = mtt_ddrbaseaddr + (mtt->tr_indx << TAVOR_MTT_SIZE_SHIFT); 420 mr->mr_mttrsrcp = mtt; 479 tavor_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 514 mtt = mr->mr_mttrsrcp; 622 tavor_rsrc_free(state, &mtt); 1144 tavor_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 1331 * Setup the bindinfo for the mtt bin 1666 tavor_mr_mtt_bind(tavor_state_t *state, tavor_bind_info_t *bind, ddi_dma_handle_t bind_dmahdl, tavor_rsrc_t **mtt, uint_t *mtt_pgsize_bits) argument 1767 tavor_mr_mtt_unbind(tavor_state_t *state, tavor_bind_info_t *bind, tavor_rsrc_t *mtt) argument 2116 tavor_rsrc_t *mtt, *mtt_refcnt; local 2679 tavor_mr_fast_mtt_write(tavor_rsrc_t *mtt, tavor_bind_info_t *bind, uint32_t mtt_pgsize_bits) argument [all...] |
H A D | tavor_srq.c | 643 tavor_rsrc_t *mtt, *mpt, *old_mtt; local 778 status = tavor_mr_mtt_bind(state, &bind, new_srqinfo.qa_dmahdl, &mtt, 782 TAVOR_TNF_FAIL(status, "failed mtt bind"); 816 mtt_addr = mtt_ddrbaseaddr + (mtt->tr_indx << TAVOR_MTT_SIZE_SHIFT); 894 srq->srq_mrhdl->mr_mttrsrcp = mtt; 898 /* Update MR mtt pagesize */
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_mr.h | 300 ddi_dma_handle_t bind_dmahdl, hermon_rsrc_t **mtt, uint_t *mtt_pgsz_bits, 303 hermon_rsrc_t *mtt);
|
H A D | hermon_cmd.h | 782 int hermon_write_mtt_cmd_post(hermon_state_t *state, hermon_rsrc_t *mtt, 862 * READ_MTT - used to read an mtt entry at address. 865 hermon_hw_mtt_t *mtt);
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_mr.h | 317 ddi_dma_handle_t bind_dmahdl, tavor_rsrc_t **mtt, uint_t *mtt_pgsz_bits); 319 tavor_rsrc_t *mtt);
|