Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c3452 apc->phy_stats.rx_pkt_drop_phy = resp.rx_pkt_drop_phy; in mana_query_phy_stats()
3453 apc->phy_stats.tx_pkt_drop_phy = resp.tx_pkt_drop_phy; in mana_query_phy_stats()
3456 apc->phy_stats.rx_pkt_tc0_phy = resp.rx_pkt_tc0_phy; in mana_query_phy_stats()
3457 apc->phy_stats.tx_pkt_tc0_phy = resp.tx_pkt_tc0_phy; in mana_query_phy_stats()
3458 apc->phy_stats.rx_pkt_tc1_phy = resp.rx_pkt_tc1_phy; in mana_query_phy_stats()
3459 apc->phy_stats.tx_pkt_tc1_phy = resp.tx_pkt_tc1_phy; in mana_query_phy_stats()
3460 apc->phy_stats.rx_pkt_tc2_phy = resp.rx_pkt_tc2_phy; in mana_query_phy_stats()
3461 apc->phy_stats.tx_pkt_tc2_phy = resp.tx_pkt_tc2_phy; in mana_query_phy_stats()
3462 apc->phy_stats.rx_pkt_tc3_phy = resp.rx_pkt_tc3_phy; in mana_query_phy_stats()
3463 apc->phy_stats.tx_pkt_tc3_phy = resp.tx_pkt_tc3_phy; in mana_query_phy_stats()
[all …]
H A Dmana_ethtool.c234 void *phy_stats = &apc->phy_stats; in mana_get_ethtool_stats() local
271 data[i++] = *(u64 *)(phy_stats + mana_phy_stats[q].offset); in mana_get_ethtool_stats()
/linux/include/linux/
H A Dethtool_netlink.h37 struct ethtool_eth_phy_stats *phy_stats);
98 struct ethtool_eth_phy_stats *phy_stats) in ethtool_aggregate_phy_stats() argument
H A Dethtool.h1339 struct ethtool_eth_phy_stats *phy_stats);
H A Dphy.h2451 struct ethtool_eth_phy_stats *phy_stats,
/linux/drivers/net/ethernet/mscc/
H A 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/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c1867 struct fbnic_phy_stats *phy_stats; in fbnic_get_fec_stats() local
1871 phy_stats = &fbd->hw_stats.phy; in fbnic_get_fec_stats()
1875 phy_stats->fec.corrected_blocks.value; in fbnic_get_fec_stats()
1877 phy_stats->fec.uncorrectable_blocks.value; in fbnic_get_fec_stats()
1886 struct fbnic_phy_stats *phy_stats; in fbnic_get_eth_phy_stats() local
1892 phy_stats = &fbd->hw_stats.phy; in fbnic_get_eth_phy_stats()
1896 total += phy_stats->pcs.SymbolErrorDuringCarrier.lanes[i].value; in fbnic_get_eth_phy_stats()
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Dcore.c5687 struct rtl8723au_phy_stats *phy_stats, in rtl8723au_rx_parse_phystats() argument
5691 if (phy_stats->sgi_en) in rtl8723au_rx_parse_phystats()
5698 rx_status->signal = priv->fops->cck_rssi(priv, phy_stats); in rtl8723au_rx_parse_phystats()
5708 priv->cfo_tracking.cfo_tail[0] = phy_stats->path_cfotail[0]; in rtl8723au_rx_parse_phystats()
5709 priv->cfo_tracking.cfo_tail[1] = phy_stats->path_cfotail[1]; in rtl8723au_rx_parse_phystats()
5715 (phy_stats->cck_sig_qual_ofdm_pwdb_all >> 1) - 110; in rtl8723au_rx_parse_phystats()
5789 struct rtl8723au_phy_stats *phy_stats, in jaguar2_rx_parse_phystats() argument
5793 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in jaguar2_rx_parse_phystats()
5794 struct jaguar2_phy_stats_type1 *phy_stats1 = (struct jaguar2_phy_stats_type1 *)phy_stats; in jaguar2_rx_parse_phystats()
5795 struct jaguar2_phy_stats_type2 *phy_stats2 = (struct jaguar2_phy_stats_type2 *)phy_stats; in jaguar2_rx_parse_phystats()
[all …]
H A D8723b.c1650 static s8 rtl8723b_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8723b_cck_rssi() argument
1652 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8723b_cck_rssi()
/linux/drivers/net/phy/
H A Dmicrel.c473 struct kszphy_phy_stats phy_stats; member
484 struct lan8842_phy_stats phy_stats; member
2320 priv->phy_stats.rx_err_pkt_cnt += ret; in kszphy_update_stats()
2331 stats->rx_errors = priv->phy_stats.rx_err_pkt_cnt; in kszphy_get_phy_stats()
6554 priv->phy_stats.rx_packets = lan8842_get_stat(phydev, in lan8842_update_stats()
6557 priv->phy_stats.rx_errors = lan8842_get_stat(phydev, in lan8842_update_stats()
6560 priv->phy_stats.tx_packets = lan8842_get_stat(phydev, in lan8842_update_stats()
6563 priv->phy_stats.tx_errors = lan8842_get_stat(phydev, in lan8842_update_stats()
6639 stats->rx_packets = priv->phy_stats.rx_packets; in lan8842_get_phy_stats()
6640 stats->rx_errors = priv->phy_stats.rx_errors; in lan8842_get_phy_stats()
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h290 struct e1000_phy_stats phy_stats; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c283 struct mlx4_en_phy_stats *p_stats = &priv->phy_stats; in mlx4_en_DUMP_ETH_STATS()
H A Den_ethtool.c423 data[index++] = ((unsigned long *)&priv->phy_stats)[i]; in mlx4_en_get_ethtool_stats()
/linux/include/net/mana/
H A Dmana.h650 struct mana_ethtool_phy_stats phy_stats; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c1101 struct ethtool_eth_phy_stats *phy_stats) in mlxsw_sp_get_eth_phy_stats() argument
1109 phy_stats->SymbolErrorDuringCarrier = in mlxsw_sp_get_eth_phy_stats()
/linux/include/net/
H A Ddsa.h926 struct ethtool_eth_phy_stats *phy_stats);
/linux/drivers/net/dsa/realtek/
H A Drtl8365mb_main.c2353 struct ethtool_eth_phy_stats *phy_stats) in rtl8365mb_get_phy_stats() argument
2364 &phy_stats->SymbolErrorDuringCarrier); in rtl8365mb_get_phy_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c2677 struct ethtool_eth_phy_stats *phy_stats) in mlx5e_get_eth_phy_stats() argument
2681 mlx5e_stats_eth_phy_get(priv, phy_stats); in mlx5e_get_eth_phy_stats()
H A Den_stats.c969 struct ethtool_eth_phy_stats *phy_stats) in mlx5e_stats_eth_phy_get() argument
977 phy_stats->SymbolErrorDuringCarrier = in mlx5e_stats_eth_phy_get()
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c3503 struct ethtool_eth_phy_stats *phy_stats) in macb_get_eth_phy_stats() argument
3510 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in macb_get_eth_phy_stats()
3515 struct ethtool_eth_phy_stats *phy_stats) in gem_get_eth_phy_stats() argument
3522 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in gem_get_eth_phy_stats()
/linux/net/dsa/
H A Duser.c1097 struct ethtool_eth_phy_stats *phy_stats) in dsa_user_get_eth_phy_stats() argument
1103 ds->ops->get_eth_phy_stats(ds, dp->index, phy_stats); in dsa_user_get_eth_phy_stats()
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c3722 adapter->phy_stats.idle_errors += phy_tmp; in e1000_update_stats()
3728 adapter->phy_stats.receive_errors += phy_tmp; in e1000_update_stats()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c5568 struct ethtool_eth_phy_stats *phy_stats) in bnxt_get_eth_phy_stats() argument
5577 phy_stats->SymbolErrorDuringCarrier = in bnxt_get_eth_phy_stats()