Searched refs:lp_reg (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-phy-v1.c | 153 unsigned int ad_reg, lp_reg; in xgbe_phy_an_outcome() local 160 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_phy_an_outcome() 161 if (lp_reg & 0x400) in xgbe_phy_an_outcome() 163 if (lp_reg & 0x800) in xgbe_phy_an_outcome() 167 __func__, pdata->phy.pause_autoneg, ad_reg, lp_reg); in xgbe_phy_an_outcome() 174 if (ad_reg & lp_reg & 0x400) { in xgbe_phy_an_outcome() 177 } else if (ad_reg & lp_reg & 0x800) { in xgbe_phy_an_outcome() 180 else if (lp_reg & 0x400) in xgbe_phy_an_outcome() 187 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in xgbe_phy_an_outcome() 188 if (lp_reg & 0x80) in xgbe_phy_an_outcome() [all …]
|
H A D | xgbe-phy-v2.c | 1845 unsigned int ad_reg, lp_reg; in xgbe_phy_an37_outcome() local 1852 lp_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_LP_ABILITY); in xgbe_phy_an37_outcome() 1853 if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1855 if (lp_reg & 0x80) in xgbe_phy_an37_outcome() 1859 __func__, pdata->phy.pause_autoneg, ad_reg, lp_reg); in xgbe_phy_an37_outcome() 1866 if (ad_reg & lp_reg & 0x100) { in xgbe_phy_an37_outcome() 1869 } else if (ad_reg & lp_reg & 0x80) { in xgbe_phy_an37_outcome() 1872 else if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1880 if (lp_reg & 0x20) in xgbe_phy_an37_outcome() 1884 ad_reg &= lp_reg; in xgbe_phy_an37_outcome() [all …]
|
H A D | xgbe-mdio.c | 461 unsigned int ad_reg, lp_reg, reg; in xgbe_an73_tx_training() local 471 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in xgbe_an73_tx_training() 475 if ((ad_reg & 0xc000) && (lp_reg & 0xc000)) in xgbe_an73_tx_training() 517 unsigned int reg, ad_reg, lp_reg; in xgbe_an73_rx_bpa() local 529 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_an73_rx_bpa() 532 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_bpa() 540 unsigned int ad_reg, lp_reg; in xgbe_an73_rx_xnp() local 544 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPX); in xgbe_an73_rx_xnp() 547 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_xnp()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_common.c | 2951 s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, in ixgbe_negotiate_fc() argument 2954 if ((!(adv_reg)) || (!(lp_reg))) { in ixgbe_negotiate_fc() 2958 adv_reg, lp_reg); in ixgbe_negotiate_fc() 2962 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in ixgbe_negotiate_fc() 2978 (lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc() 2982 !(lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc()
|
H A D | ixgbe_api.h | 228 s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
|