Home
last modified time | relevance | path

Searched refs:to_hr_dev (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_pd.c48 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_alloc_pd()
78 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_dealloc_pd()
148 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_alloc_xrcd()
164 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_dealloc_xrcd()
A Dhns_roce_main.c65 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_add_gid()
79 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_del_gid()
167 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_device()
216 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_port()
286 spin_lock_irqsave(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device()
288 spin_unlock_irqrestore(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device()
358 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_ucontext()
430 struct hns_roce_dev *hr_dev = to_hr_dev(ibcontext->device); in hns_roce_dealloc_ucontext()
492 if (to_hr_dev(ib_dev)->caps.flags & HNS_ROCE_CAP_FLAG_ROCE_V1_V2) in hns_roce_port_immutable()
504 u64 fw_ver = to_hr_dev(device)->caps.fw_ver; in hns_roce_get_fw_ver()
A Dhns_roce_mr.c188 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_get_dma_mr()
225 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_reg_user_mr()
269 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_rereg_user_mr()
340 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_dereg_mr()
355 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_alloc_mr()
419 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_map_mr_sg()
529 struct hns_roce_dev *hr_dev = to_hr_dev(ibmw->device); in hns_roce_alloc_mw()
565 struct hns_roce_dev *hr_dev = to_hr_dev(ibmw->device); in hns_roce_dealloc_mw()
A Dhns_roce_restrack.c47 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_fill_res_cq_entry_raw()
118 struct hns_roce_dev *hr_dev = to_hr_dev(ib_qp->device); in hns_roce_fill_res_qp_entry_raw()
204 struct hns_roce_dev *hr_dev = to_hr_dev(ib_mr->device); in hns_roce_fill_res_mr_entry_raw()
A Dhns_roce_srq.c37 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in hns_roce_ib_srq_event()
293 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in set_srq_basic_param()
394 struct hns_roce_dev *hr_dev = to_hr_dev(ib_srq->device); in hns_roce_create_srq()
446 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_destroy_srq()
A Dhns_roce_cq.c317 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cq_param()
333 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cqe_size()
359 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_create_cq()
438 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_destroy_cq()
A Dhns_roce_ah.c57 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah()
A Dhns_roce_hw_v2.c270 struct hns_roce_dev *hr_dev = to_hr_dev(qp->ibqp.device); in check_inl_data_len()
287 struct hns_roce_dev *hr_dev = to_hr_dev(qp->ibqp.device); in set_rc_inl()
447 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in fill_ud_av()
699 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v2_post_send()
834 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v2_post_recv()
972 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_v2_post_srq_recv()
3698 struct hns_roce_dev *hr_dev = to_hr_dev(ibcq->device); in hns_roce_v2_req_notify_cq()
4886 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in fill_cong_field()
5630 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_v2_write_srqc_index_queue()
5672 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_v2_write_srqc()
[all …]
A Dhns_roce_qp.c1196 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_create_qp()
1262 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_check_qp_attr()
1308 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_modify_qp()
A Dhns_roce_device.h952 static inline struct hns_roce_dev *to_hr_dev(struct ib_device *ib_dev) in to_hr_dev() function

Completed in 42 milliseconds