Lines Matching refs:mtts
317 u64 __iomem *mtts; in mthca_tavor_write_mtt_seg() local
320 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
324 mtts + i); in mthca_tavor_write_mtt_seg()
331 __be64 *mtts; in mthca_arbel_write_mtt_seg() local
341 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
344 BUG_ON(!mtts); in mthca_arbel_write_mtt_seg()
350 mtts[i] = cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT); in mthca_arbel_write_mtt_seg()
567 int mpts, mtts, err, i; in mthca_init_mr_table() local
601 mpts = mtts = 1 << i; in mthca_init_mr_table()
603 mtts = dev->limits.num_mtt_segs; in mthca_init_mr_table()
628 ioremap(addr, mtts * dev->limits.mtt_seg_size); in mthca_init_mr_table()
637 err = mthca_buddy_init(&dev->mr_table.tavor_fmr.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table()
642 err = mthca_buddy_alloc(&dev->mr_table.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table()