Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c482 mr->pbl_mtr.hem_cfg.buf_pg_shift = (u32)ilog2(ibmr->page_size); in hns_roce_map_mr_sg()
651 mtr->hem_cfg.buf_pg_shift; in mtr_map_bufs()
817 start_index = offset >> cfg->buf_pg_shift; in hns_roce_mtr_find()
925 cfg->buf_pg_shift = HNS_HW_PAGE_SHIFT + in mtr_init_buf_cfg()
932 cfg->buf_pg_shift = attr->page_shift; in mtr_init_buf_cfg()
1014 cfg->ba_pg_shift = cfg->buf_pg_shift; in mtr_alloc_mtt()
H A Dhns_roce_restrack.c147 if (rdma_nl_put_driver_u32_hex(msg, "buf_pg_shift", in hns_roce_fill_res_mr_entry()
148 hr_mr->pbl_mtr.hem_cfg.buf_pg_shift)) in hns_roce_fill_res_mr_entry()
H A Dhns_roce_hw_v2.c166 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_frmr_seg()
3321 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_mtpt_pbl()
3424 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_frmr_write_mtpt()
3644 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()
4443 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()
5809 to_hr_hw_page_shift(idx_que->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc_index_queue()
5868 to_hr_hw_page_shift(srq->buf_mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()
6596 to_hr_hw_page_shift(eq->mtr.hem_cfg.buf_pg_shift)); in config_eqc()
H A Dhns_roce_device.h305 unsigned int buf_pg_shift; /* buffer page shift */ member