Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c723 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_sfp_phy_settings() local
729 XGBE_ZERO_SUP(lks); in xgbe_phy_sfp_phy_settings()
737 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
738 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
739 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
740 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
741 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
743 XGBE_LM_COPY(lks, advertising, lks, supported); in xgbe_phy_sfp_phy_settings()
757 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
758 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.c609 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_an73_incompat_link() local
615 if (!XGBE_ADV(lks, 1000baseKX_Full) && in xgbe_an73_incompat_link()
616 !XGBE_ADV(lks, 2500baseX_Full)) in xgbe_an73_incompat_link()
624 if (!XGBE_ADV(lks, 10000baseKR_Full)) in xgbe_an73_incompat_link()
946 struct ethtool_link_ksettings lks; in xgbe_an37_init() local
949 pdata->phy_if.phy_impl.an_advertising(pdata, &lks); in xgbe_an37_init()
953 if (XGBE_ADV(&lks, Pause)) in xgbe_an37_init()
958 if (XGBE_ADV(&lks, Asym_Pause)) in xgbe_an37_init()
995 struct ethtool_link_ksettings lks; in xgbe_an73_init() local
998 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
323 XGBE_LM_COPY(cmd, supported, lks, supported); in xgbe_get_link_ksettings()
[all …]
Dxgbe.h614 struct ethtool_link_ksettings lks; member
/Linux-v5.10/fs/gfs2/
Dlock_dlm.c74 struct gfs2_pcpu_lkstats *lks; in gfs2_update_reply_times() local
82 lks = this_cpu_ptr(gl->gl_name.ln_sbd->sd_lkstats); in gfs2_update_reply_times()
84 gfs2_update_stats(&lks->lkstats[gltype], index, rtt); /* Global */ in gfs2_update_reply_times()
101 struct gfs2_pcpu_lkstats *lks; in gfs2_update_request_times() local
110 lks = this_cpu_ptr(gl->gl_name.ln_sbd->sd_lkstats); in gfs2_update_request_times()
112 gfs2_update_stats(&lks->lkstats[gltype], GFS2_LKS_SIRT, irt); /* Global */ in gfs2_update_request_times()