Searched refs:buf_pg_shift (Results 1 – 3 of 3) sorted by relevance
512 mr->pbl_mtr.hem_cfg.buf_pg_shift = ilog2(ibmr->page_size); in hns_roce_map_mr_sg()808 mtr->hem_cfg.buf_pg_shift = best_pg_shift; in mtr_alloc_bufs()918 start_index = offset >> cfg->buf_pg_shift; in hns_roce_mtr_find()953 buf_size = cfg->buf_pg_count << cfg->buf_pg_shift; in mtr_init_buf_cfg()959 cfg->buf_pg_shift = HNS_HW_PAGE_SHIFT + order_base_2(page_cnt); in mtr_init_buf_cfg()965 page_shift = cfg->buf_pg_shift; in mtr_init_buf_cfg()974 page_shift = cfg->buf_pg_shift; in mtr_init_buf_cfg()1030 cfg->buf_pg_shift = buf_attr->page_shift; in hns_roce_mtr_create()1065 cfg->ba_pg_shift = cfg->buf_pg_shift; in hns_roce_mtr_create()
127 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_frmr_seg()2760 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_mtpt_pbl()2912 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_frmr_write_mtpt()3086 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()4031 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()5207 to_hr_hw_page_shift(srq->idx_que.mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()5225 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()5802 to_hr_hw_page_shift(eq->mtr.hem_cfg.buf_pg_shift)); in config_eqc()
352 unsigned int buf_pg_shift; /* buffer page shift */ member