Lines Matching refs:lks
726 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_sfp_phy_settings() local
732 XGBE_ZERO_SUP(lks); in xgbe_phy_sfp_phy_settings()
740 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
741 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
742 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
743 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
744 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
746 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
760 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
761 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
762 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
765 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_sfp_phy_settings()
767 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_sfp_phy_settings()
770 XGBE_SET_SUP(lks, 1000baseX_Full); in xgbe_phy_sfp_phy_settings()
785 XGBE_SET_SUP(lks, 10000baseSR_Full); in xgbe_phy_sfp_phy_settings()
788 XGBE_SET_SUP(lks, 10000baseLR_Full); in xgbe_phy_sfp_phy_settings()
791 XGBE_SET_SUP(lks, 10000baseLRM_Full); in xgbe_phy_sfp_phy_settings()
794 XGBE_SET_SUP(lks, 10000baseER_Full); in xgbe_phy_sfp_phy_settings()
797 XGBE_SET_SUP(lks, 10000baseCR_Full); in xgbe_phy_sfp_phy_settings()
816 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
819 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
823 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
999 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_find_phy_device() local
1062 lks->link_modes.advertising); in xgbe_phy_find_phy_device()
1510 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_phydev_flowctrl() local
1524 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_phydev_flowctrl()
1528 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_phydev_flowctrl()
1541 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an37_sgmii_outcome() local
1544 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an37_sgmii_outcome()
1545 XGBE_SET_LP_ADV(lks, TP); in xgbe_phy_an37_sgmii_outcome()
1554 XGBE_SET_LP_ADV(lks, 100baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1558 XGBE_SET_LP_ADV(lks, 100baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1564 XGBE_SET_LP_ADV(lks, 1000baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1568 XGBE_SET_LP_ADV(lks, 1000baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1581 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an37_outcome() local
1585 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an37_outcome()
1586 XGBE_SET_LP_ADV(lks, FIBRE); in xgbe_phy_an37_outcome()
1592 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an37_outcome()
1594 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an37_outcome()
1613 XGBE_SET_LP_ADV(lks, 1000baseX_Full); in xgbe_phy_an37_outcome()
1624 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an73_redrv_outcome() local
1629 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an73_redrv_outcome()
1630 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an73_redrv_outcome()
1640 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an73_redrv_outcome()
1642 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an73_redrv_outcome()
1697 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an73_redrv_outcome()
1704 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an73_outcome() local
1708 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an73_outcome()
1709 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an73_outcome()
1715 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an73_outcome()
1717 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an73_outcome()
1739 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an73_outcome()
1741 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an73_outcome()
1755 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an73_outcome()
1779 struct ethtool_link_ksettings *slks = &pdata->phy.lks; in xgbe_phy_an_advertising()
1840 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an_config() local
1854 lks->link_modes.advertising); in xgbe_phy_an_config()
2380 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_basex_mode() local
2385 XGBE_ADV(lks, 1000baseX_Full)); in xgbe_phy_use_basex_mode()
2388 XGBE_ADV(lks, 10000baseKR_Full)); in xgbe_phy_use_basex_mode()
2397 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_baset_mode() local
2402 XGBE_ADV(lks, 100baseT_Full)); in xgbe_phy_use_baset_mode()
2405 XGBE_ADV(lks, 1000baseT_Full)); in xgbe_phy_use_baset_mode()
2408 XGBE_ADV(lks, 2500baseT_Full)); in xgbe_phy_use_baset_mode()
2411 XGBE_ADV(lks, 10000baseT_Full)); in xgbe_phy_use_baset_mode()
2420 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_sfp_mode() local
2428 XGBE_ADV(lks, 1000baseX_Full)); in xgbe_phy_use_sfp_mode()
2433 XGBE_ADV(lks, 100baseT_Full)); in xgbe_phy_use_sfp_mode()
2438 XGBE_ADV(lks, 1000baseT_Full)); in xgbe_phy_use_sfp_mode()
2443 XGBE_ADV(lks, 10000baseSR_Full) || in xgbe_phy_use_sfp_mode()
2444 XGBE_ADV(lks, 10000baseLR_Full) || in xgbe_phy_use_sfp_mode()
2445 XGBE_ADV(lks, 10000baseLRM_Full) || in xgbe_phy_use_sfp_mode()
2446 XGBE_ADV(lks, 10000baseER_Full) || in xgbe_phy_use_sfp_mode()
2447 XGBE_ADV(lks, 10000baseCR_Full)); in xgbe_phy_use_sfp_mode()
2456 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_bp_2500_mode() local
2461 XGBE_ADV(lks, 2500baseX_Full)); in xgbe_phy_use_bp_2500_mode()
2470 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_bp_mode() local
2475 XGBE_ADV(lks, 1000baseKX_Full)); in xgbe_phy_use_bp_mode()
2478 XGBE_ADV(lks, 10000baseKR_Full)); in xgbe_phy_use_bp_mode()
3153 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_init() local
3230 XGBE_ZERO_SUP(lks); in xgbe_phy_init()
3235 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3238 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3239 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3240 XGBE_SET_SUP(lks, Backplane); in xgbe_phy_init()
3242 XGBE_SET_SUP(lks, 1000baseKX_Full); in xgbe_phy_init()
3246 XGBE_SET_SUP(lks, 10000baseKR_Full); in xgbe_phy_init()
3248 XGBE_SET_SUP(lks, 10000baseR_FEC); in xgbe_phy_init()
3255 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3256 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3257 XGBE_SET_SUP(lks, Backplane); in xgbe_phy_init()
3258 XGBE_SET_SUP(lks, 2500baseX_Full); in xgbe_phy_init()
3266 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3267 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3268 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3269 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3271 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3275 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3284 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3285 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3286 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3287 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3288 XGBE_SET_SUP(lks, 1000baseX_Full); in xgbe_phy_init()
3296 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3297 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3298 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3299 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3301 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3305 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3309 XGBE_SET_SUP(lks, 2500baseT_Full); in xgbe_phy_init()
3318 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3319 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3320 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3321 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3323 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3327 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3331 XGBE_SET_SUP(lks, 10000baseT_Full); in xgbe_phy_init()
3340 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3341 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3342 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3343 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3344 XGBE_SET_SUP(lks, 10000baseSR_Full); in xgbe_phy_init()
3345 XGBE_SET_SUP(lks, 10000baseLR_Full); in xgbe_phy_init()
3346 XGBE_SET_SUP(lks, 10000baseLRM_Full); in xgbe_phy_init()
3347 XGBE_SET_SUP(lks, 10000baseER_Full); in xgbe_phy_init()
3349 XGBE_SET_SUP(lks, 10000baseR_FEC); in xgbe_phy_init()
3357 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3358 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3359 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3360 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3361 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3380 lks->link_modes.supported); in xgbe_phy_init()