Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c484 static struct hinic_stats hinic_port_stats[] = { variable
659 ARRAY_LEN(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()
660 i += ARRAY_LEN(hinic_port_stats); in hinic_get_ethtool_stats()
669 for (j = 0; j < ARRAY_LEN(hinic_port_stats); j++, i++) { in hinic_get_ethtool_stats()
670 p = (char *)port_stats + hinic_port_stats[j].offset; in hinic_get_ethtool_stats()
671 data[i] = (hinic_port_stats[j].size == in hinic_get_ethtool_stats()
693 count += ARRAY_LEN(hinic_port_stats); in hinic_get_sset_count()
716 for (i = 0; i < ARRAY_LEN(hinic_port_stats); i++) { in hinic_get_strings()
717 memcpy(p, hinic_port_stats[i].name, in hinic_get_strings()
Dhinic_port.h493 struct hinic_port_stats { struct
Dhinic_port.c1011 struct hinic_port_stats *port_stats; in hinic_get_phy_port_stats()