Lines Matching refs:qp
62 struct scif_qp *qp = scifdev->qpairs; in scif_free_qp() local
64 if (!qp) in scif_free_qp()
66 scif_unmap_single(qp->local_buf, scifdev, qp->inbound_q.size); in scif_free_qp()
67 kfree(qp->inbound_q.rb_base); in scif_free_qp()
68 scif_unmap_single(qp->local_qp, scifdev, sizeof(struct scif_qp)); in scif_free_qp()
75 struct scif_qp *qp = &dev->qpairs[0]; in scif_cleanup_qp() local
77 if (!qp) in scif_cleanup_qp()
79 scif_iounmap((void *)qp->remote_qp, sizeof(struct scif_qp), dev); in scif_cleanup_qp()
80 scif_iounmap((void *)qp->outbound_q.rb_base, in scif_cleanup_qp()
82 qp->remote_qp = NULL; in scif_cleanup_qp()
83 qp->local_write = 0; in scif_cleanup_qp()
84 qp->inbound_q.current_write_offset = 0; in scif_cleanup_qp()
85 qp->inbound_q.current_read_offset = 0; in scif_cleanup_qp()