Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c504 to_mcq(init_attr->send_cq), in mthca_create_qp()
505 to_mcq(init_attr->recv_cq), in mthca_create_qp()
529 to_mcq(init_attr->send_cq), in mthca_create_qp()
530 to_mcq(init_attr->recv_cq), in mthca_create_qp()
616 cq = to_mcq(ibcq); in mthca_create_cq()
705 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq()
789 to_mcq(cq)->arm_db_index); in mthca_destroy_cq()
793 to_mcq(cq)->set_ci_db_index); in mthca_destroy_cq()
795 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()
/linux/drivers/infiniband/hw/mlx5/
H A Dwr.c38 cq = to_mcq(ib_cq); in mlx5r_wq_overflow()