Lines Matching refs:remote_qp

161 	struct scif_qp *remote_qp;  in scif_setup_qp_accept()  local
168 remote_qp = scif_ioremap(phys, sizeof(struct scif_qp), scifdev); in scif_setup_qp_accept()
169 if (!remote_qp) in scif_setup_qp_accept()
171 qp->remote_qp = remote_qp; in scif_setup_qp_accept()
172 if (qp->remote_qp->magic != SCIFEP_MAGIC) { in scif_setup_qp_accept()
176 qp->remote_buf = remote_qp->local_buf; in scif_setup_qp_accept()
177 remote_size = qp->remote_qp->inbound_q.size; in scif_setup_qp_accept()
183 qp->remote_qp->local_write = 0; in scif_setup_qp_accept()
190 &qp->remote_qp->local_write, in scif_setup_qp_accept()
201 qp->remote_qp->local_read = 0; in scif_setup_qp_accept()
207 &qp->remote_qp->local_read, in scif_setup_qp_accept()
225 scif_iounmap(qp->remote_qp, sizeof(struct scif_qp), scifdev); in scif_setup_qp_accept()
226 qp->remote_qp = NULL; in scif_setup_qp_accept()
238 qp->remote_qp = scif_ioremap(payload, sizeof(struct scif_qp), scifdev); in scif_setup_qp_connect_response()
240 if (!qp->remote_qp) { in scif_setup_qp_connect_response()
245 if (qp->remote_qp->magic != SCIFEP_MAGIC) { in scif_setup_qp_connect_response()
253 tmp_phys = qp->remote_qp->local_buf; in scif_setup_qp_connect_response()
254 remote_size = qp->remote_qp->inbound_q.size; in scif_setup_qp_connect_response()
263 &qp->remote_qp->local_write, in scif_setup_qp_connect_response()
270 qp->remote_qp->local_read = qp->inbound_q.current_read_offset; in scif_setup_qp_connect_response()
276 &qp->remote_qp->local_read, in scif_setup_qp_connect_response()
864 qp->remote_qp->qp_state != SCIF_QP_ONLINE) { in scif_poll_qp_state()
880 qp->remote_qp->qp_state = SCIF_QP_OFFLINE; in scif_poll_qp_state()
930 qp->remote_qp->qp_state = SCIF_QP_ONLINE; in scif_node_add_ack()