| /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_vf.c | 506 bool *link_up) in ixgbevf_get_pf_link_state() argument 530 *link_up = msgbuf[2]; in ixgbevf_get_pf_link_state() 658 bool *link_up, bool autoneg_wait_to_complete) in ixgbe_check_mac_link_vf() argument 668 if (link_up == NULL) in ixgbe_check_mac_link_vf() 679 ret_val = ixgbevf_get_pf_link_state(hw, speed, link_up); in ixgbe_check_mac_link_vf() 682 *link_up = false; in ixgbe_check_mac_link_vf() 688 mac->get_link_status = !*link_up; in ixgbe_check_mac_link_vf() 769 *link_up = !mac->get_link_status; in ixgbe_check_mac_link_vf()
|
| H A D | ixgbe_x550.c | 2385 bool link_up = false; in ixgbe_reset_hw_X550em() local 2447 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_X550em() 2448 if (link_up) in ixgbe_reset_hw_X550em() 2902 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 2907 *link_up = false; in ixgbe_ext_phy_t_x550em_get_link() 2922 *link_up = !!(autoneg_status & IXGBE_MDIO_AUTO_NEG_LINK_STATUS); in ixgbe_ext_phy_t_x550em_get_link() 2942 bool link_up; in ixgbe_setup_internal_phy_t_x550em() local 2952 status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up); in ixgbe_setup_internal_phy_t_x550em() 2956 if (!link_up) in ixgbe_setup_internal_phy_t_x550em() 2967 status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up); in ixgbe_setup_internal_phy_t_x550em() [all …]
|
| H A D | ixgbe_vf.h | 118 bool *link_up, bool autoneg_wait_to_complete); 128 bool *link_up);
|
| H A D | ixgbe_hv_vf.c | 176 bool *link_up, bool autoneg_wait_to_complete) in ixgbevf_hv_check_mac_link_vf() argument 252 *link_up = !mac->get_link_status; in ixgbevf_hv_check_mac_link_vf()
|
| H A D | ixgbe_common.c | 168 bool link_up; in ixgbe_device_supports_autoneg_fc() local 186 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_device_supports_autoneg_fc() 188 if (link_up) in ixgbe_device_supports_autoneg_fc() 3127 bool link_up; in ixgbe_fc_autoneg() local 3144 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_fc_autoneg() 3145 if (!link_up) { in ixgbe_fc_autoneg() 3484 bool link_up = 0; in ixgbe_blink_led_start_generic() local 3499 hw->mac.ops.check_link(hw, &speed, &link_up, false); in ixgbe_blink_led_start_generic() 3501 if (!link_up) { in ixgbe_blink_led_start_generic() 4255 bool *link_up, bool link_up_wait_to_complete) in ixgbe_check_mac_link_generic() argument [all …]
|
| H A D | ixgbe_82599.c | 816 bool link_up = false; in ixgbe_setup_mac_link_smartspeed() local 858 status = ixgbe_check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_smartspeed() 863 if (link_up) in ixgbe_setup_mac_link_smartspeed() 893 status = ixgbe_check_link(hw, &link_speed, &link_up, false); in ixgbe_setup_mac_link_smartspeed() 897 if (link_up) in ixgbe_setup_mac_link_smartspeed() 907 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed() 1071 bool link_up = false; in ixgbe_reset_hw_82599() local 1116 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599() 1117 if (link_up) in ixgbe_reset_hw_82599()
|
| H A D | ixgbe_e610.h | 75 s32 ixgbe_get_link_status(struct ixgbe_hw *hw, bool *link_up); 194 bool *link_up, bool link_up_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 | 668 IFF_DRV_RUNNING) || !nic->link_up || (err != 0)) { in nicvf_if_transmit() 753 if (nic->link_up) { in nicvf_media_status() 923 nic->link_up = FALSE; in nicvf_handle_mbx_intr() 943 nic->link_up = mbx.link_status.link_up; in nicvf_handle_mbx_intr() 946 if (nic->link_up) { in nicvf_handle_mbx_intr()
|
| /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/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/eqos/ |
| H A D | if_eqos_var.h | 85 bool link_up; member
|
| H A D | if_eqos.c | 184 sc->link_up = true; in eqos_miibus_statchg() 186 sc->link_up = false; in eqos_miibus_statchg() 210 sc->link_up = false; in eqos_miibus_statchg() 594 if (!sc->link_up) in eqos_start_locked() 840 link_status = sc->link_up; in eqos_tick() 842 if (sc->link_up && !link_status) in eqos_tick()
|
| /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()
|
| /freebsd/sys/dev/qlxgb/ |
| H A D | qla_def.h | 119 link_up :1, member
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_iflib.h | 317 bool link_up; member
|
| /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
|