Home
last modified time | relevance | path

Searched refs:phy_stats (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/net/ethtool/
Dstats.c19 struct ethtool_eth_phy_stats phy_stats;
143 data->phy_stats.src = src; in stats_prepare_data()
150 dev->ethtool_ops->get_eth_phy_stats(dev, &data->phy_stats); in stats_prepare_data()
245 data->phy_stats.SymbolErrorDuringCarrier)) in stats_put_phy_stats()
490 struct ethtool_eth_phy_stats *phy_stats) in ethtool_aggregate_phy_stats() argument
503 ethtool_aggregate_stats(phy_stats, &emac, &pmac, in ethtool_aggregate_phy_stats()
504 sizeof(phy_stats->stats), in ethtool_aggregate_phy_stats()
/linux-6.6.21/include/linux/
Dethtool_netlink.h35 struct ethtool_eth_phy_stats *phy_stats);
94 struct ethtool_eth_phy_stats *phy_stats) in ethtool_aggregate_phy_stats() argument
Dethtool.h897 struct ethtool_eth_phy_stats *phy_stats);
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_stats.c787 struct ethtool_eth_phy_stats *phy_stats = priv; in ocelot_port_phy_stats_cb() local
789 phy_stats->SymbolErrorDuringCarrier = s[OCELOT_STAT_RX_SYM_ERRS]; in ocelot_port_phy_stats_cb()
796 struct ethtool_eth_phy_stats *phy_stats = priv; in ocelot_port_pmac_phy_stats_cb() local
798 phy_stats->SymbolErrorDuringCarrier = s[OCELOT_STAT_RX_PMAC_SYM_ERRS]; in ocelot_port_pmac_phy_stats_cb()
802 struct ethtool_eth_phy_stats *phy_stats) in ocelot_port_get_eth_phy_stats() argument
806 switch (phy_stats->src) { in ocelot_port_get_eth_phy_stats()
808 ocelot_port_stats_run(ocelot, port, phy_stats, in ocelot_port_get_eth_phy_stats()
813 ocelot_port_stats_run(ocelot, port, phy_stats, in ocelot_port_get_eth_phy_stats()
818 ethtool_aggregate_phy_stats(dev, phy_stats); in ocelot_port_get_eth_phy_stats()
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h133 u32 phy_stats:1; member
196 u32 phy_stats:1;
273 u32 phy_stats:1; member
333 u32 phy_stats:1;
1952 struct rtl8723au_phy_stats *phy_stats,
1975 s8 (*cck_rssi) (struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats);
2106 struct rtl8723au_phy_stats *phy_stats,
2111 struct rtl8723au_phy_stats *phy_stats,
2139 s8 rtl8723a_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats);
Drtl8xxxu_8723a.c434 s8 rtl8723a_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8723a_cck_rssi() argument
436 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8723a_cck_rssi()
Drtl8xxxu_core.c5697 struct rtl8723au_phy_stats *phy_stats, in rtl8723au_rx_parse_phystats() argument
5701 if (phy_stats->sgi_en) in rtl8723au_rx_parse_phystats()
5708 rx_status->signal = priv->fops->cck_rssi(priv, phy_stats); in rtl8723au_rx_parse_phystats()
5719 priv->cfo_tracking.cfo_tail[0] = phy_stats->path_cfotail[0]; in rtl8723au_rx_parse_phystats()
5720 priv->cfo_tracking.cfo_tail[1] = phy_stats->path_cfotail[1]; in rtl8723au_rx_parse_phystats()
5726 (phy_stats->cck_sig_qual_ofdm_pwdb_all >> 1) - 110; in rtl8723au_rx_parse_phystats()
5791 struct rtl8723au_phy_stats *phy_stats, in jaguar2_rx_parse_phystats() argument
5795 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in jaguar2_rx_parse_phystats()
5796 struct jaguar2_phy_stats_type1 *phy_stats1 = (struct jaguar2_phy_stats_type1 *)phy_stats; in jaguar2_rx_parse_phystats()
5797 struct jaguar2_phy_stats_type2 *phy_stats2 = (struct jaguar2_phy_stats_type2 *)phy_stats; in jaguar2_rx_parse_phystats()
[all …]
Drtl8xxxu_8192e.c1691 static s8 rtl8192e_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8192e_cck_rssi() argument
1696 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8192e_cck_rssi()
Drtl8xxxu_8188f.c1677 static s8 rtl8188f_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8188f_cck_rssi() argument
1679 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8188f_cck_rssi()
Drtl8xxxu_8710b.c1802 static s8 rtl8710b_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8710b_cck_rssi() argument
1804 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in rtl8710b_cck_rssi()
Drtl8xxxu_8723b.c1675 static s8 rtl8723b_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8723b_cck_rssi() argument
1677 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8723b_cck_rssi()
Drtl8xxxu_8188e.c1325 static s8 rtl8188e_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8188e_cck_rssi() argument
1332 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8188e_cck_rssi()
Drtl8xxxu_8192f.c1983 static s8 rtl8192f_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8192f_cck_rssi() argument
1985 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in rtl8192f_cck_rssi()
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000.h277 struct e1000_phy_stats phy_stats; member
De1000_ethtool.c399 regs_buff[22] = adapter->phy_stats.receive_errors; in e1000_get_regs()
402 regs_buff[21] = adapter->phy_stats.idle_errors; /* phy idle errors */ in e1000_get_regs()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
De1000.h289 struct e1000_phy_stats phy_stats; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h121 struct ethtool_eth_phy_stats *phy_stats);
Den_ethtool.c2368 struct ethtool_eth_phy_stats *phy_stats) in mlx5e_get_eth_phy_stats() argument
2372 mlx5e_stats_eth_phy_get(priv, phy_stats); in mlx5e_get_eth_phy_stats()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_port.c283 struct mlx4_en_phy_stats *p_stats = &priv->phy_stats; in mlx4_en_DUMP_ETH_STATS()
Dmlx4_en.h612 struct mlx4_en_phy_stats phy_stats; member
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ethtool.c812 struct ethtool_eth_phy_stats *phy_stats) in sparx5_get_eth_phy_stats() argument
831 phy_stats->SymbolErrorDuringCarrier = in sparx5_get_eth_phy_stats()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c1081 struct ethtool_eth_phy_stats *phy_stats) in mlxsw_sp_get_eth_phy_stats() argument
1089 phy_stats->SymbolErrorDuringCarrier = in mlxsw_sp_get_eth_phy_stats()
/linux-6.6.21/drivers/net/dsa/realtek/
Drtl8365mb.c1320 struct ethtool_eth_phy_stats *phy_stats) in rtl8365mb_get_phy_stats() argument
1331 &phy_stats->SymbolErrorDuringCarrier); in rtl8365mb_get_phy_stats()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix.c1193 struct ethtool_eth_phy_stats *phy_stats) in felix_get_eth_phy_stats() argument
1197 ocelot_port_get_eth_phy_stats(ocelot, port, phy_stats); in felix_get_eth_phy_stats()
/linux-6.6.21/include/net/
Ddsa.h907 struct ethtool_eth_phy_stats *phy_stats);

12