Searched refs:mii_status_reg (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/igc/ |
H A D | igc_mac.c | 709 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in igc_config_fc_after_link_up_generic() local 729 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in igc_config_fc_after_link_up_generic() 732 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in igc_config_fc_after_link_up_generic() 736 if (!(mii_status_reg & MII_SR_AUTONEG_COMPLETE)) { in igc_config_fc_after_link_up_generic()
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_82543.c | 770 u16 mii_status_reg; in e1000_polarity_reversal_workaround_82543() local 802 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround_82543() 806 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround_82543() 810 if (!(mii_status_reg & ~MII_SR_LINK_STATUS)) in e1000_polarity_reversal_workaround_82543()
|
H A D | e1000_mac.c | 1363 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in e1000_config_fc_after_link_up_generic() local 1396 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up_generic() 1399 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up_generic() 1403 if (!(mii_status_reg & MII_SR_AUTONEG_COMPLETE)) { in e1000_config_fc_after_link_up_generic()
|