Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c216 static const struct mtk_ethtool_stats { struct
219 } mtk_ethtool_stats[] = { variable
4294 info->n_stats = ARRAY_SIZE(mtk_ethtool_stats); in mtk_get_drvinfo()
4332 for (i = 0; i < ARRAY_SIZE(mtk_ethtool_stats); i++) { in mtk_get_strings()
4333 memcpy(data, mtk_ethtool_stats[i].str, ETH_GSTRING_LEN); in mtk_get_strings()
4349 int count = ARRAY_SIZE(mtk_ethtool_stats); in mtk_get_sset_count()
4402 for (i = 0; i < ARRAY_SIZE(mtk_ethtool_stats); i++) in mtk_get_ethtool_stats()
4403 *data_dst++ = *(data_src + mtk_ethtool_stats[i].offset); in mtk_get_ethtool_stats()