Home
last modified time | relevance | path

Searched refs:gstrings_extd_stats (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dethtool.c28 static struct xge_gstrings_extd_stats gstrings_extd_stats[] = { variable
72 #define XGE_EXTD_STATS_LEN ARRAY_SIZE(gstrings_extd_stats)
80 data = xge_rd_csr(pdata, gstrings_extd_stats[i].addr); in xge_mac_get_extd_stats()
81 gstrings_extd_stats[i].value += data; in xge_mac_get_extd_stats()
109 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xge_get_strings()
135 *data++ = gstrings_extd_stats[i].value; in xge_get_ethtool_stats()
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_ethtool.c39 static const struct xgene_gstrings_stats gstrings_extd_stats[] = { variable
87 #define XGENE_EXTD_STATS_LEN ARRAY_SIZE(gstrings_extd_stats)
203 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings()
223 tmp = xgene_enet_rd_stat(pdata, gstrings_extd_stats[i].addr); in xgene_get_extd_stats()
224 if (gstrings_extd_stats[i].mask) { in xgene_get_extd_stats()
225 mask = GENMASK(gstrings_extd_stats[i].mask - 1, 0); in xgene_get_extd_stats()