Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_pd.c50 struct hns_roce_pd *pd = to_hr_pd(ibpd); in hns_roce_alloc_pd()
80 ida_free(&hr_dev->pd_ida.ida, (int)to_hr_pd(pd)->pdn); in hns_roce_dealloc_pd()
Dhns_roce_mr.c198 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_get_dma_mr()
236 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_reg_user_mr()
301 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_rereg_user_mr()
375 mr->pd = to_hr_pd(pd)->pdn; in hns_roce_alloc_mr()
548 mw->pdn = to_hr_pd(ibmw->pd)->pdn; in hns_roce_alloc_mw()
Dhns_roce_device.h991 static inline struct hns_roce_pd *to_hr_pd(struct ib_pd *ibpd) in to_hr_pd() function
Dhns_roce_hw_v2.c491 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_PD, to_hr_pd(qp->ibqp.pd)->pdn); in set_ud_wqe()
2555 free_mr->rsv_pd = to_hr_pd(pd); in free_mr_init_pd()
4231 return ib_pd ? to_hr_pd(ib_pd)->pdn : 0; in get_pdn()
5603 hr_reg_write(ctx, SRQC_PD, to_hr_pd(srq->ibsrq.pd)->pdn); in hns_roce_v2_write_srqc()