Searched refs:to_mcq (Results 1 – 17 of 17) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 501 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 D | mthca_provider.h | 301 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
|
H A D | mthca_cq.c | 658 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 D | mthca_qp.c | 735 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 D | cq.c | 609 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 D | restrack.c | 154 struct mlx5_ib_cq *cq = to_mcq(ibcq); in fill_res_cq_entry_raw()
|
H A D | qp.c | 1593 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 D | srq.c | 277 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 D | mlx5_ib.h | 1205 static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
|
H A D | wr.c | 38 cq = to_mcq(ib_cq); in mlx5r_wq_overflow()
|
H A D | main.c | 2541 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 D | devx.c | 603 to_mcq(uobj->object)->mcq.cqn) == in devx_is_valid_obj_id()
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 95 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 D | qp.c | 961 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 D | srq.c | 181 to_mcq(init_attr->ext.cq)->mcq.cqn : 0; in mlx4_ib_create_srq()
|
H A D | mlx4_ib.h | 690 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() function
|
H A D | main.c | 3088 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()
|