Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb4/
Dqp.c1118 static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp, in __flush_qp() argument
1125 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
1128 spin_lock_irqsave(&rchp->lock, flag); in __flush_qp()
1133 spin_unlock_irqrestore(&rchp->lock, flag); in __flush_qp()
1138 c4iw_flush_hw_cq(rchp); in __flush_qp()
1139 c4iw_count_rcqes(&rchp->cq, &qhp->wq, &count); in __flush_qp()
1140 rq_flushed = c4iw_flush_rq(&qhp->wq, &rchp->cq, count); in __flush_qp()
1142 spin_unlock_irqrestore(&rchp->lock, flag); in __flush_qp()
1147 if (schp != rchp) in __flush_qp()
1153 if (schp == rchp) { in __flush_qp()
[all …]
/drivers/infiniband/hw/cxgb3/
Diwch_qp.c807 static void __flush_qp(struct iwch_qp *qhp, struct iwch_cq *rchp, in __flush_qp() argument
814 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
820 spin_lock(&rchp->lock); in __flush_qp()
822 cxio_flush_hw_cq(&rchp->cq); in __flush_qp()
823 cxio_count_rcqes(&rchp->cq, &qhp->wq, &count); in __flush_qp()
824 flushed = cxio_flush_rq(&qhp->wq, &rchp->cq, count); in __flush_qp()
826 spin_unlock(&rchp->lock); in __flush_qp()
828 spin_lock(&rchp->comp_handler_lock); in __flush_qp()
829 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in __flush_qp()
830 spin_unlock(&rchp->comp_handler_lock); in __flush_qp()
[all …]
Diwch_provider.c925 struct iwch_cq *rchp; in iwch_create_qp() local
936 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); in iwch_create_qp()
937 if (!schp || !rchp) in iwch_create_qp()
/drivers/s390/cio/
Dioasm.h153 static inline int rchp(struct chp_id chpid) in rchp() function
Dcio.c842 ret = rchp(chpid); in css_reset()