Searched refs:buf_pg_shift (Results 1 – 3 of 3) sorted by relevance
511 mr->pbl_mtr.hem_cfg.buf_pg_shift = ilog2(ibmr->page_size); in hns_roce_map_mr_sg()807 mtr->hem_cfg.buf_pg_shift = best_pg_shift; in mtr_alloc_bufs()917 start_index = offset >> cfg->buf_pg_shift; in hns_roce_mtr_find()952 buf_size = cfg->buf_pg_count << cfg->buf_pg_shift; in mtr_init_buf_cfg()958 cfg->buf_pg_shift = HNS_HW_PAGE_SHIFT + order_base_2(page_cnt); in mtr_init_buf_cfg()964 page_shift = cfg->buf_pg_shift; in mtr_init_buf_cfg()973 page_shift = cfg->buf_pg_shift; in mtr_init_buf_cfg()1029 cfg->buf_pg_shift = buf_attr->page_shift; in hns_roce_mtr_create()1064 cfg->ba_pg_shift = cfg->buf_pg_shift; in hns_roce_mtr_create()
128 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()5203 to_hr_hw_page_shift(srq->idx_que.mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()5221 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()5798 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