Searched refs:to_mcq (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 566 to_mcq(init_attr->send_cq), in mthca_create_qp() 567 to_mcq(init_attr->recv_cq), in mthca_create_qp() 601 to_mcq(init_attr->send_cq), in mthca_create_qp() 602 to_mcq(init_attr->recv_cq), in mthca_create_qp() 769 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq() 848 to_mcq(cq)->arm_db_index); in mthca_destroy_cq() 852 to_mcq(cq)->set_ci_db_index); in mthca_destroy_cq() 854 mthca_free_cq(to_mdev(cq->device), to_mcq(cq)); in mthca_destroy_cq()
|
D | mthca_provider.h | 324 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
|
D | mthca_cq.c | 666 struct mthca_cq *cq = to_mcq(ibcq); in mthca_poll_cq() 736 to_mcq(cq)->cqn; in mthca_tavor_arm_cq() 746 struct mthca_cq *cq = to_mcq(ibcq); in mthca_arbel_arm_cq()
|
D | mthca_qp.c | 719 qp_context->cqn_snd = cpu_to_be32(to_mcq(ibqp->send_cq)->cqn); in __mthca_modify_qp() 758 qp_context->cqn_rcv = cpu_to_be32(to_mcq(ibqp->recv_cq)->cqn); in __mthca_modify_qp() 819 mthca_cq_clean(dev, to_mcq(qp->ibqp.recv_cq), qp->qpn, in __mthca_modify_qp() 822 mthca_cq_clean(dev, to_mcq(qp->ibqp.send_cq), qp->qpn, NULL); in __mthca_modify_qp() 1426 send_cq = to_mcq(qp->ibqp.send_cq); in mthca_free_qp() 1427 recv_cq = to_mcq(qp->ibqp.recv_cq); in mthca_free_qp() 1554 cq = to_mcq(ib_cq); in mthca_wq_overflow()
|
/drivers/infiniband/hw/mlx4/ |
D | cq.c | 94 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_modify_cq() 361 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_resize_cq() 458 struct mlx4_ib_cq *mcq = to_mcq(cq); in mlx4_ib_destroy_cq() 803 struct mlx4_ib_cq *cq = to_mcq(ibcq); in mlx4_ib_poll_cq() 829 mlx4_cq_arm(&to_mcq(ibcq)->mcq, in mlx4_ib_arm_cq()
|
D | srq.c | 180 to_mcq(init_attr->ext.xrc.cq)->mcq.cqn : 0; in mlx4_ib_create_srq()
|
D | qp.c | 893 *send_cq = to_mcq(to_mxrcd(qp->ibqp.xrcd)->cq); in get_cqs() 897 *send_cq = to_mcq(qp->ibqp.send_cq); in get_cqs() 901 *send_cq = to_mcq(qp->ibqp.send_cq); in get_cqs() 902 *recv_cq = to_mcq(qp->ibqp.recv_cq); in get_cqs() 1953 cq = to_mcq(ib_cq); in mlx4_wq_overflow()
|
D | mlx4_ib.h | 526 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
|