OCELOT_NUM_STATS
static const struct ocelot_stat_layout ocelot_stats_layout[OCELOT_NUM_STATS] = {
static const struct ocelot_stat_layout ocelot_mm_stats_layout[OCELOT_NUM_STATS] = {
unsigned int idx = port * OCELOT_NUM_STATS + region->first_stat;
for (i = 0; i < OCELOT_NUM_STATS; i++) {
for (i = 0; i < OCELOT_NUM_STATS; i++)
for (i = 0; i < OCELOT_NUM_STATS; i++) {
int index = port * OCELOT_NUM_STATS + i;
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
u64 *s = &ocelot->stats[port * OCELOT_NUM_STATS];
for (i = 0; i < OCELOT_NUM_STATS; i++) {
ocelot->num_phys_ports * OCELOT_NUM_STATS,