Home
last modified time | relevance | path

Searched refs:to_mcq (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c501 to_mcq(init_attr->send_cq), in mthca_create_qp()
502 to_mcq(init_attr->recv_cq), in mthca_create_qp()
526 to_mcq(init_attr->send_cq), in mthca_create_qp()
527 to_mcq(init_attr->recv_cq), in mthca_create_qp()
611 cq = to_mcq(ibcq); in mthca_create_cq()
699 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq()
784 to_mcq(cq)->arm_db_index); in mthca_destroy_cq()
788 to_mcq(cq)->set_ci_db_index); in mthca_destroy_cq()
790 mthca_free_cq(to_mdev(cq->device), to_mcq(cq)); in mthca_destroy_cq()
H A Dmthca_provider.h301 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
H A Dmthca_cq.c658 struct mthca_cq *cq = to_mcq(ibcq); in mthca_poll_cq()
728 to_mcq(cq)->cqn; in mthca_tavor_arm_cq()
738 struct mthca_cq *cq = to_mcq(ibcq); in mthca_arbel_arm_cq()
H A Dmthca_qp.c735 qp_context->cqn_snd = cpu_to_be32(to_mcq(ibqp->send_cq)->cqn); in __mthca_modify_qp()
774 qp_context->cqn_rcv = cpu_to_be32(to_mcq(ibqp->recv_cq)->cqn); in __mthca_modify_qp()
835 mthca_cq_clean(dev, to_mcq(qp->ibqp.recv_cq), qp->qpn, in __mthca_modify_qp()
838 mthca_cq_clean(dev, to_mcq(qp->ibqp.send_cq), qp->qpn, NULL); in __mthca_modify_qp()
1451 send_cq = to_mcq(qp->ibqp.send_cq); in mthca_free_qp()
1452 recv_cq = to_mcq(qp->ibqp.recv_cq); in mthca_free_qp()
1578 cq = to_mcq(ib_cq); in mthca_wq_overflow()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dcq.c609 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq()
647 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_arm_cq()
663 uar_page, to_mcq(ibcq)->mcq.cons_index); in mlx5_ib_arm_cq()
951 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_create_cq()
1052 struct mlx5_ib_cq *mcq = to_mcq(cq); in mlx5_ib_destroy_cq()
1135 struct mlx5_ib_cq *mcq = to_mcq(cq); in mlx5_ib_modify_cq()
1265 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_resize_cq()
1418 cq = to_mcq(ibcq); in mlx5_ib_get_cqe_size()
1426 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_generate_wc()
H A Drestrack.c154 struct mlx5_ib_cq *cq = to_mcq(ibcq); in fill_res_cq_entry_raw()
H A Dqp.c1593 to_mcq(init_attr->send_cq)); in create_raw_packet_qp()
1616 to_mcq(init_attr->recv_cq)); in create_raw_packet_qp()
2032 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); in create_xrc_tgt_qp()
2117 to_mcq(init_attr->recv_cq)); in create_dci()
2175 to_mcq(init_attr->send_cq)->mcq.cqn); in create_dci()
2179 to_mcq(init_attr->recv_cq)->mcq.cqn); in create_dci()
2285 to_mcq(init_attr->recv_cq)); in create_user_qp()
2634 *send_cq = ib_send_cq ? to_mcq(ib_send_cq) : NULL; in get_cqs()
2644 *send_cq = ib_send_cq ? to_mcq(ib_send_cq) : NULL; in get_cqs()
2645 *recv_cq = ib_recv_cq ? to_mcq(ib_recv_cq) : NULL; in get_cqs()
[all …]
H A Dsrq.c277 in.cqn = to_mcq(init_attr->ext.cq)->mcq.cqn; in mlx5_ib_create_srq()
279 in.cqn = to_mcq(dev->devr.c0)->mcq.cqn; in mlx5_ib_create_srq()
H A Dmlx5_ib.h1205 static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
H A Dwr.c38 cq = to_mcq(ib_cq); in mlx5r_wq_overflow()
H A Dmain.c2541 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()
2558 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx5_ib_handle_internal_error()
H A Ddevx.c603 to_mcq(uobj->object)->mcq.cqn) == in devx_is_valid_obj_id()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dcq.c95 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_modify_cq()
181 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_create_cq()
382 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_resize_cq()
480 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_destroy_cq()
879 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_poll_cq()
906 mlx4_cq_arm(&to_mcq(ibcq)->mcq, in mlx4_ib_arm_cq()
H A Dqp.c961 to_mcq(init_attr->recv_cq)); in create_rq()
969 mcq = to_mcq(init_attr->send_cq); in create_rq()
971 mcq = to_mcq(init_attr->recv_cq); in create_rq()
974 to_mcq(init_attr->recv_cq)); in create_rq()
1235 to_mcq(init_attr->recv_cq)); in create_qp_common()
1243 mcq = to_mcq(init_attr->send_cq); in create_qp_common()
1245 mcq = to_mcq(init_attr->recv_cq); in create_qp_common()
1248 to_mcq(init_attr->recv_cq)); in create_qp_common()
1359 *send_cq = to_mcq(qp->ibqp.send_cq); in get_cqs()
1364 to_mcq(qp->ibwq.cq); in get_cqs()
[all …]
H A Dsrq.c181 to_mcq(init_attr->ext.cq)->mcq.cqn : 0; in mlx4_ib_create_srq()
H A Dmlx4_ib.h690 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
H A Dmain.c3088 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()
3106 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx4_ib_handle_catas_error()