Home
last modified time | relevance | path

Searched refs:link_is_up (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/ntb/
Dntb_transport.c139 bool link_is_up; member
239 bool link_is_up; member
472 if (!qp || !qp->link_is_up) in debugfs_read()
544 qp->link_is_up ? "Up" : "Down"); in debugfs_read()
914 qp->link_is_up = false; in ntb_qp_link_down_reset()
946 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_cleanup()
958 if (nt->link_is_up) in ntb_qp_link_cleanup_work()
985 if (!nt->link_is_up) in ntb_transport_link_cleanup()
1094 nt->link_is_up = true; in ntb_transport_link_work()
1131 WARN_ON(!nt->link_is_up); in ntb_qp_link_work()
[all …]
/Linux-v6.1/drivers/net/
Dntb_netdev.c83 static void ntb_netdev_event_handler(void *data, int link_is_up) in ntb_netdev_event_handler() argument
88 netdev_dbg(ndev, "Event %x, Link %x\n", link_is_up, in ntb_netdev_event_handler()
91 if (link_is_up) { in ntb_netdev_event_handler()
/Linux-v6.1/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c86 bool link_is_up; member
440 if (!sndev->link_is_up) { in switchtec_ntb_set_link_speed()
494 int old = sndev->link_is_up; in switchtec_ntb_link_status_update()
506 sndev->link_is_up = link_sta; in switchtec_ntb_link_status_update()
531 if (sndev->link_is_up) { in check_link_status_work()
532 sndev->link_is_up = 0; in check_link_status_work()
570 return sndev->link_is_up; in switchtec_ntb_link_is_up()
819 .link_is_up = switchtec_ntb_link_is_up,
/Linux-v6.1/drivers/ntb/hw/intel/
Dntb_hw_gen3.c65 .link_is_up = xeon_link_is_up,
288 if (!ndev->reg->link_is_up(ndev)) in ndev_ntb3_debugfs_read()
607 .link_is_up = intel_ntb_link_is_up,
Dntb_hw_gen4.c24 .link_is_up = gen4_link_is_up,
252 if (!ndev->reg->link_is_up(ndev)) in ndev_ntb4_debugfs_read()
572 .link_is_up = intel_ntb_link_is_up,
Dntb_hw_intel.h103 int (*link_is_up)(struct intel_ntb_dev *ndev); member
Dntb_hw_gen1.c537 if (!ndev->reg->link_is_up(ndev)) { in ndev_ntb_debugfs_read()
948 if (ndev->reg->link_is_up(ndev)) { in intel_ntb_link_is_up()
1933 .link_is_up = xeon_link_is_up,
2001 .link_is_up = intel_ntb_link_is_up,
/Linux-v6.1/net/tipc/
Dlink.c261 static int link_is_up(struct tipc_link *l) in link_is_up() function
292 return link_is_up(l); in tipc_link_is_up()
1808 if (unlikely(!link_is_up(l))) { in tipc_link_rcv()
1866 bool node_up = link_is_up(bcl); in tipc_link_build_proto_msg()
2181 if (!link_is_up(l) && msg_ack(hdr)) in tipc_link_validate_msg()
2276 if (mtyp == RESET_MSG || !link_is_up(l)) in tipc_link_proto_rcv()
2315 if (!link_is_up(l)) { in tipc_link_proto_rcv()
2402 if (link_is_up(l)) in tipc_link_bc_init_rcv()
2430 if (!link_is_up(l)) in tipc_link_bc_sync_rcv()
2490 if (!link_is_up(r) || !r->bc_peer_is_up) in tipc_link_bc_ack_rcv()
[all …]
/Linux-v6.1/include/linux/
Dntb.h266 u64 (*link_is_up)(struct ntb_dev *ntb, member
344 ops->link_is_up && in ntb_dev_ops_is_valid()
747 return ntb->ops->link_is_up(ntb, speed, width); in ntb_link_is_up()
/Linux-v6.1/drivers/pci/controller/dwc/
Dpci-imx6.c72 bool link_is_up; member
900 imx6_pcie->link_is_up = true; in imx6_pcie_start_link()
906 imx6_pcie->link_is_up = false; in imx6_pcie_start_link()
1073 if (imx6_pcie->link_is_up) in imx6_pcie_resume_noirq()
/Linux-v6.1/Documentation/networking/
Dsfp-phylink.rst262 phylink_mac_change(priv->phylink, link_is_up);
264 where ``link_is_up`` is true if the link is currently up or false
/Linux-v6.1/drivers/ntb/hw/epf/
Dntb_hw_epf.c532 .link_is_up = ntb_epf_link_is_up,
/Linux-v6.1/drivers/pci/endpoint/functions/
Dpci-epf-vntb.c1237 .link_is_up = vntb_epf_link_is_up,
/Linux-v6.1/drivers/ntb/hw/amd/
Dntb_hw_amd.c551 .link_is_up = amd_ntb_link_is_up,
/Linux-v6.1/drivers/ntb/hw/idt/
Dntb_hw_idt.c2246 .link_is_up = idt_ntb_link_is_up,