Home
last modified time | relevance | path

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

/linux/drivers/net/team/
H A Dteam_core.c89 info.link_up = port->linkup; in team_lower_state_changed()
96 bool new_linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup()
97 port->state.linkup; in team_refresh_port_linkup()
99 if (port->linkup != new_linkup) { in team_refresh_port_linkup()
100 port->linkup = new_linkup; in team_refresh_port_linkup()
1208 static void __team_port_change_port_added(struct team_port *port, bool linkup);
1606 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get()
1616 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set()
2889 (port->state.linkup && in team_nl_fill_one_port_get()
3085 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument
[all …]
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii.c248 static int emac_sgmii_common_link_change(struct emac_adapter *adpt, bool linkup) in emac_sgmii_common_link_change() argument
253 if (linkup) { in emac_sgmii_common_link_change()
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-ntb.c91 bool linkup; member
676 ntb_epc->linkup = true; in epf_ntb_cmd_handler()
677 if (ntb->epc[PRIMARY_INTERFACE]->linkup && in epf_ntb_cmd_handler()
678 ntb->epc[SECONDARY_INTERFACE]->linkup) { in epf_ntb_cmd_handler()
689 ntb_epc->linkup = false; in epf_ntb_cmd_handler()
1533 ntb_epc->linkup = false; in epf_ntb_epc_create_interface()
H A Dpci-epf-vntb.c150 bool linkup; member
323 ntb->linkup = true; in epf_ntb_cmd_handler()
331 ntb->linkup = false; in epf_ntb_cmd_handler()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1111 adapter->ahw.linkup = 0; in __netxen_nic_up()
2165 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup) in netxen_advert_link_change() argument
2169 if (adapter->ahw.linkup && !linkup) { in netxen_advert_link_change()
2172 adapter->ahw.linkup = 0; in netxen_advert_link_change()
2178 } else if (!adapter->ahw.linkup && linkup) { in netxen_advert_link_change()
2181 adapter->ahw.linkup = 1; in netxen_advert_link_change()
2192 u32 val, port, linkup; in netxen_nic_handle_phy_intr() local
2199 linkup = (val == XG_LINK_UP_P3); in netxen_nic_handle_phy_intr()
2203 linkup = (val == XG_LINK_UP); in netxen_nic_handle_phy_intr()
2206 netxen_advert_link_change(adapter, linkup); in netxen_nic_handle_phy_intr()
H A Dnetxen_nic.h585 u8 linkup; member
1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c789 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() argument
793 if (adapter->ahw->linkup && !linkup) { in qlcnic_advert_link_change()
795 adapter->ahw->linkup = 0; in qlcnic_advert_link_change()
797 } else if (!adapter->ahw->linkup && linkup) { in qlcnic_advert_link_change()
798 adapter->ahw->linkup = 1; in qlcnic_advert_link_change()
H A Dqlcnic_main.c1877 adapter->ahw->linkup = 0; in __qlcnic_up()
1921 adapter->ahw->linkup = 0; in __qlcnic_down()
2120 adapter->ahw->linkup = 0; in qlcnic_diag_alloc_res()
H A Dqlcnic_83xx_hw.c1415 adapter->ahw->linkup = 0; in qlcnic_83xx_diag_alloc_res()
1815 } while ((adapter->ahw->linkup && ahw->has_link_events) != 1); in qlcnic_83xx_loopback_test()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c1278 void ice_ptp_link_change(struct ice_pf *pf, bool linkup) in ice_ptp_link_change() argument
1289 ptp_port->link_up = linkup; in ice_ptp_link_change()
1328 if (linkup) in ice_ptp_link_change()
1341 if (linkup) in ice_ptp_link_change()
H A Dice_ethtool.c2621 bool linkup; in ice_set_link_ksettings() local
2714 err = ice_get_link_status(pi, &linkup); in ice_set_link_ksettings()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c5549 static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup) in hns3_link_status_change() argument
5556 if (linkup) { in hns3_link_status_change()