Home
last modified time | relevance | path

Searched refs:lks (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c789 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()
[all …]
Dxgbe-phy-v1.c234 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an_outcome() local
239 XGBE_SET_LP_ADV(lks, Autoneg); in xgbe_phy_an_outcome()
240 XGBE_SET_LP_ADV(lks, Backplane); in xgbe_phy_an_outcome()
246 XGBE_SET_LP_ADV(lks, Pause); in xgbe_phy_an_outcome()
248 XGBE_SET_LP_ADV(lks, Asym_Pause); in xgbe_phy_an_outcome()
270 XGBE_SET_LP_ADV(lks, 10000baseKR_Full); in xgbe_phy_an_outcome()
273 XGBE_SET_LP_ADV(lks, 2500baseX_Full); in xgbe_phy_an_outcome()
275 XGBE_SET_LP_ADV(lks, 1000baseKX_Full); in xgbe_phy_an_outcome()
294 XGBE_SET_LP_ADV(lks, 10000baseR_FEC); in xgbe_phy_an_outcome()
302 struct ethtool_link_ksettings *slks = &pdata->phy.lks; in xgbe_phy_an_advertising()
[all …]
Dxgbe-mdio.c622 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_an73_incompat_link() local
628 if (!XGBE_ADV(lks, 1000baseKX_Full) && in xgbe_an73_incompat_link()
629 !XGBE_ADV(lks, 2500baseX_Full)) in xgbe_an73_incompat_link()
637 if (!XGBE_ADV(lks, 10000baseKR_Full)) in xgbe_an73_incompat_link()
961 struct ethtool_link_ksettings lks; in xgbe_an37_init() local
964 pdata->phy_if.phy_impl.an_advertising(pdata, &lks); in xgbe_an37_init()
968 if (XGBE_ADV(&lks, Pause)) in xgbe_an37_init()
973 if (XGBE_ADV(&lks, Asym_Pause)) in xgbe_an37_init()
1010 struct ethtool_link_ksettings lks; in xgbe_an73_init() local
1013 pdata->phy_if.phy_impl.an_advertising(pdata, &lks); in xgbe_an73_init()
[all …]
Dxgbe-ethtool.c274 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_set_pauseparam() local
287 XGBE_CLR_ADV(lks, Pause); in xgbe_set_pauseparam()
288 XGBE_CLR_ADV(lks, Asym_Pause); in xgbe_set_pauseparam()
291 XGBE_SET_ADV(lks, Pause); in xgbe_set_pauseparam()
292 XGBE_SET_ADV(lks, Asym_Pause); in xgbe_set_pauseparam()
297 if (XGBE_ADV(lks, Asym_Pause)) in xgbe_set_pauseparam()
298 XGBE_CLR_ADV(lks, Asym_Pause); in xgbe_set_pauseparam()
300 XGBE_SET_ADV(lks, Asym_Pause); in xgbe_set_pauseparam()
313 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_get_link_ksettings() local
328 XGBE_LM_COPY(cmd, supported, lks, supported); in xgbe_get_link_ksettings()
[all …]
Dxgbe.h644 struct ethtool_link_ksettings lks; member