/openbmc/linux/drivers/atm/ |
H A D | nicstar.c | 887 scq->next = scq->base; in get_scq() 888 scq->last = scq->base + (scq->num_entries - 1); in get_scq() 889 scq->tail = scq->last; in get_scq() 934 scq->org, scq->dma); in free_scq() 1363 vc->scq = scq; in ns_open() 1467 scq = vc->scq; in ns_close() 1498 scq->next = scq->base; in ns_close() 1767 if (scq->next == scq->last) in push_scqe() 1768 scq->next = scq->base; in push_scqe() 1822 scq->next = scq->base; in push_scqe() [all …]
|
H A D | idt77252.c | 642 if (!scq) in alloc_scq() 651 scq->next = scq->base; in alloc_scq() 652 scq->last = scq->base + (SCQ_ENTRIES - 1); in alloc_scq() 662 scq->base, scq->next, scq->last, (unsigned long long)scq->paddr); in alloc_scq() 674 scq->base, scq->paddr); in free_scq() 705 struct scq_info *scq = vc->scq; in push_on_scq() local 751 if (scq->next == scq->last) in push_on_scq() 752 scq->next = scq->base; in push_on_scq() 772 read_sram(card, scq->scd + 1), scq->next); in push_on_scq() 793 struct scq_info *scq = vc->scq; in drain_scq() local [all …]
|
H A D | nicstar.h | 702 scq_info *scq; /* To keep track of the SCQ */ member
|
H A D | idt77252.h | 217 struct scq_info *scq; /* To keep track of the SCQ */ member
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_qp.c | 70 if (scq == rcq) { in pvrdma_lock_cqs() 73 } else if (scq->cq_handle < rcq->cq_handle) { in pvrdma_lock_cqs() 89 if (scq == rcq) { in pvrdma_unlock_cqs() 103 struct pvrdma_cq *scq, *rcq; in pvrdma_reset_qp() local 107 get_cqs(qp, &scq, &rcq); in pvrdma_reset_qp() 110 _pvrdma_flush_cqe(qp, scq); in pvrdma_reset_qp() 111 if (scq != rcq) in pvrdma_reset_qp() 453 struct pvrdma_cq *scq; in pvrdma_free_qp() local 458 get_cqs(qp, &scq, &rcq); in pvrdma_free_qp() 461 _pvrdma_flush_cqe(qp, scq); in pvrdma_free_qp() [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_qp.c | 357 struct rxe_cq *scq = to_rcq(init->send_cq); in rxe_qp_from_init() local 363 rxe_get(scq); in rxe_qp_from_init() 369 qp->scq = scq; in rxe_qp_from_init() 373 atomic_inc(&scq->num_wq); in rxe_qp_from_init() 397 atomic_dec(&scq->num_wq); in rxe_qp_from_init() 401 qp->scq = NULL; in rxe_qp_from_init() 406 rxe_put(scq); in rxe_qp_from_init() 847 if (qp->scq) { in rxe_qp_do_cleanup() 848 atomic_dec(&qp->scq->num_wq); in rxe_qp_do_cleanup() 849 rxe_put(qp->scq); in rxe_qp_do_cleanup()
|
H A D | rxe_comp.c | 466 rxe_cq_post(qp->scq, &cqe, 0); in do_complete() 583 err = rxe_cq_post(qp->scq, &cqe, 0); in flush_send_wqe() 585 rxe_dbg_cq(qp->scq, "post cq failed, err = %d", err); in flush_send_wqe()
|
H A D | rxe_verbs.h | 212 struct rxe_cq *scq; member
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 70 struct bnxt_qplib_cq *scq, *rcq; in __bnxt_qplib_add_flush_qp() local 72 scq = qp->scq; in __bnxt_qplib_add_flush_qp() 76 dev_dbg(&scq->hwq.pdev->dev, in __bnxt_qplib_add_flush_qp() 97 if (qp->scq == qp->rcq) in bnxt_qplib_acquire_cq_flush_locks() 107 if (qp->scq == qp->rcq) in bnxt_qplib_release_cq_flush_locks() 871 req.scq_cid = cpu_to_le32(qp->scq->id); in bnxt_qplib_create_qp1() 1044 req.scq_cid = cpu_to_le32(qp->scq->id); in bnxt_qplib_create_qp() 2025 nq_work->cq = qp->scq; in bnxt_qplib_post_send() 2026 nq_work->nq = qp->scq->nq; in bnxt_qplib_post_send() 3090 flush_workqueue(qp->scq->nq->cqn_wq); in bnxt_qplib_flush_cqn_wq() [all …]
|
H A D | ib_verbs.h | 94 struct bnxt_re_cq *scq; member
|
H A D | ib_verbs.c | 818 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs() 822 spin_lock_irqsave(&qp->scq->cq_lock, flags); in bnxt_re_lock_cqs() 823 if (qp->rcq != qp->scq) in bnxt_re_lock_cqs() 833 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs() 835 if (qp->rcq != qp->scq) in bnxt_re_unlock_cqs() 839 spin_unlock_irqrestore(&qp->scq->cq_lock, flags); in bnxt_re_unlock_cqs() 934 scq_nq = qplib_qp->scq->nq; in bnxt_re_destroy_qp() 1163 qp->qplib_qp.scq = qp1_qp->scq; in bnxt_re_create_shadow_qp() 1394 qplqp->scq = &cq->qplib_cq; in bnxt_re_init_qp_attr() 1395 qp->scq = cq; in bnxt_re_init_qp_attr() [all …]
|
H A D | qplib_fp.h | 311 struct bnxt_qplib_cq *scq; member
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | ev.c | 139 cqid = qhp->attr.scq; in c4iw_ev_dispatch()
|
H A D | qp.c | 200 struct t4_cq *rcq, struct t4_cq *scq, in create_qp() argument 338 FW_RI_RES_WR_IQID_V(scq->cqid)); in create_qp() 1812 wqe->u.init.scqid = cpu_to_be32(qhp->attr.scq); in rdma_init() 2188 qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid; in c4iw_create_qp()
|
H A D | iw_cxgb4.h | 450 u32 scq; member
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 182 struct ib_cq *scq = init_attr->send_cq; in get_least_load_bankid_for_qp() local 189 if (scq) in get_least_load_bankid_for_qp() 190 cqn = to_hr_cq(scq)->cqn; in get_least_load_bankid_for_qp() 193 if (scq && (get_affinity_cq_bank(i) != (cqn & CQ_BANKID_MASK))) in get_least_load_bankid_for_qp()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 1286 struct ib_cq *scq = NULL, *rcq = NULL; in create_qp() local 1383 scq = uobj_get_obj_read(cq, UVERBS_OBJECT_CQ, in create_qp() 1386 rcq = rcq ?: scq; in create_qp() 1389 if (!pd || (!scq && has_sq)) { in create_qp() 1398 attr.send_cq = scq; in create_qp() 1459 if (scq) in create_qp() 1460 rdma_lookup_put_uobject(&scq->uobject->uevent.uobject, in create_qp() 1462 if (rcq && rcq != scq) in create_qp() 1487 if (scq) in create_qp() 1488 rdma_lookup_put_uobject(&scq->uobject->uevent.uobject, in create_qp() [all …]
|
/openbmc/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.h | 233 struct erdma_cq *scq; member
|
H A D | erdma_verbs.c | 64 FIELD_PREP(ERDMA_CMD_CREATE_QP_CQN_MASK, qp->scq->cqn); in create_qp_cmd() 89 FIELD_PREP(ERDMA_CMD_CREATE_QP_CQN_MASK, qp->scq->cqn); in create_qp_cmd() 938 qp->scq = to_ecq(attrs->send_cq); in erdma_create_qp()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 112 struct res_cq *scq; member 2966 struct res_cq *scq; in mlx4_RST2INIT_QP_wrapper() local 3004 err = get_res(dev, slave, scqn, RES_CQ, &scq); in mlx4_RST2INIT_QP_wrapper() 3008 scq = rcq; in mlx4_RST2INIT_QP_wrapper() 3025 atomic_inc(&scq->ref_count); in mlx4_RST2INIT_QP_wrapper() 3026 qp->scq = scq; in mlx4_RST2INIT_QP_wrapper() 4004 atomic_dec(&qp->scq->ref_count); in mlx4_2RST_QP_wrapper() 4717 atomic_dec(&qp->scq->ref_count); in rem_slave_qps()
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw.h | 431 struct siw_cq *scq; member
|
H A D | siw_verbs.c | 399 qp->scq = to_siw_cq(attrs->send_cq); in siw_create_qp() 626 qp->scq = qp->rcq = NULL; in siw_destroy_qp()
|
H A D | siw_qp.c | 1066 struct siw_cq *cq = qp->scq; in siw_sqe_complete()
|