Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb4/
Dqp.c1104 static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp, in __flush_qp() argument
1111 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
1114 spin_lock_irqsave(&rchp->lock, flag); in __flush_qp()
1119 spin_unlock_irqrestore(&rchp->lock, flag); in __flush_qp()
1124 c4iw_flush_hw_cq(rchp); in __flush_qp()
1125 c4iw_count_rcqes(&rchp->cq, &qhp->wq, &count); in __flush_qp()
1126 rq_flushed = c4iw_flush_rq(&qhp->wq, &rchp->cq, count); in __flush_qp()
1128 spin_unlock_irqrestore(&rchp->lock, flag); in __flush_qp()
1133 if (schp != rchp) in __flush_qp()
1139 if (schp == rchp) { in __flush_qp()
[all …]
/drivers/infiniband/hw/cxgb3/
Diwch_qp.c806 static void __flush_qp(struct iwch_qp *qhp, struct iwch_cq *rchp, in __flush_qp() argument
813 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
819 spin_lock(&rchp->lock); in __flush_qp()
821 cxio_flush_hw_cq(&rchp->cq); in __flush_qp()
822 cxio_count_rcqes(&rchp->cq, &qhp->wq, &count); in __flush_qp()
823 flushed = cxio_flush_rq(&qhp->wq, &rchp->cq, count); in __flush_qp()
825 spin_unlock(&rchp->lock); in __flush_qp()
827 spin_lock(&rchp->comp_handler_lock); in __flush_qp()
828 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in __flush_qp()
829 spin_unlock(&rchp->comp_handler_lock); in __flush_qp()
[all …]
Diwch_provider.c896 struct iwch_cq *rchp; in iwch_create_qp() local
907 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); in iwch_create_qp()
908 if (!schp || !rchp) in iwch_create_qp()
/drivers/s390/cio/
Dioasm.h153 static inline int rchp(struct chp_id chpid) in rchp() function
Dcio.c863 ret = rchp(chpid); in css_reset()