| /linux/include/linux/ |
| H A D | if_team.h | 35 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/drivers/net/team/ |
| H A D | team_core.c | 89 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() 1081 static void __team_port_change_port_added(struct team_port *port, bool linkup); 1437 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get() 1447 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set() 2643 (port->state.linkup && in team_nl_fill_one_port_get() 2836 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.h | 320 void ice_ptp_link_change(struct ice_pf *pf, bool linkup); 386 static inline void ice_ptp_link_change(struct ice_pf *pf, bool linkup) in ice_ptp_link_change() argument
|
| H A D | ice_ptp.c | 1282 void ice_ptp_link_change(struct ice_pf *pf, bool linkup) in ice_ptp_link_change() argument 1293 ptp_port->link_up = linkup; in ice_ptp_link_change() 1340 if (linkup) in ice_ptp_link_change()
|
| H A D | ice_ethtool.c | 2621 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/qualcomm/emac/ |
| H A D | emac-sgmii.c | 248 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/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_main.c | 1111 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 D | netxen_nic.h | 585 u8 linkup; member 1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
|
| /linux/drivers/scsi/fnic/ |
| H A D | fnic_fcs.c | 81 void fnic_fdls_link_status_change(struct fnic *fnic, int linkup) in fnic_fdls_link_status_change() argument 86 "link up: %d, usefip: %d", linkup, iport->usefip); in fnic_fdls_link_status_change() 90 if (linkup) { in fnic_fdls_link_status_change() 94 "link up: %d, usefip: %d", linkup, iport->usefip); in fnic_fdls_link_status_change()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_io.c | 789 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 D | qlcnic_main.c | 1877 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 D | qlcnic.h | 478 u8 linkup; member
|
| H A D | qlcnic_83xx_hw.c | 1415 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/infiniband/hw/hfi1/ |
| H A D | init.c | 867 ppd->linkup = 0; in hfi1_init() 1017 ppd->linkup = 0; in shutdown_device()
|
| H A D | driver.c | 142 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 5540 static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup) in hns3_link_status_change() argument 5547 if (linkup) { in hns3_link_status_change()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v2.c | 7549 bool linkup) in hns_roce_hw_v2_link_status_change() argument 7554 if (linkup || !hr_dev) in hns_roce_hw_v2_link_status_change()
|