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.c3550 apc->phy_stats.rx_pkt_drop_phy = resp.rx_pkt_drop_phy; in mana_init_port()
3551 apc->phy_stats.tx_pkt_drop_phy = resp.tx_pkt_drop_phy; in mana_init_port()
3554 apc->phy_stats.rx_pkt_tc0_phy = resp.rx_pkt_tc0_phy; in mana_init_port()
3555 apc->phy_stats.tx_pkt_tc0_phy = resp.tx_pkt_tc0_phy; in mana_init_port()
3556 apc->phy_stats.rx_pkt_tc1_phy = resp.rx_pkt_tc1_phy; in mana_init_port()
3557 apc->phy_stats.tx_pkt_tc1_phy = resp.tx_pkt_tc1_phy; in mana_init_port()
3558 apc->phy_stats.rx_pkt_tc2_phy = resp.rx_pkt_tc2_phy; in mana_init_port()
3559 apc->phy_stats.tx_pkt_tc2_phy = resp.tx_pkt_tc2_phy; in mana_init_port()
3560 apc->phy_stats.rx_pkt_tc3_phy = resp.rx_pkt_tc3_phy; in mana_init_port()
3561 apc->phy_stats in mana_init_port()
[all...]
H A Dmana_ethtool.c238 void *phy_stats = &apc->phy_stats; in mana_get_ethtool_stats()
277 data[i++] = *(u64 *)(phy_stats + mana_phy_stats[q].offset); in mana_get_ethtool_stats()
234 void *phy_stats = &apc->phy_stats; mana_get_ethtool_stats() local
/linux/include/linux/
H A Dethtool_netlink.h34 struct ethtool_eth_phy_stats *phy_stats);
95 struct ethtool_eth_phy_stats *phy_stats) in ethtool_aggregate_phy_stats() argument
H A Dethtool.h1349 struct ethtool_eth_phy_stats *phy_stats);
H A Dphy.h2479 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.c1889 struct fbnic_phy_stats *phy_stats; in fbnic_get_eth_phy_stats()
1893 phy_stats = &fbd->hw_stats.phy; in fbnic_get_eth_phy_stats()
1897 phy_stats->fec.corrected_blocks.value; in fbnic_get_eth_phy_stats()
1899 phy_stats->fec.uncorrectable_blocks.value; in fbnic_get_eth_phy_stats()
1908 struct fbnic_phy_stats *phy_stats; in fbnic_get_eth_mac_stats()
1914 phy_stats = &fbd->hw_stats.phy; in fbnic_get_eth_mac_stats()
1918 total += phy_stats->pcs.SymbolErrorDuringCarrier.lanes[i].value; in fbnic_get_eth_mac_stats()
1872 struct fbnic_phy_stats *phy_stats; fbnic_get_fec_stats() local
1891 struct fbnic_phy_stats *phy_stats; fbnic_get_eth_phy_stats() local
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Dcore.c5689 struct rtl8723au_phy_stats *phy_stats, in rtl8723au_rx_parse_phystats()
5693 if (phy_stats->sgi_en) in rtl8723au_rx_parse_phystats()
5700 rx_status->signal = priv->fops->cck_rssi(priv, phy_stats); in rtl8723au_rx_parse_phystats()
5710 priv->cfo_tracking.cfo_tail[0] = phy_stats->path_cfotail[0]; in rtl8723au_rx_parse_phystats()
5711 priv->cfo_tracking.cfo_tail[1] = phy_stats->path_cfotail[1]; in rtl8723au_rx_parse_phystats()
5717 (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()
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()
5687 rtl8723au_rx_parse_phystats(struct rtl8xxxu_priv * priv,struct ieee80211_rx_status * rx_status,struct rtl8723au_phy_stats * phy_stats,u32 rxmcs,struct ieee80211_hdr * hdr,bool crc_icv_err) rtl8723au_rx_parse_phystats() argument
5789 jaguar2_rx_parse_phystats(struct rtl8xxxu_priv * priv,struct ieee80211_rx_status * rx_status,struct rtl8723au_phy_stats * phy_stats,u32 rxmcs,struct ieee80211_hdr * hdr,bool crc_icv_err) jaguar2_rx_parse_phystats() argument
6325 struct rtl8723au_phy_stats *phy_stats; rtl8xxxu_parse_rxdesc16() local
6444 struct rtl8723au_phy_stats *phy_stats; rtl8xxxu_parse_rxdesc24() local
[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()
6552 priv->phy_stats.rx_packets = lan8842_get_stat(phydev, in lan8842_update_stats()
6555 priv->phy_stats.rx_errors = lan8842_get_stat(phydev, in lan8842_update_stats()
6558 priv->phy_stats.tx_packets = lan8842_get_stat(phydev, in lan8842_update_stats()
6561 priv->phy_stats.tx_errors = lan8842_get_stat(phydev, in lan8842_update_stats()
6637 stats->rx_packets = priv->phy_stats.rx_packets; in lan8842_get_phy_stats()
6638 stats->rx_errors = priv->phy_stats 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/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/mana/
H A Dmana.h667 struct mana_ethtool_phy_stats phy_stats;
661 struct mana_ethtool_phy_stats phy_stats; global() member
/linux/drivers/net/dsa/realtek/
H A Drtl8365mb_main.c2438 struct ethtool_eth_phy_stats *phy_stats) in rtl8365mb_get_mac_stats()
2449 &phy_stats->SymbolErrorDuringCarrier); in rtl8365mb_get_mac_stats()
2353 rtl8365mb_get_phy_stats(struct dsa_switch * ds,int port,struct ethtool_eth_phy_stats * phy_stats) rtl8365mb_get_phy_stats() argument
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c2681 struct ethtool_eth_phy_stats *phy_stats) in mlx5e_get_eth_phy_stats()
2685 mlx5e_stats_eth_phy_get(priv, phy_stats); in mlx5e_get_eth_mac_stats()
2678 mlx5e_get_eth_phy_stats(struct net_device * netdev,struct ethtool_eth_phy_stats * phy_stats) mlx5e_get_eth_phy_stats() argument
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/include/net/
H A Ddsa.h928 struct ethtool_eth_phy_stats *phy_stats);
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c3944 /* TODO: Report SQE test errors when added to phy_stats */ in gem_prog_cmp_regs()
3946 struct ethtool_eth_phy_stats *phy_stats) in gem_prog_cmp_regs()
3953 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in gem_prog_cmp_regs()
3958 struct ethtool_eth_phy_stats *phy_stats) in gem_prog_cmp_regs()
3965 phy_stats->SymbolErrorDuringCarrier = hwstat->rx_symbol_errors; in gem_add_flow_filter()
3538 macb_get_eth_phy_stats(struct net_device * netdev,struct ethtool_eth_phy_stats * phy_stats) macb_get_eth_phy_stats() argument
3550 gem_get_eth_phy_stats(struct net_device * netdev,struct ethtool_eth_phy_stats * phy_stats) gem_get_eth_phy_stats() argument
/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.c3723 adapter->phy_stats.idle_errors += phy_tmp; in e1000_update_stats()
3729 adapter->phy_stats.receive_errors += phy_tmp; in e1000_update_stats()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c5569 struct ethtool_eth_phy_stats *phy_stats) in bnxt_get_eth_phy_stats()
5578 phy_stats->SymbolErrorDuringCarrier = in bnxt_get_eth_phy_stats()
5568 bnxt_get_eth_phy_stats(struct net_device * dev,struct ethtool_eth_phy_stats * phy_stats) bnxt_get_eth_phy_stats() argument