Searched refs:ts_stats (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/ethernet/mscc/ |
| 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 | 1045 struct ethtool_ts_stats *ts_stats) in ocelot_port_ts_stats() 1051 ocelot_port_get_ts_stats(ocelot, port, ts_stats); 1043 ocelot_port_ts_stats(struct net_device * dev,struct ethtool_ts_stats * ts_stats) ocelot_port_ts_stats() argument
|
| /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/include/soc/mscc/ |
| H A D | ocelot.h | 789 struct ocelot_ts_stats *ts_stats; member 1036 struct ethtool_ts_stats *ts_stats);
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 4747 * @ts_stats: the ethtool data structure to fill in in ice_get_ts_stats() 4750 struct ethtool_ts_stats *ts_stats) in ice_get_ts_stats() 4755 ts_stats->pkts = ptp->tx_hwtstamp_good; in ice_get_ts_stats() 4756 ts_stats->err = ptp->tx_hwtstamp_skipped + in ice_get_ts_stats() 4759 ts_stats->lost = ptp->tx_hwtstamp_timeouts; 4746 ice_get_ts_stats(struct net_device * netdev,struct ethtool_ts_stats * ts_stats) ice_get_ts_stats() argument
|
| /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/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 2710 struct ethtool_ts_stats *ts_stats) in mlx5e_get_eth_ctrl_stats() 2714 mlx5e_stats_ts_get(priv, ts_stats); in mlx5e_get_eth_ctrl_stats() 2727 mlx5e_get_ts_stats(struct net_device * netdev,struct ethtool_ts_stats * ts_stats) mlx5e_get_ts_stats() argument
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 5695 struct ethtool_ts_stats *ts_stats) in bnxt_get_ptp_stats() 5701 ts_stats->pkts = ptp->stats.ts_pkts; in bnxt_get_ptp_stats() 5702 ts_stats->lost = ptp->stats.ts_lost; in bnxt_get_ptp_stats() 5703 ts_stats->err = atomic64_read(&ptp->stats.ts_err); in bnxt_get_ptp_stats() 5694 bnxt_get_ptp_stats(struct net_device * dev,struct ethtool_ts_stats * ts_stats) bnxt_get_ptp_stats() argument
|
| /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()
|