Searched refs:bt_page_size (Results 1 – 1 of 1) sorted by relevance
711 u32 bt_page_size; in hns_roce_write_mtt_chunk() local715 bt_page_size = 1 << (hr_dev->caps.mtt_ba_pg_sz + PAGE_SHIFT); in hns_roce_write_mtt_chunk()717 bt_page_size = 1 << (hr_dev->caps.cqe_ba_pg_sz + PAGE_SHIFT); in hns_roce_write_mtt_chunk()720 if (start_index / (bt_page_size / sizeof(u64)) != in hns_roce_write_mtt_chunk()721 (start_index + npages - 1) / (bt_page_size / sizeof(u64))) in hns_roce_write_mtt_chunk()755 u32 bt_page_size; in hns_roce_write_mtt() local761 bt_page_size = 1 << (hr_dev->caps.mtt_ba_pg_sz + PAGE_SHIFT); in hns_roce_write_mtt()763 bt_page_size = 1 << (hr_dev->caps.cqe_ba_pg_sz + PAGE_SHIFT); in hns_roce_write_mtt()766 chunk = min_t(int, bt_page_size / sizeof(u64), npages); in hns_roce_write_mtt()893 u32 bt_page_size; in hns_roce_ib_umem_write_mtt() local[all …]