| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_en.c | 3021 apc->phy_stats.rx_pkt_drop_phy = resp.rx_pkt_drop_phy; in mana_query_phy_stats() 3022 apc->phy_stats.tx_pkt_drop_phy = resp.tx_pkt_drop_phy; in mana_query_phy_stats() 3025 apc->phy_stats.rx_pkt_tc0_phy = resp.rx_pkt_tc0_phy; in mana_query_phy_stats() 3026 apc->phy_stats.tx_pkt_tc0_phy = resp.tx_pkt_tc0_phy; in mana_query_phy_stats() 3027 apc->phy_stats.rx_pkt_tc1_phy = resp.rx_pkt_tc1_phy; in mana_query_phy_stats() 3028 apc->phy_stats.tx_pkt_tc1_phy = resp.tx_pkt_tc1_phy; in mana_query_phy_stats() 3029 apc->phy_stats.rx_pkt_tc2_phy = resp.rx_pkt_tc2_phy; in mana_query_phy_stats() 3030 apc->phy_stats.tx_pkt_tc2_phy = resp.tx_pkt_tc2_phy; in mana_query_phy_stats() 3031 apc->phy_stats.rx_pkt_tc3_phy = resp.rx_pkt_tc3_phy; in mana_query_phy_stats() 3032 apc->phy_stats.tx_pkt_tc3_phy = resp.tx_pkt_tc3_phy; in mana_query_phy_stats() [all …]
|
| /linux/net/ethtool/ |
| H A D | stats.c | 22 struct ethtool_eth_phy_stats phy_stats; 164 data->phy_stats.src = src; in stats_prepare_data() 173 phy_ethtool_get_phy_stats(phydev, &data->phy_stats, in stats_prepare_data() 179 dev->ethtool_ops->get_eth_phy_stats(dev, &data->phy_stats); in stats_prepare_data() 278 data->phy_stats.SymbolErrorDuringCarrier)) in stats_put_phy_stats() 545 struct ethtool_eth_phy_stats *phy_stats) in ethtool_aggregate_phy_stats() argument 558 ethtool_aggregate_stats(phy_stats, &emac, &pmac, in ethtool_aggregate_phy_stats() 559 sizeof(phy_stats->stats), in ethtool_aggregate_phy_stats()
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_stats.c | 787 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/include/linux/ |
| H A D | ethtool_netlink.h | 37 struct ethtool_eth_phy_stats *phy_stats); 98 struct ethtool_eth_phy_stats *phy_stats) in ethtool_aggregate_phy_stats() argument
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1731 struct fbnic_phy_stats *phy_stats; in fbnic_get_fec_stats() local 1735 phy_stats = &fbd->hw_stats.phy; in fbnic_get_fec_stats() 1739 phy_stats->fec.corrected_blocks.value; in fbnic_get_fec_stats() 1741 phy_stats->fec.uncorrectable_blocks.value; in fbnic_get_fec_stats() 1750 struct fbnic_phy_stats *phy_stats; in fbnic_get_eth_phy_stats() local 1756 phy_stats = &fbd->hw_stats.phy; in fbnic_get_eth_phy_stats() 1760 total += phy_stats->pcs.SymbolErrorDuringCarrier.lanes[i].value; in fbnic_get_eth_phy_stats()
|
| /linux/drivers/net/phy/ |
| H A D | micrel.c | 467 struct kszphy_phy_stats phy_stats; member 478 struct lan8842_phy_stats phy_stats; member 2202 priv->phy_stats.rx_err_pkt_cnt += ret; in kszphy_update_stats() 2213 stats->rx_errors = priv->phy_stats.rx_err_pkt_cnt; in kszphy_get_phy_stats() 6435 priv->phy_stats.rx_packets = lan8842_get_stat(phydev, in lan8842_update_stats() 6438 priv->phy_stats.rx_errors = lan8842_get_stat(phydev, in lan8842_update_stats() 6441 priv->phy_stats.tx_packets = lan8842_get_stat(phydev, in lan8842_update_stats() 6444 priv->phy_stats.tx_errors = lan8842_get_stat(phydev, in lan8842_update_stats() 6520 stats->rx_packets = priv->phy_stats.rx_packets; in lan8842_get_phy_stats() 6521 stats->rx_errors = priv->phy_stats.rx_errors; in lan8842_get_phy_stats() [all …]
|
| H A D | phy.c | 620 struct ethtool_eth_phy_stats *phy_stats, in __phy_ethtool_get_phy_stats() argument 627 phydev->drv->get_phy_stats(phydev, phy_stats, phydev_stats); in __phy_ethtool_get_phy_stats()
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | core.c | 5642 struct rtl8723au_phy_stats *phy_stats, in rtl8723au_rx_parse_phystats() argument 5646 if (phy_stats->sgi_en) in rtl8723au_rx_parse_phystats() 5653 rx_status->signal = priv->fops->cck_rssi(priv, phy_stats); in rtl8723au_rx_parse_phystats() 5663 priv->cfo_tracking.cfo_tail[0] = phy_stats->path_cfotail[0]; in rtl8723au_rx_parse_phystats() 5664 priv->cfo_tracking.cfo_tail[1] = phy_stats->path_cfotail[1]; in rtl8723au_rx_parse_phystats() 5670 (phy_stats->cck_sig_qual_ofdm_pwdb_all >> 1) - 110; in rtl8723au_rx_parse_phystats() 5744 struct rtl8723au_phy_stats *phy_stats, in jaguar2_rx_parse_phystats() argument 5748 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in jaguar2_rx_parse_phystats() 5749 struct jaguar2_phy_stats_type1 *phy_stats1 = (struct jaguar2_phy_stats_type1 *)phy_stats; in jaguar2_rx_parse_phystats() 5750 struct jaguar2_phy_stats_type2 *phy_stats2 = (struct jaguar2_phy_stats_type2 *)phy_stats; in jaguar2_rx_parse_phystats() [all …]
|
| H A D | 8192e.c | 1675 static s8 rtl8192e_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8192e_cck_rssi() argument 1680 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8192e_cck_rssi()
|
| H A D | 8710b.c | 1786 static s8 rtl8710b_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8710b_cck_rssi() argument 1788 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in rtl8710b_cck_rssi()
|
| H A D | 8723b.c | 1659 static s8 rtl8723b_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8723b_cck_rssi() argument 1661 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8723b_cck_rssi()
|
| H A D | 8188f.c | 1676 static s8 rtl8188f_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8188f_cck_rssi() argument 1678 u8 cck_agc_rpt = phy_stats->cck_agc_rpt_ofdm_cfosho_a; in rtl8188f_cck_rssi()
|
| H A D | 8192f.c | 1967 static s8 rtl8192f_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) in rtl8192f_cck_rssi() argument 1969 struct jaguar2_phy_stats_type0 *phy_stats0 = (struct jaguar2_phy_stats_type0 *)phy_stats; in rtl8192f_cck_rssi()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | e1000.h | 290 struct e1000_phy_stats phy_stats; member
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_port.c | 283 struct mlx4_en_phy_stats *p_stats = &priv->phy_stats; in mlx4_en_DUMP_ETH_STATS()
|
| H A D | en_ethtool.c | 423 data[index++] = ((unsigned long *)&priv->phy_stats)[i]; in mlx4_en_get_ethtool_stats()
|
| /linux/drivers/net/dsa/realtek/ |
| H A D | rtl8365mb.c | 1318 struct ethtool_eth_phy_stats *phy_stats) in rtl8365mb_get_phy_stats() argument 1329 &phy_stats->SymbolErrorDuringCarrier); in rtl8365mb_get_phy_stats()
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_ethtool.c | 399 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()
|
| H A D | e1000_main.c | 3724 adapter->phy_stats.idle_errors += phy_tmp; in e1000_update_stats() 3730 adapter->phy_stats.receive_errors += phy_tmp; in e1000_update_stats()
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 1333 struct ethtool_eth_phy_stats *phy_stats) in felix_get_eth_phy_stats() argument 1337 ocelot_port_get_eth_phy_stats(ocelot, port, phy_stats); in felix_get_eth_phy_stats()
|
| /linux/include/soc/mscc/ |
| H A D | ocelot.h | 1034 struct ethtool_eth_phy_stats *phy_stats);
|
| /linux/include/net/ |
| H A D | dsa.h | 904 struct ethtool_eth_phy_stats *phy_stats);
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 3306 struct ethtool_eth_phy_stats *phy_stats) in macb_get_eth_phy_stats() argument 3313 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in macb_get_eth_phy_stats() 3318 struct ethtool_eth_phy_stats *phy_stats) in gem_get_eth_phy_stats() argument 3325 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in gem_get_eth_phy_stats()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.c | 939 struct ethtool_eth_phy_stats *phy_stats) in mlx5e_stats_eth_phy_get() argument 947 phy_stats->SymbolErrorDuringCarrier = in mlx5e_stats_eth_phy_get()
|
| /linux/net/dsa/ |
| H A D | user.c | 1097 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()
|