Lines Matching refs:lks

789 	struct ethtool_link_ksettings *lks = &pdata->phy.lks;  in xgbe_phy_sfp_phy_settings()  local
795 XGBE_ZERO_SUP(lks); in xgbe_phy_sfp_phy_settings()
803 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
804 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
805 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
806 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
807 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
809 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
823 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
824 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
825 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
828 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_sfp_phy_settings()
830 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_sfp_phy_settings()
832 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_sfp_phy_settings()
835 XGBE_SET_SUP(lks, 1000baseX_Full); in xgbe_phy_sfp_phy_settings()
850 XGBE_SET_SUP(lks, 10000baseSR_Full); in xgbe_phy_sfp_phy_settings()
853 XGBE_SET_SUP(lks, 10000baseLR_Full); in xgbe_phy_sfp_phy_settings()
856 XGBE_SET_SUP(lks, 10000baseLRM_Full); in xgbe_phy_sfp_phy_settings()
859 XGBE_SET_SUP(lks, 10000baseER_Full); in xgbe_phy_sfp_phy_settings()
862 XGBE_SET_SUP(lks, 10000baseCR_Full); in xgbe_phy_sfp_phy_settings()
881 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
884 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
888 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
1057 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_find_phy_device() local
1120 lks->link_modes.advertising); in xgbe_phy_find_phy_device()
1570 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_phydev_flowctrl() local
1584 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_phydev_flowctrl()
1588 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_phydev_flowctrl()
1601 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an37_sgmii_outcome() local
1604 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an37_sgmii_outcome()
1605 XGBE_SET_LP_ADV(lks, TP); in xgbe_phy_an37_sgmii_outcome()
1614 XGBE_SET_LP_ADV(lks, 10baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1618 XGBE_SET_LP_ADV(lks, 10baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1624 XGBE_SET_LP_ADV(lks, 100baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1628 XGBE_SET_LP_ADV(lks, 100baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1634 XGBE_SET_LP_ADV(lks, 1000baseT_Full); in xgbe_phy_an37_sgmii_outcome()
1638 XGBE_SET_LP_ADV(lks, 1000baseT_Half); in xgbe_phy_an37_sgmii_outcome()
1651 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an37_outcome() local
1655 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an37_outcome()
1656 XGBE_SET_LP_ADV(lks, FIBRE); in xgbe_phy_an37_outcome()
1662 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an37_outcome()
1664 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an37_outcome()
1683 XGBE_SET_LP_ADV(lks, 1000baseX_Full); in xgbe_phy_an37_outcome()
1694 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an73_redrv_outcome() local
1699 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an73_redrv_outcome()
1700 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an73_redrv_outcome()
1710 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an73_redrv_outcome()
1712 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an73_redrv_outcome()
1773 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an73_redrv_outcome()
1780 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an73_outcome() local
1784 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an73_outcome()
1785 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an73_outcome()
1791 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an73_outcome()
1793 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an73_outcome()
1815 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an73_outcome()
1817 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an73_outcome()
1831 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an73_outcome()
1855 struct ethtool_link_ksettings *slks = &pdata->phy.lks; in xgbe_phy_an_advertising()
1919 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an_config() local
1933 lks->link_modes.advertising); in xgbe_phy_an_config()
2628 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_basex_mode() local
2633 XGBE_ADV(lks, 1000baseX_Full)); in xgbe_phy_use_basex_mode()
2636 XGBE_ADV(lks, 10000baseKR_Full)); in xgbe_phy_use_basex_mode()
2645 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_baset_mode() local
2650 XGBE_ADV(lks, 10baseT_Full)); in xgbe_phy_use_baset_mode()
2653 XGBE_ADV(lks, 100baseT_Full)); in xgbe_phy_use_baset_mode()
2656 XGBE_ADV(lks, 1000baseT_Full)); in xgbe_phy_use_baset_mode()
2659 XGBE_ADV(lks, 2500baseT_Full)); in xgbe_phy_use_baset_mode()
2662 XGBE_ADV(lks, 10000baseT_Full)); in xgbe_phy_use_baset_mode()
2671 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_sfp_mode() local
2679 XGBE_ADV(lks, 1000baseX_Full)); in xgbe_phy_use_sfp_mode()
2684 XGBE_ADV(lks, 10baseT_Full)); in xgbe_phy_use_sfp_mode()
2689 XGBE_ADV(lks, 100baseT_Full)); in xgbe_phy_use_sfp_mode()
2694 XGBE_ADV(lks, 1000baseT_Full)); in xgbe_phy_use_sfp_mode()
2699 XGBE_ADV(lks, 10000baseSR_Full) || in xgbe_phy_use_sfp_mode()
2700 XGBE_ADV(lks, 10000baseLR_Full) || in xgbe_phy_use_sfp_mode()
2701 XGBE_ADV(lks, 10000baseLRM_Full) || in xgbe_phy_use_sfp_mode()
2702 XGBE_ADV(lks, 10000baseER_Full) || in xgbe_phy_use_sfp_mode()
2703 XGBE_ADV(lks, 10000baseCR_Full)); in xgbe_phy_use_sfp_mode()
2712 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_bp_2500_mode() local
2717 XGBE_ADV(lks, 2500baseX_Full)); in xgbe_phy_use_bp_2500_mode()
2726 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_use_bp_mode() local
2731 XGBE_ADV(lks, 1000baseKX_Full)); in xgbe_phy_use_bp_mode()
2734 XGBE_ADV(lks, 10000baseKR_Full)); in xgbe_phy_use_bp_mode()
3461 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_init() local
3538 XGBE_ZERO_SUP(lks); in xgbe_phy_init()
3543 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3546 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3547 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3548 XGBE_SET_SUP(lks, Backplane); in xgbe_phy_init()
3550 XGBE_SET_SUP(lks, 1000baseKX_Full); in xgbe_phy_init()
3554 XGBE_SET_SUP(lks, 10000baseKR_Full); in xgbe_phy_init()
3556 XGBE_SET_SUP(lks, 10000baseR_FEC); in xgbe_phy_init()
3563 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3564 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3565 XGBE_SET_SUP(lks, Backplane); in xgbe_phy_init()
3566 XGBE_SET_SUP(lks, 2500baseX_Full); in xgbe_phy_init()
3574 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3575 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3576 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3577 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3579 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_init()
3583 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3587 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3596 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3597 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3598 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3599 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3600 XGBE_SET_SUP(lks, 1000baseX_Full); in xgbe_phy_init()
3608 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3609 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3610 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3611 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3613 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_init()
3617 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3621 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3625 XGBE_SET_SUP(lks, 2500baseT_Full); in xgbe_phy_init()
3634 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3635 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3636 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3637 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3639 XGBE_SET_SUP(lks, 10baseT_Full); in xgbe_phy_init()
3643 XGBE_SET_SUP(lks, 100baseT_Full); in xgbe_phy_init()
3647 XGBE_SET_SUP(lks, 1000baseT_Full); in xgbe_phy_init()
3651 XGBE_SET_SUP(lks, 2500baseT_Full); in xgbe_phy_init()
3655 XGBE_SET_SUP(lks, 10000baseT_Full); in xgbe_phy_init()
3664 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3665 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3666 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3667 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3668 XGBE_SET_SUP(lks, 10000baseSR_Full); in xgbe_phy_init()
3669 XGBE_SET_SUP(lks, 10000baseLR_Full); in xgbe_phy_init()
3670 XGBE_SET_SUP(lks, 10000baseLRM_Full); in xgbe_phy_init()
3671 XGBE_SET_SUP(lks, 10000baseER_Full); in xgbe_phy_init()
3673 XGBE_SET_SUP(lks, 10000baseR_FEC); in xgbe_phy_init()
3681 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_init()
3682 XGBE_SET_SUP(lks, Pause); in xgbe_phy_init()
3683 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_init()
3684 XGBE_SET_SUP(lks, TP); in xgbe_phy_init()
3685 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_init()
3706 lks->link_modes.supported); in xgbe_phy_init()