Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ntb/
Dntb_transport.c139 bool link_is_up; member
239 bool link_is_up; member
474 if (!qp || !qp->link_is_up) in debugfs_read()
546 qp->link_is_up ? "Up" : "Down"); in debugfs_read()
916 qp->link_is_up = false; in ntb_qp_link_down_reset()
948 qp->event_handler(qp->cb_data, qp->link_is_up); in ntb_qp_link_cleanup()
960 if (nt->link_is_up) in ntb_qp_link_cleanup_work()
987 if (!nt->link_is_up) in ntb_transport_link_cleanup()
1096 nt->link_is_up = true; in ntb_transport_link_work()
1133 WARN_ON(!nt->link_is_up); in ntb_qp_link_work()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c86 bool link_is_up; member
438 if (!sndev->link_is_up) { in switchtec_ntb_set_link_speed()
492 int old = sndev->link_is_up; in switchtec_ntb_link_status_update()
504 sndev->link_is_up = link_sta; in switchtec_ntb_link_status_update()
529 if (sndev->link_is_up) { in check_link_status_work()
530 sndev->link_is_up = 0; in check_link_status_work()
568 return sndev->link_is_up; in switchtec_ntb_link_is_up()
817 .link_is_up = switchtec_ntb_link_is_up,
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
Dntb_hw_intel.h105 int (*link_is_up)(struct intel_ntb_dev *ndev); member
Dntb_hw_gen4.c24 .link_is_up = gen4_link_is_up,
250 if (!ndev->reg->link_is_up(ndev)) in ndev_ntb4_debugfs_read()
547 .link_is_up = intel_ntb_link_is_up,
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_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()
1939 .link_is_up = xeon_link_is_up,
2007 .link_is_up = intel_ntb_link_is_up,
/kernel/linux/linux-5.10/net/tipc/
Dlink.c233 static int link_is_up(struct tipc_link *l) in link_is_up() function
264 return link_is_up(l); in tipc_link_is_up()
1772 if (unlikely(!link_is_up(l))) { in tipc_link_rcv()
1830 bool node_up = link_is_up(bcl); in tipc_link_build_proto_msg()
2145 if (!link_is_up(l) && msg_ack(hdr)) in tipc_link_validate_msg()
2240 if (mtyp == RESET_MSG || !link_is_up(l)) in tipc_link_proto_rcv()
2279 if (!link_is_up(l)) { in tipc_link_proto_rcv()
2366 if (link_is_up(l)) in tipc_link_bc_init_rcv()
2394 if (!link_is_up(l)) in tipc_link_bc_sync_rcv()
2454 if (!link_is_up(r) || !r->bc_peer_is_up) in tipc_link_bc_ack_rcv()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/ntb/hw/amd/
Dntb_hw_amd.c551 .link_is_up = amd_ntb_link_is_up,
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/
Dntb_hw_idt.c2246 .link_is_up = idt_ntb_link_is_up,