Home
last modified time | relevance | path

Searched refs:buf_pg_shift (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c454 mr->pbl_mtr.hem_cfg.buf_pg_shift = (u32)ilog2(ibmr->page_size); in hns_roce_map_mr_sg()
876 start_index = offset >> cfg->buf_pg_shift; in hns_roce_mtr_find()
908 cfg->buf_pg_shift = HNS_HW_PAGE_SHIFT + in mtr_init_buf_cfg()
915 cfg->buf_pg_shift = page_shift; in mtr_init_buf_cfg()
999 cfg->ba_pg_shift = cfg->buf_pg_shift; in mtr_alloc_mtt()
H A Dhns_roce_restrack.c132 hr_mr->pbl_mtr.hem_cfg.buf_pg_shift)) in hns_roce_fill_res_mr_entry()
H A Dhns_roce_hw_v2.c163 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_frmr_seg()
3214 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_mtpt_pbl()
3322 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_frmr_write_mtpt()
3572 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()
4378 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()
5573 to_hr_hw_page_shift(idx_que->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc_index_queue()
5632 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()
6357 to_hr_hw_page_shift(eq->mtr.hem_cfg.buf_pg_shift)); in config_eqc()
H A Dhns_roce_device.h291 unsigned int buf_pg_shift; /* buffer page shift */ member