Searched refs:lp_reg (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H 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() 159 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); 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() [all …]
|
| H A D | xgbe-phy-v2.c | 1530 unsigned int ad_reg, lp_reg; in xgbe_phy_an37_outcome() local 1537 lp_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_LP_ABILITY); in xgbe_phy_an37_outcome() 1538 if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1540 if (lp_reg & 0x80) in xgbe_phy_an37_outcome() 1548 if (ad_reg & lp_reg & 0x100) { in xgbe_phy_an37_outcome() 1551 } else if (ad_reg & lp_reg & 0x80) { in xgbe_phy_an37_outcome() 1554 else if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1559 if (lp_reg & 0x20) in xgbe_phy_an37_outcome() 1563 ad_reg &= lp_reg; in xgbe_phy_an37_outcome() 1574 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_redrv_outcome() local [all …]
|
| H 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()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H 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()
|
| H A D | ixgbe.h | 1105 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
|
| /linux/drivers/regulator/ |
| H A D | mt6363-regulator.c | 118 #define MT6363_BUCK(match, vreg, min, max, step, en_reg, lp_reg, \ argument 138 .lp_mode_reg = lp_reg, \
|