Home
last modified time | relevance | path

Searched refs:tmi (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_hw_stats.c76 struct fbnic_tmi_stats *tmi) in fbnic_reset_tmi_stats() argument
78 fbnic_hw_stat_rst32(fbd, FBNIC_TMI_DROP_PKTS, &tmi->drop.frames); in fbnic_reset_tmi_stats()
79 fbnic_hw_stat_rst64(fbd, FBNIC_TMI_DROP_BYTE_L, 1, &tmi->drop.bytes); in fbnic_reset_tmi_stats()
83 &tmi->ptp_illegal_req); in fbnic_reset_tmi_stats()
84 fbnic_hw_stat_rst32(fbd, FBNIC_TMI_GOOD_PTP_TS, &tmi->ptp_good_ts); in fbnic_reset_tmi_stats()
85 fbnic_hw_stat_rst32(fbd, FBNIC_TMI_BAD_PTP_TS, &tmi->ptp_bad_ts); in fbnic_reset_tmi_stats()
89 struct fbnic_tmi_stats *tmi) in fbnic_get_tmi_stats32() argument
91 fbnic_hw_stat_rd32(fbd, FBNIC_TMI_DROP_PKTS, &tmi->drop.frames); in fbnic_get_tmi_stats32()
95 &tmi->ptp_illegal_req); in fbnic_get_tmi_stats32()
96 fbnic_hw_stat_rd32(fbd, FBNIC_TMI_GOOD_PTP_TS, &tmi->ptp_good_ts); in fbnic_get_tmi_stats32()
[all …]
H A Dfbnic_hw_stats.h143 struct fbnic_tmi_stats tmi; member
H A Dfbnic_ethtool.c40 FBNIC_HW_STAT("ptp_illegal_req", tmi.ptp_illegal_req),
41 FBNIC_HW_STAT("ptp_good_ts", tmi.ptp_good_ts),
42 FBNIC_HW_STAT("ptp_bad_ts", tmi.ptp_bad_ts),
H A Dfbnic_netdev.c409 tx_dropped += fbd->hw_stats.tmi.drop.frames.value + in fbnic_get_stats64()