Home
last modified time | relevance | path

Searched refs:lks (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c724 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_sfp_phy_settings() local
730 XGBE_ZERO_SUP(lks); in xgbe_phy_sfp_phy_settings()
738 XGBE_SET_SUP(lks, Autoneg); in xgbe_phy_sfp_phy_settings()
739 XGBE_SET_SUP(lks, Pause); in xgbe_phy_sfp_phy_settings()
740 XGBE_SET_SUP(lks, Asym_Pause); in xgbe_phy_sfp_phy_settings()
741 XGBE_SET_SUP(lks, TP); in xgbe_phy_sfp_phy_settings()
742 XGBE_SET_SUP(lks, FIBRE); in xgbe_phy_sfp_phy_settings()
744 XGBE_LM_COPY(lks, advertising, lks, supporte in xgbe_phy_sfp_phy_settings()
990 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_find_phy_device() local
1503 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_phydev_flowctrl() local
1534 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an37_sgmii_outcome() local
1574 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an37_outcome() local
1617 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an73_redrv_outcome() local
1697 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an73_outcome() local
1833 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an_config() local
2373 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_basex_mode() local
2390 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_baset_mode() local
2413 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_sfp_mode() local
2449 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_bp_2500_mode() local
2463 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_bp_mode() local
3146 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_init() local
[all...]
H A 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, 1000 in xgbe_phy_an_outcome()
589 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_mode() local
680 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_init() local
[all...]
H A Dxgbe-mdio.c610 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_an73_incompat_link() local
616 if (!XGBE_ADV(lks, 1000baseKX_Full) && in xgbe_an73_incompat_link()
617 !XGBE_ADV(lks, 2500baseX_Full)) in xgbe_an73_incompat_link()
625 if (!XGBE_ADV(lks, 10000baseKR_Full)) in xgbe_an73_incompat_link()
949 struct ethtool_link_ksettings lks; in xgbe_an37_init() local
952 pdata->phy_if.phy_impl.an_advertising(pdata, &lks); in xgbe_an37_init()
956 if (XGBE_ADV(&lks, Pause)) in xgbe_an37_init()
961 if (XGBE_ADV(&lks, Asym_Pause)) in xgbe_an37_init()
998 struct ethtool_link_ksettings lks; in xgbe_an73_init() local
1329 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_status_result() local
1569 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_best_advertised_speed() local
1596 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_init() local
[all...]
H A 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 in xgbe_get_link_ksettings() local
339 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_set_link_ksettings() local
[all...]
H A Dxgbe.h615 struct ethtool_link_ksettings lks; member
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H A 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, supporte in xgbe_phy_sfp_phy_settings()
1057 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_find_phy_device() local
1570 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_phydev_flowctrl() local
1601 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an37_sgmii_outcome() local
1651 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an37_outcome() local
1694 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an73_redrv_outcome() local
1780 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an73_outcome() local
1919 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_an_config() local
2628 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_basex_mode() local
2645 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_baset_mode() local
2671 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_sfp_mode() local
2712 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_bp_2500_mode() local
2726 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_bp_mode() local
3461 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_init() local
[all...]
H A 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, 1000 in xgbe_phy_an_outcome()
589 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_use_mode() local
680 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_init() local
[all...]
H A 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
1346 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_status_result() local
1591 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_best_advertised_speed() local
1620 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_phy_init() local
[all...]
H A 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 in xgbe_get_link_ksettings() local
339 struct ethtool_link_ksettings *lks = &pdata->phy.lks; xgbe_set_link_ksettings() local
[all...]
H A Dxgbe.h644 struct ethtool_link_ksettings lks; member
/kernel/linux/linux-5.10/fs/gfs2/
H A 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()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dlock_dlm.c77 struct gfs2_pcpu_lkstats *lks; in gfs2_update_reply_times() local
85 lks = this_cpu_ptr(gl->gl_name.ln_sbd->sd_lkstats); in gfs2_update_reply_times()
87 gfs2_update_stats(&lks->lkstats[gltype], index, rtt); /* Global */ in gfs2_update_reply_times()
104 struct gfs2_pcpu_lkstats *lks; in gfs2_update_request_times() local
113 lks = this_cpu_ptr(gl->gl_name.ln_sbd->sd_lkstats); in gfs2_update_request_times()
115 gfs2_update_stats(&lks->lkstats[gltype], GFS2_LKS_SIRT, irt); /* Global */ in gfs2_update_request_times()

Completed in 20 milliseconds