Searched refs:buf_pg_shift (Results 1 – 4 of 4) sorted by relevance
473 mr->pbl_mtr.hem_cfg.buf_pg_shift = (u32)ilog2(ibmr->page_size); in hns_roce_map_mr_sg()756 mtr->hem_cfg.buf_pg_shift; in mtr_map_bufs()927 start_index = offset >> cfg->buf_pg_shift; in hns_roce_mtr_find()1035 cfg->buf_pg_shift = HNS_HW_PAGE_SHIFT + in mtr_init_buf_cfg()1042 cfg->buf_pg_shift = attr->page_shift; in mtr_init_buf_cfg()1124 cfg->ba_pg_shift = cfg->buf_pg_shift; in mtr_alloc_mtt()
149 hr_mr->pbl_mtr.hem_cfg.buf_pg_shift)) in hns_roce_fill_res_mr_entry()
164 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_frmr_seg()3258 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_mtpt_pbl()3366 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_frmr_write_mtpt()3618 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()4419 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()5706 to_hr_hw_page_shift(idx_que->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc_index_queue()5765 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()6470 to_hr_hw_page_shift(eq->mtr.hem_cfg.buf_pg_shift)); in config_eqc()
305 unsigned int buf_pg_shift; /* buffer page shift */ member