Searched refs:cdc_ncm_gstrings_stats (Results 1 – 1 of 1) sorted by relevance
82 static const struct cdc_ncm_stats cdc_ncm_gstrings_stats[] = { variable99 return ARRAY_SIZE(cdc_ncm_gstrings_stats); in cdc_ncm_get_sset_count()114 for (i = 0; i < ARRAY_SIZE(cdc_ncm_gstrings_stats); i++) { in cdc_ncm_get_ethtool_stats()115 p = (char *)ctx + cdc_ncm_gstrings_stats[i].stat_offset; in cdc_ncm_get_ethtool_stats()116 data[i] = (cdc_ncm_gstrings_stats[i].sizeof_stat == sizeof(u64)) ? *(u64 *)p : *(u32 *)p; in cdc_ncm_get_ethtool_stats()127 for (i = 0; i < ARRAY_SIZE(cdc_ncm_gstrings_stats); i++) { in cdc_ncm_get_strings()128 memcpy(p, cdc_ncm_gstrings_stats[i].stat_string, ETH_GSTRING_LEN); in cdc_ncm_get_strings()