Home
last modified time | relevance | path

Searched refs:linkup (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dintr.c110 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup) in handle_linkup_change() argument
115 if (!(ppd->linkup ^ !!linkup)) in handle_linkup_change()
118 if (linkup) { in handle_linkup_change()
168 ppd->linkup = 1; in handle_linkup_change()
177 ppd->linkup = 0; in handle_linkup_change()
Dinit.c868 ppd->linkup = 0; in hfi1_init()
1018 ppd->linkup = 0; in shutdown_device()
Dhfi.h758 u32 linkup; member
1422 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
Ddriver.c142 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units()
/linux-6.1.9/include/linux/
Dif_team.h35 bool linkup; /* either state.linkup or user.linkup */ member
38 bool linkup; member
45 bool linkup; member
85 return port->linkup && team_port_enabled(port); in team_port_txable()
/linux-6.1.9/drivers/net/team/
Dteam.c87 info.link_up = port->linkup; in team_lower_state_changed()
94 bool new_linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup()
95 port->state.linkup; in team_refresh_port_linkup()
97 if (port->linkup != new_linkup) { in team_refresh_port_linkup()
98 port->linkup = new_linkup; in team_refresh_port_linkup()
1132 static void __team_port_change_port_added(struct team_port *port, bool linkup);
1473 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get()
1484 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set()
2702 (port->state.linkup && in team_nl_fill_one_port_get()
2914 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ptp.h259 int ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup);
294 static inline int ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change() argument
Dice_ptp.c1351 int ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change() argument
1366 ptp_port->link_up = linkup; in ice_ptp_link_change()
Dice_ethtool.c2257 bool linkup; in ice_set_link_ksettings() local
2350 err = ice_get_link_status(pi, &linkup); in ice_set_link_ksettings()
/linux-6.1.9/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii.c246 static int emac_sgmii_common_link_change(struct emac_adapter *adpt, bool linkup) in emac_sgmii_common_link_change() argument
251 if (linkup) { in emac_sgmii_common_link_change()
/linux-6.1.9/drivers/pci/endpoint/functions/
Dpci-epf-ntb.c91 bool linkup; member
673 ntb_epc->linkup = true; in epf_ntb_cmd_handler()
674 if (ntb->epc[PRIMARY_INTERFACE]->linkup && in epf_ntb_cmd_handler()
675 ntb->epc[SECONDARY_INTERFACE]->linkup) { in epf_ntb_cmd_handler()
686 ntb_epc->linkup = false; in epf_ntb_cmd_handler()
1573 ntb_epc->linkup = false; in epf_ntb_epc_create_interface()
Dpci-epf-vntb.c132 bool linkup; member
297 ntb->linkup = true; in epf_ntb_cmd_handler()
305 ntb->linkup = false; in epf_ntb_cmd_handler()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1114 adapter->ahw.linkup = 0; in __netxen_nic_up()
2175 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup) in netxen_advert_link_change() argument
2179 if (adapter->ahw.linkup && !linkup) { in netxen_advert_link_change()
2182 adapter->ahw.linkup = 0; in netxen_advert_link_change()
2188 } else if (!adapter->ahw.linkup && linkup) { in netxen_advert_link_change()
2191 adapter->ahw.linkup = 1; in netxen_advert_link_change()
2202 u32 val, port, linkup; in netxen_nic_handle_phy_intr() local
2209 linkup = (val == XG_LINK_UP_P3); in netxen_nic_handle_phy_intr()
2213 linkup = (val == XG_LINK_UP); in netxen_nic_handle_phy_intr()
2216 netxen_advert_link_change(adapter, linkup); in netxen_nic_handle_phy_intr()
Dnetxen_nic.h585 u8 linkup; member
1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
Dnetxen_nic_ethtool.c233 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c790 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() argument
794 if (adapter->ahw->linkup && !linkup) { in qlcnic_advert_link_change()
796 adapter->ahw->linkup = 0; in qlcnic_advert_link_change()
798 } else if (!adapter->ahw->linkup && linkup) { in qlcnic_advert_link_change()
799 adapter->ahw->linkup = 1; in qlcnic_advert_link_change()
Dqlcnic_ethtool.c327 if (ahw->linkup) { in qlcnic_82xx_get_link_ksettings()
1376 if (adapter->ahw->linkup) in qlcnic_get_ethtool_stats()
Dqlcnic_main.c1884 adapter->ahw->linkup = 0; in __qlcnic_up()
1928 adapter->ahw->linkup = 0; in __qlcnic_down()
2128 adapter->ahw->linkup = 0; in qlcnic_diag_alloc_res()
Dqlcnic.h478 u8 linkup; member
Dqlcnic_83xx_hw.c1416 adapter->ahw->linkup = 0; in qlcnic_83xx_diag_alloc_res()
1816 } while ((adapter->ahw->linkup && ahw->has_link_events) != 1); in qlcnic_83xx_loopback_test()
/linux-6.1.9/Documentation/PCI/endpoint/
Dpci-endpoint.rst175 * linkup: ops to perform when the EPC device has established a
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c5448 static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup) in hns3_link_status_change() argument
5455 if (linkup) { in hns3_link_status_change()