Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dintr.c152 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup) in handle_linkup_change() argument
157 if (!(ppd->linkup ^ !!linkup)) in handle_linkup_change()
160 if (linkup) { in handle_linkup_change()
210 ppd->linkup = 1; in handle_linkup_change()
219 ppd->linkup = 0; in handle_linkup_change()
Dhfi.h800 u32 linkup; member
1473 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
Dinit.c904 ppd->linkup = 0; in hfi1_init()
1068 ppd->linkup = 0; in shutdown_device()
Ddriver.c185 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units()
/drivers/net/team/
Dteam.c86 info.link_up = port->linkup; in team_lower_state_changed()
93 bool new_linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup()
94 port->state.linkup; in team_refresh_port_linkup()
96 if (port->linkup != new_linkup) { in team_refresh_port_linkup()
97 port->linkup = new_linkup; in team_refresh_port_linkup()
1123 static void __team_port_change_port_added(struct team_port *port, bool linkup);
1460 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get()
1471 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set()
2677 (port->state.linkup && in team_nl_fill_one_port_get()
2888 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument
[all …]
/drivers/pci/endpoint/
Dpci-epf-core.c39 epf->driver->ops->linkup(epf); in pci_epf_linkup()
217 if (!driver->ops->bind || !driver->ops->unbind || !driver->ops->linkup) in __pci_epf_register_driver()
/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()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1118 adapter->ahw.linkup = 0; in __netxen_nic_up()
2181 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup) in netxen_advert_link_change() argument
2185 if (adapter->ahw.linkup && !linkup) { in netxen_advert_link_change()
2188 adapter->ahw.linkup = 0; in netxen_advert_link_change()
2194 } else if (!adapter->ahw.linkup && linkup) { in netxen_advert_link_change()
2197 adapter->ahw.linkup = 1; in netxen_advert_link_change()
2208 u32 val, port, linkup; in netxen_nic_handle_phy_intr() local
2215 linkup = (val == XG_LINK_UP_P3); in netxen_nic_handle_phy_intr()
2219 linkup = (val == XG_LINK_UP); in netxen_nic_handle_phy_intr()
2222 netxen_advert_link_change(adapter, linkup); in netxen_nic_handle_phy_intr()
Dnetxen_nic.h585 u8 linkup; member
1776 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()
/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.c328 if (ahw->linkup) { in qlcnic_82xx_get_link_ksettings()
1372 if (adapter->ahw->linkup) in qlcnic_get_ethtool_stats()
Dqlcnic_main.c1907 adapter->ahw->linkup = 0; in __qlcnic_up()
1951 adapter->ahw->linkup = 0; in __qlcnic_down()
2151 adapter->ahw->linkup = 0; in qlcnic_diag_alloc_res()
Dqlcnic.h479 u8 linkup; member
Dqlcnic_83xx_hw.c1412 adapter->ahw->linkup = 0; in qlcnic_83xx_diag_alloc_res()
1812 } while ((adapter->ahw->linkup && ahw->has_link_events) != 1); in qlcnic_83xx_loopback_test()
/drivers/pci/endpoint/functions/
Dpci-epf-test.c583 .linkup = pci_epf_test_linkup,
/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2364 bool linkup; in ice_set_link_ksettings() local
2458 status = ice_get_link_status(p, &linkup); in ice_set_link_ksettings()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4002 static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup) in hns3_link_status_change() argument
4009 if (linkup) { in hns3_link_status_change()