| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_ptp.c | 661 u64_stats_update_begin(&ocelot_port->ts_stats->syncp); in ocelot_port_queue_ptp_tx_skb() 662 ocelot_port->ts_stats->lost++; in ocelot_port_queue_ptp_tx_skb() 663 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_port_queue_ptp_tx_skb() 744 u64_stats_update_begin(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 745 ocelot_port->ts_stats->onestep_pkts_unconfirmed++; in ocelot_port_txtstamp_request() 746 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 777 u64_stats_update_begin(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 778 ocelot_port->ts_stats->err++; in ocelot_port_txtstamp_request() 779 u64_stats_update_end(&ocelot_port->ts_stats->syncp); in ocelot_port_txtstamp_request() 840 u64_stats_update_begin(&ocelot_port->ts_stats->syncp); 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 | 1043 struct ethtool_ts_stats *ts_stats) in ocelot_port_ts_stats() argument 1049 ocelot_port_get_ts_stats(ocelot, port, ts_stats); in ocelot_port_ts_stats()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ethtool.c | 717 struct ethtool_ts_stats *ts_stats) in wx_get_ptp_stats() argument 722 ts_stats->pkts = wx->tx_hwtstamp_pkts; in wx_get_ptp_stats() 723 ts_stats->lost = wx->tx_hwtstamp_timeouts + in wx_get_ptp_stats() 726 ts_stats->err = wx->tx_hwtstamp_errors; in wx_get_ptp_stats()
|
| H A D | wx_ethtool.h | 58 struct ethtool_ts_stats *ts_stats);
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 1754 struct ethtool_ts_stats *ts_stats) in idpf_get_ts_stats() argument 1765 ts_stats->pkts = u64_stats_read(&vport->tstamp_stats.packets); in idpf_get_ts_stats() 1766 ts_stats->lost = u64_stats_read(&vport->tstamp_stats.flushed); in idpf_get_ts_stats() 1767 ts_stats->err = u64_stats_read(&vport->tstamp_stats.discarded); in idpf_get_ts_stats() 1793 ts_stats->lost += ts; in idpf_get_ts_stats()
|
| /linux/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 | 133 struct ethtool_ts_stats *ts_stats);
|
| H A D | en_ethtool.c | 2721 struct ethtool_ts_stats *ts_stats) in mlx5e_get_ts_stats() argument 2725 mlx5e_stats_ts_get(priv, ts_stats); in mlx5e_get_ts_stats()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1622 struct ethtool_ts_stats *ts_stats) in fbnic_get_ts_stats() argument 1630 ts_stats->pkts = fbn->tx_stats.twq.ts_packets; in fbnic_get_ts_stats() 1631 ts_stats->lost = fbn->tx_stats.twq.ts_lost; in fbnic_get_ts_stats() 1639 ts_stats->pkts += ts_packets; in fbnic_get_ts_stats() 1640 ts_stats->lost += ts_lost; in fbnic_get_ts_stats()
|
| /linux/include/soc/mscc/ |
| H A D | ocelot.h | 789 struct ocelot_ts_stats *ts_stats; member 1036 struct ethtool_ts_stats *ts_stats);
|
| /linux/include/linux/ |
| H A D | ethtool.h | 1249 struct ethtool_ts_stats *ts_stats);
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 4745 struct ethtool_ts_stats *ts_stats) in ice_get_ts_stats() argument 4750 ts_stats->pkts = ptp->tx_hwtstamp_good; in ice_get_ts_stats() 4751 ts_stats->err = ptp->tx_hwtstamp_skipped + in ice_get_ts_stats() 4754 ts_stats->lost = ptp->tx_hwtstamp_timeouts; in ice_get_ts_stats()
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 1341 struct ethtool_ts_stats *ts_stats) in felix_get_ts_stats() argument 1345 ocelot_port_get_ts_stats(ocelot, port, ts_stats); in felix_get_ts_stats()
|
| /linux/include/net/ |
| H A D | dsa.h | 913 struct ethtool_ts_stats *ts_stats);
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 5658 struct ethtool_ts_stats *ts_stats) in bnxt_get_ptp_stats() argument 5664 ts_stats->pkts = ptp->stats.ts_pkts; in bnxt_get_ptp_stats() 5665 ts_stats->lost = ptp->stats.ts_lost; in bnxt_get_ptp_stats() 5666 ts_stats->err = atomic64_read(&ptp->stats.ts_err); in bnxt_get_ptp_stats()
|
| /linux/net/dsa/ |
| H A D | user.c | 1140 struct ethtool_ts_stats *ts_stats) in dsa_user_get_ts_stats() argument 1146 ds->ops->get_ts_stats(ds, dp->index, ts_stats); in dsa_user_get_ts_stats()
|