Lines Matching refs:NTB_LINK_UP
455 "\nQP Link %s\n", (qp->qp_link == NTB_LINK_UP) ? in debugfs_read()
624 if (nt->transport_link == NTB_LINK_UP) in ntb_qp_link_cleanup_work()
790 nt->transport_link = NTB_LINK_UP; in ntb_transport_link_work()
797 if (qp->client_ready == NTB_LINK_UP) in ntb_transport_link_work()
821 WARN_ON(nt->transport_link != NTB_LINK_UP); in ntb_qp_link_work()
843 qp->qp_link = NTB_LINK_UP; in ntb_qp_link_work()
847 qp->event_handler(qp->cb_data, NTB_LINK_UP); in ntb_qp_link_work()
848 } else if (nt->transport_link == NTB_LINK_UP) in ntb_qp_link_work()
1039 if (qp->rx_handler && qp->client_ready == NTB_LINK_UP) in ntb_rx_copy_callback()
1570 if (!qp || qp->client_ready == NTB_LINK_UP) in ntb_transport_rx_remove()
1639 if (!qp || qp->qp_link != NTB_LINK_UP || !len) in ntb_transport_tx_enqueue()
1673 qp->client_ready = NTB_LINK_UP; in ntb_transport_link_up()
1675 if (qp->transport->transport_link == NTB_LINK_UP) in ntb_transport_link_up()
1711 if (qp->qp_link == NTB_LINK_UP) in ntb_transport_link_down()
1731 return qp->qp_link == NTB_LINK_UP; in ntb_transport_link_query()