Lines Matching refs:peerdev

389 scif_init_p2p_info(struct scif_dev *scifdev, struct scif_dev *peerdev)  in scif_init_p2p_info()  argument
393 struct scif_hw_dev *psdev = peerdev->sdev; in scif_init_p2p_info()
425 p2p->ppi_peer_id = peerdev->node; in scif_init_p2p_info()
859 struct scif_dev *peerdev = container_of(work, struct scif_dev, in scif_poll_qp_state() local
861 struct scif_qp *qp = &peerdev->qpairs[0]; in scif_poll_qp_state()
865 if (peerdev->p2p_retry++ == SCIF_NODE_QP_RETRY) { in scif_poll_qp_state()
866 dev_err(&peerdev->sdev->dev, in scif_poll_qp_state()
871 schedule_delayed_work(&peerdev->p2p_dwork, in scif_poll_qp_state()
877 dev_err(&peerdev->sdev->dev, in scif_poll_qp_state()
879 __func__, __LINE__, peerdev->node, qp->qp_state); in scif_poll_qp_state()
881 scif_peer_unregister_device(peerdev); in scif_poll_qp_state()
882 scif_cleanup_scifdev(peerdev); in scif_poll_qp_state()
897 struct scif_dev *peerdev; in scif_node_add_ack() local
920 peerdev = &scif_dev[msg->src.node]; in scif_node_add_ack()
921 peerdev->sdev = scif_dev[SCIF_MGMT_NODE].sdev; in scif_node_add_ack()
922 peerdev->node = msg->src.node; in scif_node_add_ack()
924 qp = &peerdev->qpairs[0]; in scif_node_add_ack()
926 if ((scif_setup_qp_connect_response(peerdev, &peerdev->qpairs[0], in scif_node_add_ack()
929 peerdev->rdb = msg->payload[2]; in scif_node_add_ack()
932 scif_peer_register_device(peerdev); in scif_node_add_ack()
934 schedule_delayed_work(&peerdev->p2p_dwork, 0); in scif_node_add_ack()
937 scif_cleanup_scifdev(peerdev); in scif_node_add_ack()