Lines Matching defs:mtt

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;
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;
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;
638 kmem_free(mtt, sizeof (hermon_rsrc_t) * nummtt);
675 * this a little differently, so we call the fmr specific fast mtt
748 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt;
777 mtt = mr->mr_mttrsrcp;
901 hermon_rsrc_free(state, &mtt);
944 hermon_rsrc_t *mpt, *mtt, *rsrc;
957 mtt = mr->mr_mttrsrcp;
963 hermon_rsrc_free(state, &mtt);
1472 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt;
1644 * Setup the bindinfo for the mtt bind call
1650 status = hermon_mr_mtt_bind(state, bh, bind_dmahdl, &mtt,
1680 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT);
1761 mr->mr_mttrsrcp = mtt;
2022 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt;
2068 status = hermon_rsrc_alloc(state, HERMON_MTT, nummtt, sleep, &mtt);
2093 mtt_addr = (mtt->hr_indx << HERMON_MTT_SIZE_SHIFT);
2145 mr->mr_mttrsrcp = mtt;
2158 hermon_rsrc_free(state, &mtt);
2267 ddi_dma_handle_t bind_dmahdl, hermon_rsrc_t **mtt, uint_t *mtt_pgsize_bits,
2318 status = hermon_rsrc_alloc(state, HERMON_MTT, nummtt, sleep, mtt);
2330 status = hermon_mr_fast_mtt_write(state, *mtt, bind, *mtt_pgsize_bits);
2346 hermon_rsrc_free(state, mtt);
2360 hermon_rsrc_t *mtt)
2367 hermon_rsrc_free(state, &mtt);
2700 hermon_rsrc_t *mtt, *mtt_refcnt;
2830 mtt = mr->mr_mttrsrcp;
2831 status = hermon_mr_fast_mtt_write(state, mtt, bind,
2934 sleep, &mtt);
2984 hermon_rsrc_free(state, &mtt);
3002 status = hermon_mr_fast_mtt_write(state, mtt, bind,
3023 hermon_rsrc_free(state, &mtt);
3047 mr->mr_mttrsrcp = mtt;
3056 *mtt_addr = mtt->hr_indx << HERMON_MTT_SIZE_SHIFT;
3240 hermon_mr_fast_mtt_write(hermon_state_t *state, hermon_rsrc_t *mtt,
3275 rindx = mtt->hr_indx;
3362 hermon_mr_fast_mtt_write_fmr(hermon_state_t *state, hermon_rsrc_t *mtt,
3373 rindx = mtt->hr_indx;