/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_82598.c | 55 ixgbe_link_speed *speed, bool *link_up, 417 bool link_up; in ixgbe_fc_enable_82598() local 445 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_fc_enable_82598() 446 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598() 643 ixgbe_link_speed *speed, bool *link_up, in ixgbe_check_mac_link_82598() argument 667 *link_up = true; in ixgbe_check_mac_link_82598() 670 *link_up = false; in ixgbe_check_mac_link_82598() 682 *link_up = true; in ixgbe_check_mac_link_82598() 684 *link_up = false; in ixgbe_check_mac_link_82598() 687 if (*link_up == false) in ixgbe_check_mac_link_82598() [all …]
|
H A D | ixgbe_x550.c | 2373 bool link_up = false; in ixgbe_reset_hw_X550em() local 2435 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_X550em() 2436 if (link_up) in ixgbe_reset_hw_X550em() 2890 static s32 ixgbe_ext_phy_t_x550em_get_link(struct ixgbe_hw *hw, bool *link_up) in ixgbe_ext_phy_t_x550em_get_link() argument 2895 *link_up = false; in ixgbe_ext_phy_t_x550em_get_link() 2910 *link_up = !!(autoneg_status & IXGBE_MDIO_AUTO_NEG_LINK_STATUS); in ixgbe_ext_phy_t_x550em_get_link() 2930 bool link_up; in ixgbe_setup_internal_phy_t_x550em() local 2940 status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up); in ixgbe_setup_internal_phy_t_x550em() 2944 if (!link_up) in ixgbe_setup_internal_phy_t_x550em() 2955 status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up); in ixgbe_setup_internal_phy_t_x550em() [all …]
|
H A D | ixgbe_common.c | 167 bool link_up; in ixgbe_device_supports_autoneg_fc() local 184 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_device_supports_autoneg_fc() 186 if (link_up) in ixgbe_device_supports_autoneg_fc() 3108 bool link_up; in ixgbe_fc_autoneg() local 3125 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg() 3126 if (!link_up) { in ixgbe_fc_autoneg() 3466 bool link_up = 0; in ixgbe_blink_led_start_generic() local 3481 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_blink_led_start_generic() 3483 if (!link_up) { in ixgbe_blink_led_start_generic() 4234 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument [all …]
|
H A D | ixgbe_82599.c | 807 bool link_up = false; in ixgbe_setup_mac_link_smartspeed() local 849 status = ixgbe_check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_smartspeed() 854 if (link_up) in ixgbe_setup_mac_link_smartspeed() 884 status = ixgbe_check_link(hw, &link_speed, &link_up, false); in ixgbe_setup_mac_link_smartspeed() 888 if (link_up) in ixgbe_setup_mac_link_smartspeed() 898 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed() 1062 bool link_up = false; in ixgbe_reset_hw_82599() local 1107 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599() 1108 if (link_up) in ixgbe_reset_hw_82599()
|
H A D | ixgbe_vf.h | 129 bool *link_up, bool autoneg_wait_to_complete);
|
/freebsd/sys/dev/al_eth/ |
H A D | al_init_eth_lm.c | 1042 static int al_eth_lm_check_for_link(struct al_eth_lm_context *lm_context, bool *link_up) in al_eth_lm_check_for_link() argument 1050 if (status.link_up == AL_TRUE) { in al_eth_lm_check_for_link() 1054 *link_up = true; in al_eth_lm_check_for_link() 1071 *link_up = false; in al_eth_lm_check_for_link() 1188 if (status.link_up) { in al_eth_lm_link_detection() 1273 al_eth_lm_link_establish(struct al_eth_lm_context *lm_context, bool *link_up) in al_eth_lm_link_establish() argument 1280 *link_up = true; in al_eth_lm_link_establish() 1285 *link_up = false; in al_eth_lm_link_establish() 1300 *link_up = false; in al_eth_lm_link_establish() 1317 *link_up = false; in al_eth_lm_link_establish() [all …]
|
H A D | al_init_eth_lm.h | 314 bool *link_up);
|
/freebsd/sys/dev/liquidio/ |
H A D | lio_rxtx.c | 76 (!lio->linfo.link.s.link_up)) { in lio_xmit() 78 lio->linfo.link.s.link_up); in lio_xmit() 237 (!lio->linfo.link.s.link_up)) in lio_mq_start_locked() 254 (!lio->linfo.link.s.link_up)) in lio_mq_start_locked()
|
/freebsd/sys/dev/vnic/ |
H A D | thunder_bgx.c | 304 link->link_up = lmac->link_up; in bgx_get_lmac_link_state() 346 if (lmac->link_up) { in bgx_sgmii_change_link_state() 433 lmac->link_up = true; in bgx_lmac_handler() 435 lmac->link_up = false; in bgx_lmac_handler() 810 lmac->link_up = 1; in bgx_poll_for_link() 817 lmac->link_up = 0; in bgx_poll_for_link() 820 if (lmac->last_link != lmac->link_up) { in bgx_poll_for_link() 821 lmac->last_link = lmac->link_up; in bgx_poll_for_link() 822 if (lmac->link_up) in bgx_poll_for_link()
|
H A D | thunder_bgx_var.h | 37 boolean_t link_up; member
|
H A D | nic.h | 311 boolean_t link_up; member 464 uint8_t link_up; member
|
H A D | nicvf_main.c | 667 IFF_DRV_RUNNING) || !nic->link_up || (err != 0)) { in nicvf_if_transmit() 752 if (nic->link_up) { in nicvf_media_status() 922 nic->link_up = FALSE; in nicvf_handle_mbx_intr() 942 nic->link_up = mbx.link_status.link_up; in nicvf_handle_mbx_intr() 945 if (nic->link_up) { in nicvf_handle_mbx_intr()
|
H A D | nic_main.c | 1218 if (nic->link[vf] == link.link_up) in nic_poll_for_link() 1222 nic->link[vf] = link.link_up; in nic_poll_for_link() 1227 mbx.link_status.link_up = link.link_up; in nic_poll_for_link()
|
/freebsd/sys/dev/bxe/ |
H A D | bxe_elink.c | 1233 if (vars->link_up) { in elink_ets_get_min_w_val_nig() 2186 if (!vars->link_up) in elink_pfc_statistic() 3051 if (!vars->link_up) in elink_update_pfc() 5539 vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP); in elink_sync_link() 5540 if (vars->link_up) { in elink_sync_link() 6461 uint16_t gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; in elink_link_settings_status() local 6480 link_up = 1; in elink_link_settings_status() 6483 gp_status, link_up, speed_mask); in elink_link_settings_status() 6484 rc = elink_get_link_speed_duplex(phy, params, vars, link_up, speed_mask, in elink_link_settings_status() 6543 uint16_t gp_status1, gp_speed, link_up, duplex = DUPLEX_FULL; in elink_warpcore_read_status() local [all …]
|
/freebsd/sys/dev/eqos/ |
H A D | if_eqos_var.h | 85 bool link_up; member
|
H A D | if_eqos.c | 182 sc->link_up = true; in eqos_miibus_statchg() 184 sc->link_up = false; in eqos_miibus_statchg() 208 sc->link_up = false; in eqos_miibus_statchg() 578 if (!sc->link_up) in eqos_start_locked() 817 link_status = sc->link_up; in eqos_tick() 819 if (sc->link_up && !link_status) in eqos_tick()
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_inline.h | 47 if (ha->link_up) { in qls_get_optics()
|
H A D | qls_isr.c | 338 ha->link_up = 1; in qls_mbx_isr() 342 ha->link_up = 0; in qls_mbx_isr()
|
/freebsd/sys/dev/ice/ |
H A D | ice_iflib.h | 228 * @link_up: boolean indicating if link is up 304 bool link_up; 282 bool link_up; global() member
|
/freebsd/sys/dev/sume/ |
H A D | if_sume.c | 961 if (!link_status && nf_priv->link_up) { in sume_update_link_status() 963 nf_priv->link_up = 0; in sume_update_link_status() 967 } else if (link_status && !nf_priv->link_up) { in sume_update_link_status() 968 nf_priv->link_up = 1; in sume_update_link_status() 992 if (nf_priv->link_up) in sume_media_status() 1160 nf_priv->link_up = 0; in sume_ifp_alloc()
|
H A D | adapter.h | 172 uint32_t link_up; member
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_def.h | 119 link_up :1, member
|
H A D | qla_hw.c | 1747 ha->hw.flags.link_up = 0; in qla_update_link_state() 1752 prev_link_state = ha->hw.flags.link_up; in qla_update_link_state() 1755 ha->hw.flags.link_up = (((link_state & 0xF) == 1)? 1 : 0); in qla_update_link_state() 1757 ha->hw.flags.link_up = ((((link_state >> 4)& 0xF) == 1)? 1 : 0); in qla_update_link_state() 1759 if (prev_link_state != ha->hw.flags.link_up) { in qla_update_link_state() 1760 if (ha->hw.flags.link_up) { in qla_update_link_state()
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 789 prev_link_state = ha->hw.link_up; in ql_mbx_isr() 792 atomic_store_rel_8(&ha->hw.link_up, (uint8_t)data); in ql_mbx_isr() 798 if (prev_link_state != ha->hw.link_up) { in ql_mbx_isr() 799 if (ha->hw.link_up) in ql_mbx_isr()
|
H A D | ql_ioctl.h | 143 uint8_t link_up; member
|