Searched refs:et_stats (Results 1 – 2 of 2) sorted by relevance
35 static const struct be_ethtool_stat et_stats[] = { variable129 #define ETHTOOL_STATS_NUM ARRAY_SIZE(et_stats)383 p = (u8 *)&adapter->drv_stats + et_stats[i].offset; in be_get_ethtool_stats()438 memcpy(data, et_stats[i].desc, ETH_GSTRING_LEN); in be_get_stat_strings()
748 const struct netcp_ethtool_stat *et_stats; member1783 memcpy(data, gbe_dev->et_stats[i].desc, in keystone_get_stat_strings()1821 if (gbe_dev->et_stats[i].type == stats_mod) { in gbe_reset_mod_stats()1822 p_stats_entry = base + gbe_dev->et_stats[i].offset; in gbe_reset_mod_stats()1839 base = gbe_dev->hw_stats_regs[gbe_dev->et_stats[et_stats_entry].type]; in gbe_update_hw_stats_entry()1840 p_stats_entry = base + gbe_dev->et_stats[et_stats_entry].offset; in gbe_update_hw_stats_entry()3271 gbe_dev->et_stats = xgbe10_et_stats; in set_xgbe_ethss10_priv()3390 gbe_dev->et_stats = gbe13_et_stats; in set_gbe_ethss14_priv()3455 gbe_dev->et_stats = gbenu_et_stats; in set_gbenu_ethss_priv()