Searched refs:lp_reg (Results 1 – 5 of 5) sorted by relevance
| /drivers/net/ethernet/amd/xgbe/ |
| A D | xgbe-phy-v1.c | 128 unsigned int ad_reg, lp_reg; in xgbe_phy_an_outcome() local 135 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_phy_an_outcome() 136 if (lp_reg & 0x400) in xgbe_phy_an_outcome() 138 if (lp_reg & 0x800) in xgbe_phy_an_outcome() 146 if (ad_reg & lp_reg & 0x400) { in xgbe_phy_an_outcome() 149 } else if (ad_reg & lp_reg & 0x800) { in xgbe_phy_an_outcome() 152 else if (lp_reg & 0x400) in xgbe_phy_an_outcome() 160 if (lp_reg & 0x80) in xgbe_phy_an_outcome() 162 if (lp_reg & 0x20) { in xgbe_phy_an_outcome() 169 ad_reg &= lp_reg; in xgbe_phy_an_outcome() [all …]
|
| A D | xgbe-phy-v2.c | 1537 if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1539 if (lp_reg & 0x80) in xgbe_phy_an37_outcome() 1558 if (lp_reg & 0x20) in xgbe_phy_an37_outcome() 1562 ad_reg &= lp_reg; in xgbe_phy_an37_outcome() 1585 if (lp_reg & 0x80) in xgbe_phy_an73_redrv_outcome() 1587 if (lp_reg & 0x20) in xgbe_phy_an73_redrv_outcome() 1590 ad_reg &= lp_reg; in xgbe_phy_an73_redrv_outcome() 1666 if (lp_reg & 0x400) in xgbe_phy_an73_outcome() 1690 if (lp_reg & 0x80) in xgbe_phy_an73_outcome() 1692 if (lp_reg & 0x20) in xgbe_phy_an73_outcome() [all …]
|
| A D | xgbe-mdio.c | 379 unsigned int ad_reg, lp_reg, reg; in xgbe_an73_tx_training() local 389 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in xgbe_an73_tx_training() 393 if ((ad_reg & 0xc000) && (lp_reg & 0xc000)) in xgbe_an73_tx_training() 438 unsigned int reg, ad_reg, lp_reg; in xgbe_an73_rx_bpa() local 450 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_an73_rx_bpa() 453 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_bpa() 461 unsigned int ad_reg, lp_reg; in xgbe_an73_rx_xnp() local 465 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPX); in xgbe_an73_rx_xnp() 468 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_xnp()
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_common.c | 2268 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, in ixgbe_negotiate_fc() argument 2271 if ((!(adv_reg)) || (!(lp_reg))) in ixgbe_negotiate_fc() 2274 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in ixgbe_negotiate_fc() 2290 (lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc() 2294 !(lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc()
|
| A D | ixgbe.h | 1107 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
|
Completed in 37 milliseconds