Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx4/
Dcq.c91 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_modify_cq()
347 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_resize_cq()
436 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_destroy_cq()
716 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_poll_cq()
743 mlx4_cq_arm(&to_mcq(ibcq)->mcq, in mlx4_ib_arm_cq()
Dqp.c654 send_cq = to_mcq(qp->ibqp.send_cq); in destroy_qp_common()
655 recv_cq = to_mcq(qp->ibqp.recv_cq); in destroy_qp_common()
1024 context->cqn_send = cpu_to_be32(to_mcq(ibqp->send_cq)->mcq.cqn); in __mlx4_ib_modify_qp()
1048 context->cqn_recv = cpu_to_be32(to_mcq(ibqp->recv_cq)->mcq.cqn); in __mlx4_ib_modify_qp()
1141 mlx4_ib_cq_clean(to_mcq(ibqp->recv_cq), qp->mqp.qpn, in __mlx4_ib_modify_qp()
1144 mlx4_ib_cq_clean(to_mcq(ibqp->send_cq), qp->mqp.qpn, NULL); in __mlx4_ib_modify_qp()
1345 cq = to_mcq(ib_cq); in mlx4_wq_overflow()
Dmlx4_ib.h194 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
/drivers/infiniband/hw/mthca/
Dmthca_provider.c593 to_mcq(init_attr->send_cq), in mthca_create_qp()
594 to_mcq(init_attr->recv_cq), in mthca_create_qp()
628 to_mcq(init_attr->send_cq), in mthca_create_qp()
629 to_mcq(init_attr->recv_cq), in mthca_create_qp()
796 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq()
878 to_mcq(cq)->arm_db_index); in mthca_destroy_cq()
882 to_mcq(cq)->set_ci_db_index); in mthca_destroy_cq()
884 mthca_free_cq(to_mdev(cq->device), to_mcq(cq)); in mthca_destroy_cq()
Dmthca_provider.h323 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
Dmthca_qp.c725 qp_context->cqn_snd = cpu_to_be32(to_mcq(ibqp->send_cq)->cqn); in __mthca_modify_qp()
764 qp_context->cqn_rcv = cpu_to_be32(to_mcq(ibqp->recv_cq)->cqn); in __mthca_modify_qp()
828 mthca_cq_clean(dev, to_mcq(qp->ibqp.recv_cq), qp->qpn, in __mthca_modify_qp()
831 mthca_cq_clean(dev, to_mcq(qp->ibqp.send_cq), qp->qpn, NULL); in __mthca_modify_qp()
1432 send_cq = to_mcq(qp->ibqp.send_cq); in mthca_free_qp()
1433 recv_cq = to_mcq(qp->ibqp.recv_cq); in mthca_free_qp()
1560 cq = to_mcq(ib_cq); in mthca_wq_overflow()
Dmthca_cq.c664 struct mthca_cq *cq = to_mcq(ibcq); in mthca_poll_cq()
734 to_mcq(cq)->cqn; in mthca_tavor_arm_cq()
744 struct mthca_cq *cq = to_mcq(ibcq); in mthca_arbel_arm_cq()