Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/
H A Drzn1_a5psw.c20 struct a5psw_stats { struct
30 static const struct a5psw_stats a5psw_stats[] = { argument
795 for (u = 0; u < ARRAY_SIZE(a5psw_stats); u++) { in a5psw_get_strings()
796 memcpy(data + u * ETH_GSTRING_LEN, a5psw_stats[u].name, in a5psw_get_strings()
807 for (u = 0; u < ARRAY_SIZE(a5psw_stats); u++) in a5psw_get_ethtool_stats()
808 data[u] = a5psw_read_stat(a5psw, a5psw_stats[u].offset, port); in a5psw_get_ethtool_stats()
816 return ARRAY_SIZE(a5psw_stats); in a5psw_get_sset_count()