Lines Matching refs:qp
23 struct scif_qp *qp = ep->qp_info.qp; in scif_cleanup_ep_qp() local
25 if (qp->outbound_q.rb_base) { in scif_cleanup_ep_qp()
26 scif_iounmap((void *)qp->outbound_q.rb_base, in scif_cleanup_ep_qp()
27 qp->outbound_q.size, ep->remote_dev); in scif_cleanup_ep_qp()
28 qp->outbound_q.rb_base = NULL; in scif_cleanup_ep_qp()
30 if (qp->remote_qp) { in scif_cleanup_ep_qp()
31 scif_iounmap((void *)qp->remote_qp, in scif_cleanup_ep_qp()
33 qp->remote_qp = NULL; in scif_cleanup_ep_qp()
35 if (qp->local_qp) { in scif_cleanup_ep_qp()
36 scif_unmap_single(qp->local_qp, ep->remote_dev, in scif_cleanup_ep_qp()
38 qp->local_qp = 0x0; in scif_cleanup_ep_qp()
40 if (qp->local_buf) { in scif_cleanup_ep_qp()
41 scif_unmap_single(qp->local_buf, ep->remote_dev, in scif_cleanup_ep_qp()
43 qp->local_buf = 0; in scif_cleanup_ep_qp()
50 struct scif_qp *qp = ep->qp_info.qp; in scif_teardown_ep() local
52 if (qp) { in scif_teardown_ep()
56 kfree(qp->inbound_q.rb_base); in scif_teardown_ep()
57 kfree(qp); in scif_teardown_ep()