Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_provider.c522 to_mcq(init_attr->send_cq), in mthca_create_qp()
523 to_mcq(init_attr->recv_cq), in mthca_create_qp()
555 to_mcq(init_attr->send_cq), in mthca_create_qp()
556 to_mcq(init_attr->recv_cq), in mthca_create_qp()
640 cq = to_mcq(ibcq); in mthca_create_cq()
728 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq()
813 to_mcq(cq)->arm_db_index); in mthca_destroy_cq()
817 to_mcq(cq)->set_ci_db_index); in mthca_destroy_cq()
819 mthca_free_cq(to_mdev(cq->device), to_mcq(cq)); in mthca_destroy_cq()
Dmthca_provider.h324 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
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()
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()
1448 send_cq = to_mcq(qp->ibqp.send_cq); in mthca_free_qp()
1449 recv_cq = to_mcq(qp->ibqp.recv_cq); in mthca_free_qp()
1576 cq = to_mcq(ib_cq); in mthca_wq_overflow()
/drivers/infiniband/hw/mlx5/
Dcq.c575 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq()
613 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_arm_cq()
629 uar_page, to_mcq(ibcq)->mcq.cons_index); in mlx5_ib_arm_cq()
894 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_create_cq()
997 struct mlx5_ib_cq *mcq = to_mcq(cq); in mlx5_ib_destroy_cq()
1075 struct mlx5_ib_cq *mcq = to_mcq(cq); in mlx5_ib_modify_cq()
1209 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_resize_cq()
1348 cq = to_mcq(ibcq); in mlx5_ib_get_cqe_size()
1356 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_generate_wc()
Dsrq.c295 in.cqn = to_mcq(init_attr->ext.cq)->mcq.cqn; in mlx5_ib_create_srq()
297 in.cqn = to_mcq(dev->devr.c0)->mcq.cqn; in mlx5_ib_create_srq()
Dqp.c2223 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); in create_qp_common()
2224 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(devr->c0)->mcq.cqn); in create_qp_common()
2229 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); in create_qp_common()
2244 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(init_attr->send_cq)->mcq.cqn); in create_qp_common()
2247 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(init_attr->recv_cq)->mcq.cqn); in create_qp_common()
2404 *send_cq = ib_send_cq ? to_mcq(ib_send_cq) : NULL; in get_cqs()
2416 *send_cq = ib_send_cq ? to_mcq(ib_send_cq) : NULL; in get_cqs()
2417 *recv_cq = ib_recv_cq ? to_mcq(ib_recv_cq) : NULL; in get_cqs()
2574 MLX5_SET(dctc, dctc, cqn, to_mcq(attr->recv_cq)->mcq.cqn); in mlx5_ib_create_dct()
2725 init_attr->recv_cq ? to_mcq(init_attr->recv_cq)->mcq.cqn : -1, in mlx5_ib_create_qp()
[all …]
Dmlx5_ib.h1027 static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
Ddevx.c579 to_mcq(uobj->object)->mcq.cqn) == in devx_is_valid_obj_id()
Dmain.c4487 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx5_ib_handle_internal_error()
4504 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx5_ib_handle_internal_error()
/drivers/infiniband/hw/mlx4/
Dcq.c95 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_modify_cq()
182 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_create_cq()
383 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_resize_cq()
481 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_destroy_cq()
883 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_poll_cq()
910 mlx4_cq_arm(&to_mcq(ibcq)->mcq, in mlx4_ib_arm_cq()
Dqp.c959 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_rq()
960 to_mcq(init_attr->recv_cq)); in create_rq()
968 mcq = to_mcq(init_attr->send_cq); in create_rq()
970 mcq = to_mcq(init_attr->recv_cq); in create_rq()
972 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_rq()
973 to_mcq(init_attr->recv_cq)); in create_rq()
1246 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1247 to_mcq(init_attr->recv_cq)); in create_qp_common()
1255 mcq = to_mcq(init_attr->send_cq); in create_qp_common()
1257 mcq = to_mcq(init_attr->recv_cq); in create_qp_common()
[all …]
Dsrq.c175 to_mcq(init_attr->ext.cq)->mcq.cqn : 0; in mlx4_ib_create_srq()
Dmlx4_ib.h661 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
Dmain.c3109 send_mcq = to_mcq(mqp->ibqp.send_cq); in mlx4_ib_handle_catas_error()
3127 recv_mcq = to_mcq(mqp->ibqp.recv_cq); in mlx4_ib_handle_catas_error()