| /linux-6.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot_ptp.c | 684 ocelot_port->ts_stats->lost++; in ocelot_port_queue_ptp_tx_skb() 685 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_port_queue_ptp_tx_skb() 767 ocelot_port->ts_stats->onestep_pkts_unconfirmed++; in ocelot_port_txtstamp_request() 768 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 799 u64_stats_update_begin(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 800 ocelot_port->ts_stats->err++; in ocelot_port_txtstamp_request() 801 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 863 ocelot_port->ts_stats->err++; in ocelot_get_txtstamp() 864 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_get_txtstamp() 874 ocelot_port->ts_stats->pkts++; in ocelot_get_txtstamp() [all …]
|
| H A D | ocelot_stats.c | 825 struct ethtool_ts_stats *ts_stats) in ocelot_port_get_ts_stats() argument 828 struct ocelot_ts_stats *stats = ocelot_port->ts_stats; in ocelot_port_get_ts_stats() 836 ts_stats->pkts = stats->pkts; in ocelot_port_get_ts_stats() 837 ts_stats->onestep_pkts_unconfirmed = stats->onestep_pkts_unconfirmed; in ocelot_port_get_ts_stats() 838 ts_stats->lost = stats->lost; in ocelot_port_get_ts_stats() 839 ts_stats->err = stats->err; in ocelot_port_get_ts_stats() 990 ocelot_port->ts_stats = devm_kzalloc(ocelot->dev, in ocelot_stats_init() 991 sizeof(*ocelot_port->ts_stats), in ocelot_stats_init() 993 if (!ocelot_port->ts_stats) in ocelot_stats_init() 996 u64_stats_init(&ocelot_port->ts_stats->syncp); in ocelot_stats_init()
|
| H A D | ocelot_net.c | 997 struct ethtool_ts_stats *ts_stats) in ocelot_port_ts_stats() argument 1003 ocelot_port_get_ts_stats(ocelot, port, ts_stats); in ocelot_port_ts_stats()
|
| /linux-6.15/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ethtool.c | 527 struct ethtool_ts_stats *ts_stats) in wx_get_ptp_stats() argument 532 ts_stats->pkts = wx->tx_hwtstamp_pkts; in wx_get_ptp_stats() 533 ts_stats->lost = wx->tx_hwtstamp_timeouts + in wx_get_ptp_stats() 536 ts_stats->err = wx->tx_hwtstamp_errors; in wx_get_ptp_stats()
|
| H A D | wx_ethtool.h | 46 struct ethtool_ts_stats *ts_stats);
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1381 struct ethtool_ts_stats *ts_stats) in fbnic_get_ts_stats() argument 1389 ts_stats->pkts = fbn->tx_stats.twq.ts_packets; in fbnic_get_ts_stats() 1390 ts_stats->lost = fbn->tx_stats.twq.ts_lost; in fbnic_get_ts_stats() 1398 ts_stats->pkts += ts_packets; in fbnic_get_ts_stats() 1399 ts_stats->lost += ts_lost; in fbnic_get_ts_stats()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.c | 1170 struct ethtool_ts_stats *ts_stats) in mlx5e_stats_ts_get() argument 1179 ts_stats->pkts = 0; in mlx5e_stats_ts_get() 1180 ts_stats->err = 0; in mlx5e_stats_ts_get() 1181 ts_stats->lost = 0; in mlx5e_stats_ts_get() 1191 ts_stats->pkts += stats->cqe; in mlx5e_stats_ts_get() 1192 ts_stats->err += stats->abort + stats->err_cqe + in mlx5e_stats_ts_get() 1194 ts_stats->lost += stats->lost_cqe; in mlx5e_stats_ts_get() 1200 ts_stats->pkts = 0; in mlx5e_stats_ts_get() 1209 ts_stats->pkts += stats->timestamps; in mlx5e_stats_ts_get()
|
| H A D | en_stats.h | 132 struct ethtool_ts_stats *ts_stats);
|
| H A D | en_ethtool.c | 2616 struct ethtool_ts_stats *ts_stats) in mlx5e_get_ts_stats() argument 2620 mlx5e_stats_ts_get(priv, ts_stats); in mlx5e_get_ts_stats()
|
| /linux-6.15/include/soc/mscc/ |
| H A D | ocelot.h | 789 struct ocelot_ts_stats *ts_stats; member 1036 struct ethtool_ts_stats *ts_stats);
|
| /linux-6.15/include/linux/ |
| H A D | ethtool.h | 1097 struct ethtool_ts_stats *ts_stats);
|
| /linux-6.15/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 1320 struct ethtool_ts_stats *ts_stats) in felix_get_ts_stats() argument 1324 ocelot_port_get_ts_stats(ocelot, port, ts_stats); in felix_get_ts_stats()
|
| /linux-6.15/include/net/ |
| H A D | dsa.h | 910 struct ethtool_ts_stats *ts_stats);
|
| /linux-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 5447 struct ethtool_ts_stats *ts_stats) in bnxt_get_ptp_stats() argument 5453 ts_stats->pkts = ptp->stats.ts_pkts; in bnxt_get_ptp_stats() 5454 ts_stats->lost = ptp->stats.ts_lost; in bnxt_get_ptp_stats() 5455 ts_stats->err = atomic64_read(&ptp->stats.ts_err); in bnxt_get_ptp_stats()
|
| /linux-6.15/net/dsa/ |
| H A D | user.c | 1154 struct ethtool_ts_stats *ts_stats) in dsa_user_get_ts_stats() argument 1160 ds->ops->get_ts_stats(ds, dp->index, ts_stats); in dsa_user_get_ts_stats()
|