Searched refs:stats_layout (Results 1 – 11 of 11) sorted by relevance
96 if (ocelot->stats_layout[i].name[0] == '\0') in ocelot_get_strings()99 memcpy(data + i * ETH_GSTRING_LEN, ocelot->stats_layout[i].name, in ocelot_get_strings()140 if (ocelot->stats_layout[i].name[0] != '\0') in ocelot_get_sset_count()157 if (ocelot->stats_layout[i].name[0] == '\0') in ocelot_port_ethtool_stats_cb()392 if (!ocelot->stats_layout[i].reg) in ocelot_prepare_stats_regions()395 if (region && ocelot->stats_layout[i].reg == last + 4) { in ocelot_prepare_stats_regions()403 region->base = ocelot->stats_layout[i].reg; in ocelot_prepare_stats_regions()408 last = ocelot->stats_layout[i].reg; in ocelot_prepare_stats_regions()
141 ocelot->stats_layout = ocelot_stats_layout; in ocelot_chip_init()
31 const struct ocelot_stat_layout *stats_layout; member
1373 ocelot->stats_layout = felix->info->stats_layout; in felix_init_structs()
999 .stats_layout = vsc9953_stats_layout,
2578 .stats_layout = vsc9959_stats_layout,
306 u32 offset = lan966x->stats_layout[j].offset; in lan966x_stats_update()338 lan966x->stats_layout[i].name, ETH_GSTRING_LEN); in lan966x_get_strings()706 lan966x->stats_layout = lan966x_stats_layout; in lan966x_stats_init()
231 const struct lan966x_stat_layout *stats_layout; member
246 const char * const *stats_layout; member
1016 sparx5->stats_layout[idx], ETH_GSTRING_LEN); in sparx5_get_sset_strings()1238 sparx5->stats_layout = sparx5_stats_layout; in sparx_stats_init()
970 const struct ocelot_stat_layout *stats_layout; member