Lines Matching refs:NTB_LINK_UP
428 "\nQP Link %s\n", (qp->qp_link == NTB_LINK_UP) ? in debugfs_read()
574 if (nt->transport_link == NTB_LINK_UP) in ntb_qp_link_cleanup()
734 nt->transport_link = NTB_LINK_UP; in ntb_transport_link_work()
741 if (qp->client_ready == NTB_LINK_UP) in ntb_transport_link_work()
765 WARN_ON(nt->transport_link != NTB_LINK_UP); in ntb_qp_link_work()
787 qp->qp_link = NTB_LINK_UP; in ntb_qp_link_work()
791 qp->event_handler(qp->cb_data, NTB_LINK_UP); in ntb_qp_link_work()
792 } else if (nt->transport_link == NTB_LINK_UP) in ntb_qp_link_work()
956 if (qp->rx_handler && qp->client_ready == NTB_LINK_UP) in ntb_rx_copy_task()
1299 if (!qp || qp->client_ready == NTB_LINK_UP) in ntb_transport_rx_remove()
1368 if (!qp || qp->qp_link != NTB_LINK_UP || !len) in ntb_transport_tx_enqueue()
1400 qp->client_ready = NTB_LINK_UP; in ntb_transport_link_up()
1402 if (qp->transport->transport_link == NTB_LINK_UP) in ntb_transport_link_up()
1438 if (qp->qp_link == NTB_LINK_UP) in ntb_transport_link_down()
1458 return qp->qp_link == NTB_LINK_UP; in ntb_transport_link_query()