Searched refs:to_hr_dev (Results 1 – 11 of 11) sorted by relevance
49 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_alloc_pd()79 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_dealloc_pd()159 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_alloc_xrcd()175 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_dealloc_xrcd()
66 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_add_gid()80 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_del_gid()171 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_device()220 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_port()287 spin_lock_irqsave(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device()289 spin_unlock_irqrestore(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device()335 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_uar_entry()374 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_ucontext()418 struct hns_roce_dev *hr_dev = to_hr_dev(ibcontext->device); in hns_roce_dealloc_ucontext()474 if (to_hr_dev(ib_dev)->caps.flags & HNS_ROCE_CAP_FLAG_ROCE_V1_V2) in hns_roce_port_immutable()[all …]
211 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_get_dma_mr()248 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_reg_user_mr()293 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_rereg_user_mr()362 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_dereg_mr()379 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_alloc_mr()443 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_map_mr_sg()553 struct hns_roce_dev *hr_dev = to_hr_dev(ibmw->device); in hns_roce_alloc_mw()589 struct hns_roce_dev *hr_dev = to_hr_dev(ibmw->device); in hns_roce_dealloc_mw()
37 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in hns_roce_ib_srq_event()292 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in set_srq_basic_param()393 struct hns_roce_dev *hr_dev = to_hr_dev(ib_srq->device); in hns_roce_create_srq()439 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_destroy_srq()
316 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cq_param()332 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cqe_size()358 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_create_cq()441 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_destroy_cq()
238 struct hns_roce_dev *hr_dev = to_hr_dev(qp->ibqp.device); in check_inl_data_len()255 struct hns_roce_dev *hr_dev = to_hr_dev(qp->ibqp.device); in set_rc_inl()425 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()846 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v2_post_recv()984 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_v2_post_srq_recv()3379 struct hns_roce_dev *hr_dev = to_hr_dev(ibcq->device); in hns_roce_v2_req_notify_cq()4615 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in fill_cong_field()5348 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_v2_write_srqc_index_queue()5390 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_v2_write_srqc()[all …]
82 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_fill_res_cq_entry()
60 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah()
81 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_post_send()363 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_post_recv()417 reg_val = roce_read(to_hr_dev(ibqp->device), in hns_roce_v1_post_recv()426 roce_write(to_hr_dev(ibqp->device), in hns_roce_v1_post_recv()1009 hr_dev = to_hr_dev(lp_qp_work->ib_dev); in hns_roce_v1_recreate_lp_qp_work_fn()2577 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_m_sqp()2736 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_m_qp()3390 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_q_sqp()3460 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_q_qp()3610 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_destroy_qp()[all …]
1184 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_create_qp()1250 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_check_qp_attr()1296 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_modify_qp()
1015 static inline struct hns_roce_dev *to_hr_dev(struct ib_device *ib_dev) in to_hr_dev() function
Completed in 40 milliseconds