Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/dsa/
Drzn1_a5psw.c20 struct a5psw_stats { struct
30 static const struct a5psw_stats a5psw_stats[] = { variable
562 for (u = 0; u < ARRAY_SIZE(a5psw_stats); u++) { in a5psw_get_strings()
563 memcpy(data + u * ETH_GSTRING_LEN, a5psw_stats[u].name, in a5psw_get_strings()
574 for (u = 0; u < ARRAY_SIZE(a5psw_stats); u++) in a5psw_get_ethtool_stats()
575 data[u] = a5psw_read_stat(a5psw, a5psw_stats[u].offset, port); in a5psw_get_ethtool_stats()
583 return ARRAY_SIZE(a5psw_stats); in a5psw_get_sset_count()