• Home
  • Raw
  • Download

Lines Matching refs:lpa

260 static inline u32 mii_lpa_to_ethtool_lpa_t(u32 lpa)  in mii_lpa_to_ethtool_lpa_t()  argument
264 if (lpa & LPA_LPACK) in mii_lpa_to_ethtool_lpa_t()
267 return result | mii_adv_to_ethtool_adv_t(lpa); in mii_lpa_to_ethtool_lpa_t()
278 static inline u32 mii_stat1000_to_ethtool_lpa_t(u32 lpa) in mii_stat1000_to_ethtool_lpa_t() argument
282 if (lpa & LPA_1000HALF) in mii_stat1000_to_ethtool_lpa_t()
284 if (lpa & LPA_1000FULL) in mii_stat1000_to_ethtool_lpa_t()
300 u32 lpa) in mii_stat1000_mod_linkmode_lpa_t() argument
303 advertising, lpa & LPA_1000HALF); in mii_stat1000_mod_linkmode_lpa_t()
306 advertising, lpa & LPA_1000FULL); in mii_stat1000_mod_linkmode_lpa_t()
367 mii_lpa_mod_linkmode_lpa_sgmii(unsigned long *lp_advertising, u32 lpa) in mii_lpa_mod_linkmode_lpa_sgmii() argument
369 u32 speed_duplex = lpa & LPA_SGMII_DPX_SPD_MASK; in mii_lpa_mod_linkmode_lpa_sgmii()
400 u32 lpa) in mii_lpa_to_linkmode_lpa_sgmii() argument
404 mii_lpa_mod_linkmode_lpa_sgmii(lp_advertising, lpa); in mii_lpa_to_linkmode_lpa_sgmii()
463 u32 lpa) in mii_lpa_to_linkmode_lpa_t() argument
465 mii_adv_to_linkmode_adv_t(lp_advertising, lpa); in mii_lpa_to_linkmode_lpa_t()
467 if (lpa & LPA_LPACK) in mii_lpa_to_linkmode_lpa_t()
482 u32 lpa) in mii_lpa_mod_linkmode_lpa_t() argument
484 mii_adv_mod_linkmode_adv_t(lp_advertising, lpa); in mii_lpa_mod_linkmode_lpa_t()
487 lp_advertising, lpa & LPA_LPACK); in mii_lpa_mod_linkmode_lpa_t()
526 static inline void mii_lpa_mod_linkmode_x(unsigned long *linkmodes, u16 lpa, in mii_lpa_mod_linkmode_x() argument
530 lpa & LPA_LPACK); in mii_lpa_mod_linkmode_x()
532 lpa & LPA_1000XPAUSE); in mii_lpa_mod_linkmode_x()
534 lpa & LPA_1000XPAUSE_ASYM); in mii_lpa_mod_linkmode_x()
536 lpa & LPA_1000XFULL); in mii_lpa_mod_linkmode_x()