Searched refs:mtt_seg_size (Results 1 – 5 of 5) sorted by relevance
223 for (i = dev->limits.mtt_seg_size / 8; i < size; i <<= 1) in __mthca_alloc_mtt()269 mtt->first_seg * dev->limits.mtt_seg_size + in __mthca_write_mtt()322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()341 BUG_ON(s % dev->limits.mtt_seg_size); in mthca_arbel_write_mtt_seg()344 s / dev->limits.mtt_seg_size, &dma_handle); in mthca_arbel_write_mtt_seg()478 mr->mtt->first_seg * dev->limits.mtt_seg_size); in mthca_mr_alloc()631 ioremap(addr, mtts * dev->limits.mtt_seg_size); in mthca_init_mr_table()
96 profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; in mthca_make_profile()231 init_hca->mtt_seg_sz = ffs(dev->limits.mtt_seg_size) - 7; in mthca_make_profile()
168 mdev->limits.mtt_seg_size = (1 << log_mtts_per_seg) * 8; in mthca_dev_lim()418 mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size, in mthca_init_icm()419 dma_get_cache_alignment()) / mdev->limits.mtt_seg_size; in mthca_init_icm()422 mdev->limits.mtt_seg_size, in mthca_init_icm()
161 int mtt_seg_size; member
1097 dev->limits.mtt_seg_size) / dev->limits.mtt_seg_size; in mthca_QUERY_DEV_LIM()