EF10_STAT_COUNT
static const struct efx_hw_stat_desc efx_ef10_stat_desc[EF10_STAT_COUNT] = {
BUILD_BUG_ON(BITS_TO_LONGS(EF10_STAT_COUNT) != 2);
BUILD_BUG_ON(BITS_TO_LONGS(EF10_STAT_COUNT) != 3);
DECLARE_BITMAP(mask, EF10_STAT_COUNT);
return efx_nic_describe_stats(efx_ef10_stat_desc, EF10_STAT_COUNT,
DECLARE_BITMAP(mask, EF10_STAT_COUNT);
DECLARE_BITMAP(mask, EF10_STAT_COUNT);
for_each_set_bit(index, mask, EF10_STAT_COUNT) {
DECLARE_BITMAP(mask, EF10_STAT_COUNT);
efx_nic_update_stats(efx_ef10_stat_desc, EF10_STAT_COUNT,
DECLARE_BITMAP(mask, EF10_STAT_COUNT);
efx_nic_update_stats(efx_ef10_stat_desc, EF10_STAT_COUNT, mask,
u64 stats[EF10_STAT_COUNT];