Home
last modified time | relevance | path

Searched refs:lp_reg (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_phy_impl.c879 if (lp_reg & 0x80) in axgbe_phy_an73_redrv_outcome()
881 if (lp_reg & 0x20) in axgbe_phy_an73_redrv_outcome()
884 ad_reg &= lp_reg; in axgbe_phy_an73_redrv_outcome()
926 if (lp_reg & 0xc000) in axgbe_phy_an73_redrv_outcome()
943 if (lp_reg & 0x400) in axgbe_phy_an73_outcome()
945 if (lp_reg & 0x800) in axgbe_phy_an73_outcome()
959 else if (lp_reg & 0x400) in axgbe_phy_an73_outcome()
967 if (lp_reg & 0x80) in axgbe_phy_an73_outcome()
969 if (lp_reg & 0x20) in axgbe_phy_an73_outcome()
972 ad_reg &= lp_reg; in axgbe_phy_an73_outcome()
[all …]
H A Daxgbe_mdio.c363 unsigned int ad_reg, lp_reg, reg; in axgbe_an73_tx_training() local
373 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in axgbe_an73_tx_training()
377 if ((ad_reg & 0xc000) && (lp_reg & 0xc000)) in axgbe_an73_tx_training()
421 unsigned int reg, ad_reg, lp_reg; in axgbe_an73_rx_bpa() local
433 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in axgbe_an73_rx_bpa()
436 (lp_reg & AXGBE_XNP_NP_EXCHANGE)) in axgbe_an73_rx_bpa()
444 unsigned int ad_reg, lp_reg; in axgbe_an73_rx_xnp() local
448 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPX); in axgbe_an73_rx_xnp()
451 (lp_reg & AXGBE_XNP_NP_EXCHANGE)) in axgbe_an73_rx_xnp()
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.h83 s32 txgbe_negotiate_fc(struct txgbe_hw *hw, u32 adv_reg, u32 lp_reg,
H A Dtxgbe_hw.c1078 s32 txgbe_negotiate_fc(struct txgbe_hw *hw, u32 adv_reg, u32 lp_reg, in txgbe_negotiate_fc() argument
1081 if ((!(adv_reg)) || (!(lp_reg))) { in txgbe_negotiate_fc()
1084 adv_reg, lp_reg); in txgbe_negotiate_fc()
1088 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in txgbe_negotiate_fc()
1104 (lp_reg & lp_sym) && (lp_reg & lp_asm)) { in txgbe_negotiate_fc()
1108 !(lp_reg & lp_sym) && (lp_reg & lp_asm)) { in txgbe_negotiate_fc()
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_common.c2911 s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, in ixgbe_negotiate_fc() argument
2914 if ((!(adv_reg)) || (!(lp_reg))) { in ixgbe_negotiate_fc()
2918 adv_reg, lp_reg); in ixgbe_negotiate_fc()
2922 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in ixgbe_negotiate_fc()
2938 (lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc()
2942 !(lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc()
H A Dixgbe_api.h194 s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,