Home
last modified time | relevance | path

Searched refs:ctrl_stats (Results 1 – 20 of 20) sorted by relevance

/linux/net/ethtool/
H A Dstats.c24 struct ethtool_eth_ctrl_stats ctrl_stats;
166 data->ctrl_stats.src = src; in stats_prepare_data()
185 dev->ethtool_ops->get_eth_ctrl_stats(dev, &data->ctrl_stats); in stats_prepare_data()
357 data->ctrl_stats.MACControlFramesTransmitted) || in stats_put_ctrl_stats()
359 data->ctrl_stats.MACControlFramesReceived) || in stats_put_ctrl_stats()
361 data->ctrl_stats.UnsupportedOpcodesReceived)) in stats_put_ctrl_stats()
565 struct ethtool_eth_ctrl_stats *ctrl_stats) in ethtool_aggregate_ctrl_stats() argument
578 ethtool_aggregate_stats(ctrl_stats, &emac, &pmac, in ethtool_aggregate_ctrl_stats()
579 sizeof(ctrl_stats->stats), in ethtool_aggregate_ctrl_stats()
/linux/drivers/net/ethernet/mscc/
H A Docelot_stats.c648 struct ethtool_eth_ctrl_stats *ctrl_stats = priv; in ocelot_port_ctrl_stats_cb() local
650 ctrl_stats->MACControlFramesReceived = s[OCELOT_STAT_RX_CONTROL]; in ocelot_port_ctrl_stats_cb()
657 struct ethtool_eth_ctrl_stats *ctrl_stats = priv; in ocelot_port_pmac_ctrl_stats_cb() local
659 ctrl_stats->MACControlFramesReceived = s[OCELOT_STAT_RX_PMAC_CONTROL]; in ocelot_port_pmac_ctrl_stats_cb()
663 struct ethtool_eth_ctrl_stats *ctrl_stats) in ocelot_port_get_eth_ctrl_stats() argument
667 switch (ctrl_stats->src) { in ocelot_port_get_eth_ctrl_stats()
669 ocelot_port_stats_run(ocelot, port, ctrl_stats, in ocelot_port_get_eth_ctrl_stats()
674 ocelot_port_stats_run(ocelot, port, ctrl_stats, in ocelot_port_get_eth_ctrl_stats()
679 ethtool_aggregate_ctrl_stats(dev, ctrl_stats); in ocelot_port_get_eth_ctrl_stats()
/linux/include/linux/
H A Dethtool_netlink.h39 struct ethtool_eth_ctrl_stats *ctrl_stats);
104 struct ethtool_eth_ctrl_stats *ctrl_stats) in ethtool_aggregate_ctrl_stats() argument
H A Dethtool.h1292 struct ethtool_eth_ctrl_stats *ctrl_stats);
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c434 struct ethtool_eth_ctrl_stats *ctrl_stats) in bcmasp_get_eth_ctrl_stats() argument
438 ctrl_stats->MACControlFramesTransmitted = umac_rl(intf, UMC_GTXCF); in bcmasp_get_eth_ctrl_stats()
439 ctrl_stats->MACControlFramesReceived = umac_rl(intf, UMC_GRXCF); in bcmasp_get_eth_ctrl_stats()
440 ctrl_stats->UnsupportedOpcodesReceived = umac_rl(intf, UMC_GRXUO); in bcmasp_get_eth_ctrl_stats()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_mac.h110 struct fbnic_eth_ctrl_stats *ctrl_stats);
H A Dfbnic_mac.c766 struct fbnic_eth_ctrl_stats *ctrl_stats) in fbnic_mac_get_eth_ctrl_stats() argument
768 fbnic_mac_stat_rd64(fbd, reset, ctrl_stats->MACControlFramesReceived, in fbnic_mac_get_eth_ctrl_stats()
770 fbnic_mac_stat_rd64(fbd, reset, ctrl_stats->MACControlFramesTransmitted, in fbnic_mac_get_eth_ctrl_stats()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c1149 struct ethtool_eth_ctrl_stats *ctrl_stats) in mlxsw_sp_get_eth_ctrl_stats() argument
1157 ctrl_stats->MACControlFramesTransmitted = in mlxsw_sp_get_eth_ctrl_stats()
1159 ctrl_stats->MACControlFramesReceived = in mlxsw_sp_get_eth_ctrl_stats()
1161 ctrl_stats->UnsupportedOpcodesReceived = in mlxsw_sp_get_eth_ctrl_stats()
/linux/drivers/net/dsa/
H A Drzn1_a5psw.c891 struct ethtool_eth_ctrl_stats *ctrl_stats) in a5psw_get_eth_ctrl_stats() argument
897 ctrl_stats->MACControlFramesTransmitted = stat; in a5psw_get_eth_ctrl_stats()
899 ctrl_stats->MACControlFramesReceived = stat; in a5psw_get_eth_ctrl_stats()
H A Dyt921x.c842 struct ethtool_eth_ctrl_stats *ctrl_stats) in yt921x_dsa_get_eth_ctrl_stats() argument
852 ctrl_stats->MACControlFramesTransmitted = mib->tx_pause; in yt921x_dsa_get_eth_ctrl_stats()
853 ctrl_stats->MACControlFramesReceived = mib->rx_pause; in yt921x_dsa_get_eth_ctrl_stats()
H A Dmt7530.c955 struct ethtool_eth_ctrl_stats *ctrl_stats) in mt7530_get_eth_ctrl_stats() argument
960 &ctrl_stats->MACControlFramesTransmitted); in mt7530_get_eth_ctrl_stats()
963 &ctrl_stats->MACControlFramesReceived); in mt7530_get_eth_ctrl_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.h128 struct ethtool_eth_ctrl_stats *ctrl_stats);
H A Den_stats.c983 struct ethtool_eth_ctrl_stats *ctrl_stats) in mlx5e_stats_eth_ctrl_get() argument
991 ctrl_stats->MACControlFramesTransmitted = in mlx5e_stats_eth_ctrl_get()
995 ctrl_stats->MACControlFramesReceived = in mlx5e_stats_eth_ctrl_get()
999 ctrl_stats->UnsupportedOpcodesReceived = in mlx5e_stats_eth_ctrl_get()
H A Den_ethtool.c2704 struct ethtool_eth_ctrl_stats *ctrl_stats) in mlx5e_get_eth_ctrl_stats() argument
2708 mlx5e_stats_eth_ctrl_get(priv, ctrl_stats); in mlx5e_get_eth_ctrl_stats()
/linux/drivers/net/dsa/realtek/
H A Drtl8365mb.c1419 struct ethtool_eth_ctrl_stats *ctrl_stats) in rtl8365mb_get_ctrl_stats() argument
1430 &ctrl_stats->UnsupportedOpcodesReceived); in rtl8365mb_get_ctrl_stats()
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1317 struct ethtool_eth_ctrl_stats *ctrl_stats) in felix_get_eth_ctrl_stats() argument
1321 ocelot_port_get_eth_ctrl_stats(ocelot, port, ctrl_stats); in felix_get_eth_ctrl_stats()
/linux/include/net/
H A Ddsa.h908 struct ethtool_eth_ctrl_stats *ctrl_stats);
/linux/include/soc/mscc/
H A Docelot.h1030 struct ethtool_eth_ctrl_stats *ctrl_stats);
/linux/net/dsa/
H A Duser.c1118 struct ethtool_eth_ctrl_stats *ctrl_stats) in dsa_user_get_eth_ctrl_stats() argument
1124 ds->ops->get_eth_ctrl_stats(ds, dp->index, ctrl_stats); in dsa_user_get_eth_ctrl_stats()
/linux/drivers/net/ethernet/realtek/
H A Dr8169_main.c2371 struct ethtool_eth_ctrl_stats *ctrl_stats) in rtl8169_get_eth_ctrl_stats() argument
2380 ctrl_stats->UnsupportedOpcodesReceived = in rtl8169_get_eth_ctrl_stats()