Lines Matching defs:phy_stats
473 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,
6498 priv->phy_stats.rx_errors = lan8842_get_stat(phydev,
6501 priv->phy_stats.tx_packets = lan8842_get_stat(phydev,
6504 priv->phy_stats.tx_errors = lan8842_get_stat(phydev,
6580 stats->rx_packets = priv->phy_stats.rx_packets;
6581 stats->rx_errors = priv->phy_stats.rx_errors;
6582 stats->tx_packets = priv->phy_stats.tx_packets;
6583 stats->tx_errors = priv->phy_stats.tx_errors;