Home
last modified time | relevance | path

Searched refs:stats_layout (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_stats.c96 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()
Docelot_vsc7514.c141 ocelot->stats_layout = ocelot_stats_layout; in ocelot_chip_init()
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.h31 const struct ocelot_stat_layout *stats_layout; member
Dfelix.c1373 ocelot->stats_layout = felix->info->stats_layout; in felix_init_structs()
Dseville_vsc9953.c999 .stats_layout = vsc9953_stats_layout,
Dfelix_vsc9959.c2578 .stats_layout = vsc9959_stats_layout,
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ethtool.c306 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()
Dlan966x_main.h231 const struct lan966x_stat_layout *stats_layout; member
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.h246 const char * const *stats_layout; member
Dsparx5_ethtool.c1016 sparx5->stats_layout[idx], ETH_GSTRING_LEN); in sparx5_get_sset_strings()
1238 sparx5->stats_layout = sparx5_stats_layout; in sparx_stats_init()
/linux-6.1.9/include/soc/mscc/
Docelot.h970 const struct ocelot_stat_layout *stats_layout; member