Lines Matching refs:lks

680 	struct ethtool_link_ksettings *lks = &pdata->phy.lks;  in xgbe_phy_sfp_phy_settings()  local
686 XGBE_ZERO_SUP(lks); in xgbe_phy_sfp_phy_settings()
694 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
695 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
696 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
697 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
698 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
700 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
714 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
715 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
716 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
719 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_sfp_phy_settings()
721 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_sfp_phy_settings()
723 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_sfp_phy_settings()
726 XGBE_SET_SUP(lks, 1000baseX_Full); in xgbe_phy_sfp_phy_settings()
741 XGBE_SET_SUP(lks, 10000baseSR_Full); in xgbe_phy_sfp_phy_settings()
744 XGBE_SET_SUP(lks, 10000baseLR_Full); in xgbe_phy_sfp_phy_settings()
747 XGBE_SET_SUP(lks, 10000baseLRM_Full); in xgbe_phy_sfp_phy_settings()
750 XGBE_SET_SUP(lks, 10000baseER_Full); in xgbe_phy_sfp_phy_settings()
753 XGBE_SET_SUP(lks, 10000baseCR_Full); in xgbe_phy_sfp_phy_settings()
772 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
775 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
779 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
933 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_find_phy_device() local
996 lks->link_modes.advertising); in xgbe_phy_find_phy_device()
1446 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_phydev_flowctrl() local
1460 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_phydev_flowctrl()
1464 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_phydev_flowctrl()
1477 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an37_sgmii_outcome() local
1480 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an37_sgmii_outcome()
1481 XGBE_SET_LP_ADV(lks, TP); in xgbe_phy_an37_sgmii_outcome()
1490 XGBE_SET_LP_ADV(lks, 10baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1494 XGBE_SET_LP_ADV(lks, 10baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1500 XGBE_SET_LP_ADV(lks, 100baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1504 XGBE_SET_LP_ADV(lks, 100baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1510 XGBE_SET_LP_ADV(lks, 1000baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1514 XGBE_SET_LP_ADV(lks, 1000baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1527 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an37_outcome() local
1531 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an37_outcome()
1532 XGBE_SET_LP_ADV(lks, FIBRE); in xgbe_phy_an37_outcome()
1538 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an37_outcome()
1540 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an37_outcome()
1559 XGBE_SET_LP_ADV(lks, 1000baseX_Full); in xgbe_phy_an37_outcome()
1570 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an73_redrv_outcome() local
1575 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an73_redrv_outcome()
1576 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an73_redrv_outcome()
1586 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an73_redrv_outcome()
1588 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an73_redrv_outcome()
1649 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an73_redrv_outcome()
1656 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an73_outcome() local
1660 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an73_outcome()
1661 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an73_outcome()
1667 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an73_outcome()
1669 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an73_outcome()
1691 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an73_outcome()
1693 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an73_outcome()
1707 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an73_outcome()
1731 struct ethtool_link_ksettings *slks = &pdata->phy.lks; in xgbe_phy_an_advertising()
1795 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an_config() local
1809 lks->link_modes.advertising); in xgbe_phy_an_config()
2504 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_basex_mode() local
2509 XGBE_ADV(lks, 1000baseX_Full)); in xgbe_phy_use_basex_mode()
2512 XGBE_ADV(lks, 10000baseKR_Full)); in xgbe_phy_use_basex_mode()
2521 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_baset_mode() local
2526 XGBE_ADV(lks, 10baseT_Full)); in xgbe_phy_use_baset_mode()
2529 XGBE_ADV(lks, 100baseT_Full)); in xgbe_phy_use_baset_mode()
2532 XGBE_ADV(lks, 1000baseT_Full)); in xgbe_phy_use_baset_mode()
2535 XGBE_ADV(lks, 2500baseT_Full)); in xgbe_phy_use_baset_mode()
2538 XGBE_ADV(lks, 10000baseT_Full)); in xgbe_phy_use_baset_mode()
2547 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_sfp_mode() local
2555 XGBE_ADV(lks, 1000baseX_Full)); in xgbe_phy_use_sfp_mode()
2560 XGBE_ADV(lks, 10baseT_Full)); in xgbe_phy_use_sfp_mode()
2565 XGBE_ADV(lks, 100baseT_Full)); in xgbe_phy_use_sfp_mode()
2570 XGBE_ADV(lks, 1000baseT_Full)); in xgbe_phy_use_sfp_mode()
2575 XGBE_ADV(lks, 10000baseSR_Full) || in xgbe_phy_use_sfp_mode()
2576 XGBE_ADV(lks, 10000baseLR_Full) || in xgbe_phy_use_sfp_mode()
2577 XGBE_ADV(lks, 10000baseLRM_Full) || in xgbe_phy_use_sfp_mode()
2578 XGBE_ADV(lks, 10000baseER_Full) || in xgbe_phy_use_sfp_mode()
2579 XGBE_ADV(lks, 10000baseCR_Full)); in xgbe_phy_use_sfp_mode()
2588 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_bp_2500_mode() local
2593 XGBE_ADV(lks, 2500baseX_Full)); in xgbe_phy_use_bp_2500_mode()
2602 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_bp_mode() local
2607 XGBE_ADV(lks, 1000baseKX_Full)); in xgbe_phy_use_bp_mode()
2610 XGBE_ADV(lks, 10000baseKR_Full)); in xgbe_phy_use_bp_mode()
3343 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_init() local
3420 XGBE_ZERO_SUP(lks); in xgbe_phy_init()
3425 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3428 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3429 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3430 XGBE_SET_SUP(lks, Backplane); in xgbe_phy_init()
3432 XGBE_SET_SUP(lks, 1000baseKX_Full); in xgbe_phy_init()
3436 XGBE_SET_SUP(lks, 10000baseKR_Full); in xgbe_phy_init()
3438 XGBE_SET_SUP(lks, 10000baseR_FEC); in xgbe_phy_init()
3445 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3446 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3447 XGBE_SET_SUP(lks, Backplane); in xgbe_phy_init()
3448 XGBE_SET_SUP(lks, 2500baseX_Full); in xgbe_phy_init()
3456 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3457 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3458 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3459 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3461 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_init()
3465 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3469 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3478 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3479 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3480 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3481 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3482 XGBE_SET_SUP(lks, 1000baseX_Full); in xgbe_phy_init()
3490 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3491 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3492 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3493 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3495 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_init()
3499 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3503 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3507 XGBE_SET_SUP(lks, 2500baseT_Full); in xgbe_phy_init()
3516 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3517 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3518 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3519 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3521 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_init()
3525 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3529 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3533 XGBE_SET_SUP(lks, 2500baseT_Full); in xgbe_phy_init()
3537 XGBE_SET_SUP(lks, 10000baseT_Full); in xgbe_phy_init()
3546 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3547 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3548 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3549 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3550 XGBE_SET_SUP(lks, 10000baseSR_Full); in xgbe_phy_init()
3551 XGBE_SET_SUP(lks, 10000baseLR_Full); in xgbe_phy_init()
3552 XGBE_SET_SUP(lks, 10000baseLRM_Full); in xgbe_phy_init()
3553 XGBE_SET_SUP(lks, 10000baseER_Full); in xgbe_phy_init()
3555 XGBE_SET_SUP(lks, 10000baseR_FEC); in xgbe_phy_init()
3563 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3564 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3565 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3566 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3567 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3588 lks->link_modes.supported); in xgbe_phy_init()