Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c3160 apc->phy_stats.rx_pkt_drop_phy = resp.rx_pkt_drop_phy; in mana_init_port()
3161 apc->phy_stats.tx_pkt_drop_phy = resp.tx_pkt_drop_phy; in mana_init_port()
3164 apc->phy_stats.rx_pkt_tc0_phy = resp.rx_pkt_tc0_phy; in mana_init_port()
3165 apc->phy_stats.tx_pkt_tc0_phy = resp.tx_pkt_tc0_phy; in mana_init_port()
3166 apc->phy_stats.rx_pkt_tc1_phy = resp.rx_pkt_tc1_phy; in mana_init_port()
3167 apc->phy_stats.tx_pkt_tc1_phy = resp.tx_pkt_tc1_phy; in mana_init_port()
3168 apc->phy_stats.rx_pkt_tc2_phy = resp.rx_pkt_tc2_phy; in mana_init_port()
3169 apc->phy_stats.tx_pkt_tc2_phy = resp.tx_pkt_tc2_phy; in mana_init_port()
3170 apc->phy_stats.rx_pkt_tc3_phy = resp.rx_pkt_tc3_phy; in mana_init_port()
3171 apc->phy_stats in mana_init_port()
[all...]
/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/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
/linux/drivers/net/phy/
H A Dmicrel.c473 struct kszphy_phy_stats phy_stats;
484 struct lan8842_phy_stats phy_stats;
2261 priv->phy_stats.rx_err_pkt_cnt += ret;
2272 stats->rx_errors = priv->phy_stats.rx_err_pkt_cnt;
6495 priv->phy_stats.rx_packets = lan8842_get_stat(phydev, in lan8842_get_tunable()
6498 priv->phy_stats.rx_errors = lan8842_get_stat(phydev, in lan8842_get_tunable()
6501 priv->phy_stats.tx_packets = lan8842_get_stat(phydev, in lan8842_get_tunable()
6504 priv->phy_stats.tx_errors = lan8842_get_stat(phydev, in lan8842_set_tunable()
6580 stats->rx_packets = priv->phy_stats.rx_packets; in lan9645x_suspend()
6581 stats->rx_errors = priv->phy_stats in lan9645x_suspend()
467 struct kszphy_phy_stats phy_stats; global() member
478 struct lan8842_phy_stats phy_stats; global() member
[all...]
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h290 struct e1000_phy_stats phy_stats; member
H A Dethtool.c481 regs_buff[22] = adapter->phy_stats.receive_errors; in e1000_get_regs()
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A D8192e.c1675 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 D8710b.c1786 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 D8723b.c1659 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 D8188f.c1676 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 D8192f.c1967 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/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/drivers/net/dsa/realtek/
H A Drtl8365mb.c
/linux/drivers/net/ethernet/intel/e1000/
H A 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()
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/dsa/ocelot/
H A Dfelix.c1333 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/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c2677 struct ethtool_eth_phy_stats *phy_stats) in mlx5e_get_link_ext_state()
2681 mlx5e_stats_eth_phy_get(priv, phy_stats); in mlx5e_get_link_ext_state()
2694 mlx5e_get_eth_phy_stats(struct net_device * netdev,struct ethtool_eth_phy_stats * phy_stats) mlx5e_get_eth_phy_stats() argument
/linux/include/soc/mscc/
H A Docelot.h1034 struct ethtool_eth_phy_stats *phy_stats);
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c3517 struct ethtool_eth_phy_stats *phy_stats) in macb_get_eth_phy_stats() argument
3524 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in macb_get_eth_phy_stats()
3529 struct ethtool_eth_phy_stats *phy_stats) in gem_get_eth_phy_stats() argument
3536 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/broadcom/bnxt/
H A Dbnxt_ethtool.c5567 struct ethtool_eth_phy_stats *phy_stats) in bnxt_get_eth_phy_stats() argument
5576 phy_stats->SymbolErrorDuringCarrier = in bnxt_get_eth_phy_stats()